summary refs log tree commit diff
path: root/pkgs/os-specific/darwin
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-05-21 19:07:54 +0300
committerGitHub <noreply@github.com>2023-05-21 19:07:54 +0300
commit6a603868e4a39f9f48786b04f8dc237ab6ebad77 (patch)
tree2696af58ab85af9bb0d42d412bdb6b3e70e1fd22 /pkgs/os-specific/darwin
parent1dbe7ef7b591e0ea63f470e8bd0a665b3980d096 (diff)
parent53c7e7e0288337bd0d4b53c8902ca903750734b3 (diff)
downloadnixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar.gz
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar.bz2
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar.lz
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar.xz
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.tar.zst
nixpkgs-6a603868e4a39f9f48786b04f8dc237ab6ebad77.zip
Merge pull request #233224 from juliusrickert/add-asitop
asitop: init at 0.0.23
Diffstat (limited to 'pkgs/os-specific/darwin')
-rw-r--r--pkgs/os-specific/darwin/asitop/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/asitop/default.nix b/pkgs/os-specific/darwin/asitop/default.nix
new file mode 100644
index 00000000000..0ec101901b1
--- /dev/null
+++ b/pkgs/os-specific/darwin/asitop/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "asitop";
+  version = "0.0.23";
+  format = "setuptools";
+
+  disabled = python3.pythonOlder "3.7";
+
+  src = python3.pkgs.fetchPypi {
+    inherit pname version;
+    hash = "sha256-BNncgQRNAd6Pgur5D1xVQi3LSsijSAYIYvhsuiVyi9Q=";
+  };
+
+  # has no tests
+  doCheck = false;
+
+  propagatedBuildInputs = with python3.pkgs; [
+    dashing
+    psutil
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/tlkh/asitop";
+    description = "Perf monitoring CLI tool for Apple Silicon";
+    platforms = platforms.darwin;
+    license = licenses.mit;
+    maintainers = with maintainers; [ juliusrickert ];
+  };
+}