1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/psutil/default.nix
2018-08-25 18:07:14 +02:00

27 lines
573 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, darwin
}:
buildPythonPackage rec {
pname = "psutil";
version = "5.4.7";
src = fetchPypi {
inherit pname version;
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;
};
}