forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / ci / citron / package.nix
blobd40c8c9369283230fdcb55c45756e6047350277b
1 { lib
2 , rustPlatform
3 , fetchCrate
4 , dbus
5 , installShellFiles
6 , pkg-config
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "citron";
11   version = "0.15.0";
13   src = fetchCrate {
14     inherit pname version;
15     hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA=";
16   };
18   cargoHash = "sha256-xTmhgE4iHydhZBMrHWqQUcS9KDlZAzW2CmPGpJr40Fw=";
20   buildInputs = [ dbus ];
22   nativeBuildInputs = [ installShellFiles pkg-config ];
24   postInstall = ''
25     installManPage doc/citron.1
26   '';
28   meta = {
29     homepage = "https://git.sr.ht/~grtcdr/citron";
30     description = "System data via on-demand notifications";
31     license = lib.licenses.mit;
32     maintainers = with lib.maintainers; [ vuimuich ];
33     platforms = lib.platforms.linux;
34     mainProgram = "citron";
35   };