wgo: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-07 09:49:13 +01:00
parent ee9bd14833
commit 7d93cdb6b6
+3 -6
View File
@@ -4,17 +4,14 @@
fetchFromGitHub,
}:
let
buildGoModule (finalAttrs: {
pname = "wgo";
version = "0.6.2";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "bokwoon95";
repo = "wgo";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-Z3adi1PQ5v0BxcjkOJZWeUxwLlLXpNuJxrQztV2pCiA=";
};
@@ -40,4 +37,4 @@ buildGoModule {
license = lib.licenses.mit;
maintainers = [ ];
};
}
})