10 src = fetchFromGitHub {
14 sha256 = "sha256-h+CdiQh7IguCduIMCCI/UPIUAdXlNSHdkz6hrG10h3c=";
17 vendorHash = "sha256-S2ZHfrbEjPDweazwWbMbEMcMl/i+8Nru0G0e7RjOJMk=";
19 # Remove installing of binary from the Makefile (already taken care of by
22 ./no_bin_install.patch
25 # Fix absolute path of icons in the code
27 substituteInPlace gopsuinfo.go \
28 --replace "/usr/share/gopsuinfo" "$out/usr/share/gopsuinfo"
32 postInstall = '' make install DESTDIR=$out '';
35 description = "Gopsutil-based command to display system usage info";
36 homepage = "https://github.com/nwg-piotr/gopsuinfo";
37 license = licenses.bsd2;
38 maintainers = with maintainers; [ otini ];
39 platforms = platforms.linux;
40 mainProgram = "gopsuinfo";