parent
1233c42206
commit
6937f7e4e8
2 changed files with 29 additions and 0 deletions
27
pkgs/applications/system/psitop/default.nix
Normal file
27
pkgs/applications/system/psitop/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "psitop";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jamespwilliams";
|
||||
repo = "psitop";
|
||||
rev = version;
|
||||
hash = "sha256-C8WEbA7XXohKFz7QgII0LPU1eJ4Z7CSlmEOamgo4wQI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-oLtKpBvTsM5TbzfWIDfqgb7DL5D3Mldu0oimVeiUeSc=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Top for /proc/pressure";
|
||||
homepage = "https://github.com/jamespwilliams/psitop";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -11940,6 +11940,8 @@ with pkgs;
|
|||
|
||||
pscircle = callPackage ../os-specific/linux/pscircle { };
|
||||
|
||||
psitop = callPackage ../applications/system/psitop { };
|
||||
|
||||
psmisc = callPackage ../os-specific/linux/psmisc { };
|
||||
|
||||
pssh = callPackage ../tools/networking/pssh { };
|
||||
|
|
Loading…
Reference in a new issue