git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #139018 from rmcgibbo/btop

btop: init at 1.0.5

commitd7556d195c5c5ff043322e06c83790df9f3d4e14 authorfigsoda <figsoda@pm.me> dateThu 23 Sep 2021, 09:32 (5 years ago) parent79294c89f08c2d
2 files changed+30
pkgs/tools/system/btop/default.nix+26 pkgs/top-level/all-packages.nix+4
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
@@ -21339,6 +21339,10 @@ with pkgs;
2133921339 inherit (darwin) IOKit;
2134021340 };
2134121341
21342+ btop = callPackage ../tools/system/btop {
21343+ stdenv = gcc11Stdenv;
21344+ };
21345+
2134221346 nmon = callPackage ../os-specific/linux/nmon { };
2134321347
2134421348 hwdata = callPackage ../os-specific/linux/hwdata { };