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 12:13:45 +00:00
{ lib
, python3
2023-05-25 16:06:14 +00:00
, fetchPypi
2023-05-21 12:13:45 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "asitop";
2023-12-08 22:15:20 +00:00
version = "0.0.24";
2023-05-21 12:13:45 +00:00
format = "setuptools";
disabled = python3.pythonOlder "3.7";
2023-05-25 16:06:14 +00:00
src = fetchPypi {
2023-05-21 12:13:45 +00:00
inherit pname version;
2023-12-08 22:15:20 +00:00
hash = "sha256-Xfe1kwRXKpSPcc+UuHrcYThpqKh6kzWVsbPia/QsPjc=";
2023-05-21 12:13:45 +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 ];
};
}