mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 20:28:08 +00:00
citron: init at 0.15.0
correct maintainer name fix typo change hash keys Apply suggestions from code review Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com> Apply suggestions from code review Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
parent
9f9e0cc5cc
commit
e45b9d1b8c
35
pkgs/tools/misc/citron/default.nix
Normal file
35
pkgs/tools/misc/citron/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, dbus
|
||||
, installShellFiles
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "citron";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-6wJ4UfiwpV9zFuBR8SYj6eBiRqQitFs7wRe5R51Z3SA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-xTmhgE4iHydhZBMrHWqQUcS9KDlZAzW2CmPGpJr40Fw=";
|
||||
|
||||
buildInputs = [ dbus ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/citron.1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://git.sr.ht/~grtcdr/citron";
|
||||
description = "System data via on-demand notifications";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ vuimuich ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -378,6 +378,8 @@ with pkgs;
|
||||
|
||||
circumflex = callPackage ../applications/networking/circumflex { };
|
||||
|
||||
citron = callPackage ../tools/misc/citron { };
|
||||
|
||||
cxx-rs = callPackage ../development/libraries/cxx-rs { };
|
||||
|
||||
elfcat = callPackage ../tools/misc/elfcat { };
|
||||
|
Loading…
Reference in New Issue
Block a user