Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / no / nofi / package.nix
blob688c8c397d42ba8262898a7ceae4bbe13f9ab239
1 { lib, rustPlatform, fetchFromGitHub, dbus, pkg-config}:
3 rustPlatform.buildRustPackage rec {
4   pname = "nofi";
5   version = "0.2.4";
7   src = fetchFromGitHub {
8     owner = "ellsclytn";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-hQYIcyNCxb8qVpseNsmjyPxlwbMxDpXeZ+H1vpv62rQ=";
12   };
14   cargoHash = "sha256-0TYIycuy2LIhixVvH++U8CbmfQugc+0TF8DTiViWSbE=";
16   nativeBuildInputs = [ pkg-config ];
17   buildInputs = [ dbus ];
19   meta = with lib; {
20     description = "Interruption-free notification system for Linux";
21     homepage = "https://github.com/ellsclytn/nofi/";
22     changelog = "https://github.com/ellsclytn/nofi/raw/v${version}/CHANGELOG.md";
23     license = [ licenses.asl20 /* or */ licenses.mit ];
24     mainProgram = "nofi";
25     maintainers = [ maintainers.magnetophon ];
26   };