depot/third_party/nixpkgs/pkgs/os-specific/darwin/asitop/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

32 lines
674 B
Nix

{ 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 ];
};
}