serpl: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-06 22:10:53 +01:00
parent dd987f1135
commit 6691ff8670
+5 -6
View File
@@ -8,16 +8,15 @@
ripgrep,
versionCheckHook,
}:
let
rustPlatform.buildRustPackage (finalAttrs: {
pname = "serpl";
version = "0.3.4";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "yassinebridi";
repo = "serpl";
rev = version;
rev = finalAttrs.version;
hash = "sha256-lEvUS1RlZ4CvervzyfODsFqRJAiA6PyLNUVWhSoPMDY=";
};
@@ -53,4 +52,4 @@ rustPlatform.buildRustPackage {
maintainers = with lib.maintainers; [ NotAShelf ];
mainProgram = "serpl";
};
}
})