summary refs log tree commit diff
path: root/pkgs/development/python-modules/psutil/default.nix
blob: a3d909bb3d46b0db910bf5f294ed5c922f63ec0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv
, buildPythonPackage
, fetchPypi
, darwin
}:

buildPythonPackage rec {
  pname = "psutil";
  version = "5.6.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "d051532ac944f1be0179e0506f6889833cf96e466262523e57a871de65a15147";
  };

  # 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;
  };
}