elf-info, geteduroam-cli: use finalAttrs instead of rec (#400499)
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "elf-info";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kevin-lesenechal";
|
||||
repo = "elf-info";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-wbFVuoarOoxV9FqmuHJ9eZlG4rRqy1rsnuqbGorC2Rk=";
|
||||
};
|
||||
|
||||
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with lib.maintainers; [ viperML ];
|
||||
mainProgram = "elf";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "geteduroam-cli";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geteduroam";
|
||||
repo = "linux-app";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-2iAvE38r3iwulBqW+rrbrpNVgQlDhhcVUsjZSOT5P1A=";
|
||||
};
|
||||
|
||||
@@ -40,6 +40,6 @@ buildGoModule rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ viperML ];
|
||||
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}";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user