Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
33 lines
673 B
Nix
33 lines
673 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "asitop";
|
|
version = "0.0.24";
|
|
format = "setuptools";
|
|
|
|
disabled = python3.pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Xfe1kwRXKpSPcc+UuHrcYThpqKh6kzWVsbPia/QsPjc=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|