geteduroam-cli: make use of finalAttrs
This commit is contained in:
parent
013beed1db
commit
fa57977035
@ -5,14 +5,14 @@
|
|||||||
versionCheckHook,
|
versionCheckHook,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "geteduroam-cli";
|
pname = "geteduroam-cli";
|
||||||
version = "0.8";
|
version = "0.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "geteduroam";
|
owner = "geteduroam";
|
||||||
repo = "linux-app";
|
repo = "linux-app";
|
||||||
tag = version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-2iAvE38r3iwulBqW+rrbrpNVgQlDhhcVUsjZSOT5P1A=";
|
hash = "sha256-2iAvE38r3iwulBqW+rrbrpNVgQlDhhcVUsjZSOT5P1A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -40,6 +40,6 @@ buildGoModule rec {
|
|||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with lib.maintainers; [ viperML ];
|
maintainers = with lib.maintainers; [ viperML ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
changelog = "https://github.com/geteduroam/linux-app/releases/tag/${version}";
|
changelog = "https://github.com/geteduroam/linux-app/releases/tag/${finalAttrs.version}";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user