grip-grab: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-07 09:48:44 +01:00
parent 3c3b7c55fc
commit 6f15eed503
+4 -6
View File
@@ -3,17 +3,15 @@
rustPlatform,
fetchFromGitHub,
}:
let
rustPlatform.buildRustPackage (finalAttrs: {
pname = "grip-grab";
version = "0.6.7";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "alexpasmantier";
repo = "grip-grab";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-e7duLL4tjW+11jXUqU6sqoKTAPGkH81iDCfjtNcnd4I=";
};
@@ -29,4 +27,4 @@ rustPlatform.buildRustPackage {
maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
mainProgram = "gg";
};
}
})