Merge pull request #139018 from rmcgibbo/btop

btop: init at 1.0.5
This commit is contained in:
figsoda 2021-09-23 09:32:23 -04:00 committed by GitHub
commit d7556d195c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib
, fetchFromGitHub
, stdenv
}:
stdenv.mkDerivation rec {
pname = "btop";
version = "1.0.5";
src = fetchFromGitHub {
owner = "aristocratos";
repo = pname;
rev = "v${version}";
sha256 = "sha256-pa9i65ndx8LMTMRXyL2GXCauM6Q8gAb16zGOylQFwL0=";
};
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A monitor of resources";
homepage = "https://github.com/aristocratos/btop";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ rmcgibbo ];
};
}

View file

@ -21339,6 +21339,10 @@ with pkgs;
inherit (darwin) IOKit; inherit (darwin) IOKit;
}; };
btop = callPackage ../tools/system/btop {
stdenv = gcc11Stdenv;
};
nmon = callPackage ../os-specific/linux/nmon { }; nmon = callPackage ../os-specific/linux/nmon { };
hwdata = callPackage ../os-specific/linux/hwdata { }; hwdata = callPackage ../os-specific/linux/hwdata { };