hawkeye: use final.Attrs pattern

This commit is contained in:
Jost Alemann
2025-04-15 17:17:45 +02:00
parent 23983bb571
commit c55b8f1e57
+3 -3
View File
@@ -5,14 +5,14 @@
pkg-config,
}:
rustPackages.rustPlatform.buildRustPackage rec {
rustPackages.rustPlatform.buildRustPackage (finalAttrs: {
pname = "hawkeye";
version = "6.0.3";
src = fetchFromGitHub {
owner = "korandoru";
repo = "hawkeye";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-reeNsnWvn7sSfyqjGIk8jFnv8HaEBJsqitmNbRa9eTM=";
};
@@ -30,4 +30,4 @@ rustPackages.rustPlatform.buildRustPackage rec {
mainProgram = "hawkeye";
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}
})