nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 665 B view raw
1{ 2 lib, 3 fetchFromSourcehut, 4 rustPlatform, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "nirius"; 9 version = "0.6.1"; 10 11 src = fetchFromSourcehut { 12 owner = "~tsdh"; 13 repo = "nirius"; 14 rev = "nirius-${version}"; 15 hash = "sha256-KAh45AcNB9Y4ahxamtI6/z3l1xg6yf17h4rnZl3w89I="; 16 }; 17 18 cargoHash = "sha256-p123QvlB/j0b5kFjICcTI/5ZKL8pzGfIvH80doAhqFA="; 19 20 meta = { 21 description = "Utility commands for the niri wayland compositor"; 22 mainProgram = "nirius"; 23 homepage = "https://git.sr.ht/~tsdh/nirius"; 24 license = lib.licenses.gpl3Plus; 25 maintainers = with lib.maintainers; [ tylerjl ]; 26 platforms = lib.platforms.linux; 27 }; 28}