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

29 lines
612 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, darwin
, mock
}:
buildPythonPackage rec {
pname = "psutil";
2017-12-30 11:25:37 +00:00
version = "5.4.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-12-30 11:25:37 +00:00
sha256 = "00a1f9ff8d1e035fba7bfdd6977fa8ea7937afdb4477339e5df3dba78194fe11";
};
# 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;
};
}