Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / system / psitop / default.nix
blobcfcdf2488f6ac6d9b539dd18bee1b5fe623dc95c
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "psitop";
8   version = "1.1.3";
10   src = fetchFromGitHub {
11     owner = "jamespwilliams";
12     repo = "psitop";
13     rev = version;
14     hash = "sha256-TD+NTlfmBtz+m2w2FnTcUIJQakpvVBCK/MAHfCrOue4=";
15   };
17   vendorHash = "sha256-oLtKpBvTsM5TbzfWIDfqgb7DL5D3Mldu0oimVeiUeSc=";
19   ldflags = [ "-s" "-w" ];
21   meta = with lib; {
22     description = "Top for /proc/pressure";
23     homepage = "https://github.com/jamespwilliams/psitop";
24     license = licenses.mit;
25     maintainers = with maintainers; [ figsoda ];
26   };