mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
alertmanager-webhook-logger: migrate to finalAttrs
This commit is contained in:
parent
296ff42bd4
commit
4693f96b83
1 changed files with 4 additions and 4 deletions
|
|
@ -5,13 +5,13 @@
|
|||
nixosTests,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "alertmanager-webhook-logger";
|
||||
version = "1.0";
|
||||
rev = "${version}";
|
||||
rev = "${finalAttrs.version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
inherit (finalAttrs) rev;
|
||||
owner = "tomtom-international";
|
||||
repo = "alertmanager-webhook-logger";
|
||||
hash = "sha256-mJbpDiTwUsFm0lDKz8UE/YF6sBvcSSR6WWLrfKvtri4=";
|
||||
|
|
@ -30,4 +30,4 @@ buildGoModule rec {
|
|||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jpds ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue