diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/system/btop/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/system/btop/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/system/btop/default.nix b/nixpkgs/pkgs/tools/system/btop/default.nix new file mode 100644 index 000000000000..5425b6e5f5b7 --- /dev/null +++ b/nixpkgs/pkgs/tools/system/btop/default.nix @@ -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 ]; + }; +} |