Unverified Commit 7250b5ac authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #245231 from figsoda/psitop

parents 5d0d798e 6937f7e4
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11955,6 +11955,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 { };