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";
2018-05-09 16:49:37 +02:00
version = "5.4.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-05-09 16:49:37 +02:00
sha256 = "ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe";
};
# 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;
};
}