mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-15 11:50:09 +00:00
29 lines
686 B
Nix
29 lines
686 B
Nix
{
|
|
lib,
|
|
fetchFromSourcehut,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "nirius";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~tsdh";
|
|
repo = "nirius";
|
|
rev = "nirius-${finalAttrs.version}";
|
|
hash = "sha256-hLrGdeRDhNC7xyG0IIQN1A+O8WzqIZqIRZ04fkLfANs=";
|
|
};
|
|
|
|
cargoHash = "sha256-3d/U5xsOPV5XzZuLNvkV4BYCfzrpFCol5p8Ras3eCn8=";
|
|
|
|
meta = {
|
|
description = "Utility commands for the niri wayland compositor";
|
|
mainProgram = "nirius";
|
|
homepage = "https://git.sr.ht/~tsdh/nirius";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ tylerjl ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|