3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/psutil/default.nix

27 lines
573 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, darwin
}:
buildPythonPackage rec {
pname = "psutil";
2018-08-25 06:48:20 +01:00
version = "5.4.7";
src = fetchPypi {
inherit pname version;
2018-08-25 06:48:20 +01:00
sha256 = "5b6322b167a5ba0c5463b4d30dfd379cd4ce245a1162ebf8fc7ab5c5ffae4f3b";
};
# No tests in archive
doCheck = false;
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit ];
meta = {
description = "Process and system utilization information interface for python";
homepage = https://github.com/giampaolo/psutil;
license = stdenv.lib.licenses.bsd3;
};
}