1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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-11-04 10:35:10 +00:00
version = "5.4.8";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:10 +00:00
sha256 = "6e265c8f3da00b015d24b842bfeb111f856b13d24f2c57036582568dc650d6c3";
};
# 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;
};
}