i3wsr: modernize derivation

This commit is contained in:
Guy Chronister
2026-02-18 10:18:46 -06:00
parent ff6ccf3c08
commit b28fb6c5eb
+3 -3
View File
@@ -6,14 +6,14 @@
python3,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "i3wsr";
version = "3.1.2";
src = fetchFromGitHub {
owner = "roosta";
repo = "i3wsr";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-8cQM2M9XjS4FSSX1/WHqmTP842Ahd1XoaqOWSGSEE0s=";
};
@@ -37,4 +37,4 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sebbadk ];
};
}
})