scion: use finalAttrs

This commit is contained in:
Sizhe Zhao
2025-07-05 15:07:52 +08:00
parent 912a5e6257
commit c9ec396da2
+4 -8
View File
@@ -4,19 +4,15 @@
fetchFromGitHub,
nixosTests,
}:
let
version = "0.12.0";
in
buildGoModule {
buildGoModule (finalAttrs: {
pname = "scion";
inherit version;
version = "0.12.0";
src = fetchFromGitHub {
owner = "scionproto";
repo = "scion";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-J51GIQQhS623wFUU5dI/TwT2rkDH69518lpdCLZ/iM0=";
};
@@ -57,4 +53,4 @@ buildGoModule {
matthewcroughan
];
};
}
})