nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 36 lines 823 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 dbus, 6 pkg-config, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "nofi"; 11 version = "0.2.4"; 12 13 src = fetchFromGitHub { 14 owner = "ellsclytn"; 15 repo = "nofi"; 16 rev = "v${version}"; 17 hash = "sha256-hQYIcyNCxb8qVpseNsmjyPxlwbMxDpXeZ+H1vpv62rQ="; 18 }; 19 20 cargoHash = "sha256-dWqMwS0TgspZqlpi8hhwtA7sbqGunw0FIqjJXOTiFKA="; 21 22 nativeBuildInputs = [ pkg-config ]; 23 buildInputs = [ dbus ]; 24 25 meta = { 26 description = "Interruption-free notification system for Linux"; 27 homepage = "https://github.com/ellsclytn/nofi/"; 28 changelog = "https://github.com/ellsclytn/nofi/raw/v${version}/CHANGELOG.md"; 29 license = [ 30 lib.licenses.asl20 # or 31 lib.licenses.mit 32 ]; 33 mainProgram = "nofi"; 34 maintainers = [ lib.maintainers.magnetophon ]; 35 }; 36}