diff options
Diffstat (limited to 'pkgs/os-specific/darwin/asitop/default.nix')
-rw-r--r-- | pkgs/os-specific/darwin/asitop/default.nix | 32 |
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 ]; + }; +} |