2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2023-05-24 13:37:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "asitop";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.0.24";
|
2023-05-24 13:37:59 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = python3.pythonOlder "3.7";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-05-24 13:37:59 +00:00
|
|
|
inherit pname version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-Xfe1kwRXKpSPcc+UuHrcYThpqKh6kzWVsbPia/QsPjc=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|