nixpkgs/pkgs/by-name/no/nofi/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
796 B
Nix
Raw Normal View History

2023-11-15 10:58:20 +00:00
{ 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";
2023-11-15 10:58:20 +00:00
maintainers = [ maintainers.magnetophon ];
};
}