nixpkgs/pkgs/os-specific/darwin/asitop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
673 B
Nix
Raw Normal View History

2023-05-21 13:13:45 +01:00
{ lib
, python3
2023-05-25 17:06:14 +01:00
, fetchPypi
2023-05-21 13:13:45 +01:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "asitop";
version = "0.0.23";
format = "setuptools";
disabled = python3.pythonOlder "3.7";
2023-05-25 17:06:14 +01:00
src = fetchPypi {
2023-05-21 13:13:45 +01:00
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 ];
};
}