nixpkgs/pkgs/development/python-modules/psutil/default.nix

27 lines
561 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
2019-01-29 22:43:08 +00:00
, fetchPypi
, darwin
}:
buildPythonPackage rec {
pname = "psutil";
2019-05-31 19:22:36 +01:00
version = "5.6.2";
src = fetchPypi {
inherit pname version;
2019-05-31 19:22:36 +01:00
sha256 = "1v95vb5385qscfdvphv8l2w22bmir3d7yhpi02n58v3mlqy1r3l2";
};
# 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;
};
}