mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
i3-ratiosplit: modernize derivation
This commit is contained in:
@@ -4,15 +4,15 @@
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "i3-ratiosplit";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "333fred";
|
||||
repo = "i3-ratiosplit";
|
||||
rev = "v${version}";
|
||||
sha256 = "0yfmr5zk2c2il9d31yjjbr48sqgcq6hp4a99hl5mjm2ajyhy5bz3";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-46/ioZdKVFkLhSkpcqHB7GGNSF5S+jBaolEwMX/J1Xk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-no5fJ5nlwyS/PVi9J5Ek3c3Rp7A3MflpReo9kwJrj6U=";
|
||||
@@ -28,4 +28,4 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with lib.maintainers; [ svrana ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user