9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
33 lines
673 B
Nix
33 lines
673 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "asitop";
|
|
version = "0.0.23";
|
|
format = "setuptools";
|
|
|
|
disabled = python3.pythonOlder "3.7";
|
|
|
|
src = 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 ];
|
|
};
|
|
}
|