zps: init at 1.2.8
This commit is contained in:
parent
275d807773
commit
469a7b7389
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/system/zps/default.nix
Normal file
36
pkgs/tools/system/zps/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zps";
|
||||
version = "1.2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "orhun";
|
||||
repo = "zps";
|
||||
rev = version;
|
||||
hash = "sha256-t0kVMrJn+eqUUD98pp3iIK28MoLwOplLk0sYgRJkO4c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/applications
|
||||
substitute ../.application/zps.desktop $out/share/applications/zps.desktop \
|
||||
--replace Exec=zps Exec=$out/zps \
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small utility for listing and reaping zombie processes on GNU/Linux";
|
||||
homepage = "https://github.com/orhun/zps";
|
||||
changelog = "https://github.com/orhun/zps/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -13737,6 +13737,8 @@ with pkgs;
|
|||
|
||||
zplug = callPackage ../shells/zsh/zplug { };
|
||||
|
||||
zps = callPackage ../tools/system/zps { };
|
||||
|
||||
zi = callPackage ../shells/zsh/zi {};
|
||||
|
||||
zinit = callPackage ../shells/zsh/zinit {} ;
|
||||
|
|
Loading…
Reference in a new issue