vifm: 0.13 -> 0.14 (#380559)
[NixPkgs.git] / pkgs / by-name / ci / citron / package.nix
blob6cd78147595c375616b99a6205438a65bb73e1f7
2   lib,
3   rustPlatform,
4   fetchCrate,
5   dbus,
6   installShellFiles,
7   pkg-config,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "citron";
12   version = "0.15.0";
14   src = fetchCrate {
15     inherit pname version;
16     hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA=";
17   };
19   useFetchCargoVendor = true;
20   cargoHash = "sha256-HEDkNzNCXKmBsI5fL8+UK4SHrU9eLde6Vfh4XhSrK+A=";
22   buildInputs = [ dbus ];
24   nativeBuildInputs = [
25     installShellFiles
26     pkg-config
27   ];
29   postInstall = ''
30     installManPage doc/citron.1
31   '';
33   meta = {
34     homepage = "https://git.sr.ht/~grtcdr/citron";
35     description = "System data via on-demand notifications";
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [ vuimuich ];
38     platforms = lib.platforms.linux;
39     mainProgram = "citron";
40   };