summary refs log tree commit diff
path: root/pkgs/tools/system/btop
diff options
context:
space:
mode:
authorRobert T. McGibbon <rmcgibbo@gmail.com>2021-09-22 17:24:12 -0400
committerRobert T. McGibbon <rmcgibbo@gmail.com>2021-09-23 08:38:36 -0400
commit9f08c2d4b9e0dccc21df012353e05c38b7b71944 (patch)
tree45032e97865bfe25f68cbf3ef7ddafd9cf2995a3 /pkgs/tools/system/btop
parentb3303102c5c78c3565e63159124af4f1f3f4077a (diff)
downloadnixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar.gz
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar.bz2
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar.lz
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar.xz
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.tar.zst
nixpkgs-9f08c2d4b9e0dccc21df012353e05c38b7b71944.zip
btop: init at 1.0.5
Diffstat (limited to 'pkgs/tools/system/btop')
-rw-r--r--pkgs/tools/system/btop/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix
new file mode 100644
index 00000000000..5425b6e5f5b
--- /dev/null
+++ b/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 ];
+  };
+}