nixpkgs/pkgs/by-name/no/nofi/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
796 B
Nix

{ lib, rustPlatform, fetchFromGitHub, dbus, pkg-config}:
rustPlatform.buildRustPackage rec {
pname = "nofi";
version = "0.2.4";
src = fetchFromGitHub {
owner = "ellsclytn";
repo = pname;
rev = "v${version}";
hash = "sha256-hQYIcyNCxb8qVpseNsmjyPxlwbMxDpXeZ+H1vpv62rQ=";
};
cargoHash = "sha256-0TYIycuy2LIhixVvH++U8CbmfQugc+0TF8DTiViWSbE=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus ];
meta = with lib; {
description = "Interruption-free notification system for Linux";
homepage = "https://github.com/ellsclytn/nofi/";
changelog = "https://github.com/ellsclytn/nofi/raw/v${version}/CHANGELOG.md";
license = [ licenses.asl20 /* or */ licenses.mit ];
mainProgram = "nofi";
maintainers = [ maintainers.magnetophon ];
};
}