btop: init at 1.0.5
commit9f08c2d4b9e0dccc21df012353e05c38b7b71944
authorRobert T. McGibbon <rmcgibbo@gmail.com>
dateWed 22 Sep 2021, 17:24 (5 years ago)
parentb330310
pkgs/tools/system/btop/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib
2+, fetchFromGitHub
3+, stdenv
4+}:
5+
6+stdenv.mkDerivation rec {
7+ pname = "btop";
8+ version = "1.0.5";
9+
10+ src = fetchFromGitHub {
11+ owner = "aristocratos";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "sha256-pa9i65ndx8LMTMRXyL2GXCauM6Q8gAb16zGOylQFwL0=";
15+ };
16+
17+ installFlags = [ "PREFIX=$(out)" ];
18+
19+ meta = with lib; {
20+ description = "A monitor of resources";
21+ homepage = "https://github.com/aristocratos/btop";
22+ license = licenses.asl20;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ rmcgibbo ];
25+ };
26+}
pkgs/top-level/all-packages.nix+4
@@ -21337,6 +21337,10 @@ with pkgs;
2133721337 inherit (darwin) IOKit;
2133821338 };
2133921339
21340+ btop = callPackage ../tools/system/btop {
21341+ stdenv = gcc11Stdenv;
21342+ };
21343+
2134021344 nmon = callPackage ../os-specific/linux/nmon { };
2134121345
2134221346 hwdata = callPackage ../os-specific/linux/hwdata { };