diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-07-10 14:57:05 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-07-20 11:50:43 +0200 |
commit | aaf625b8dc9a6d4d3f257af9f6db47fa9f414ee9 (patch) | |
tree | 99b6d047d07b374dc2e9b7ab2eb8f73475ee0224 /gnu | |
parent | c9b1b4f9c66fd45cae526428d8a483c2d3ff3788 (diff) | |
download | patches-aaf625b8dc9a6d4d3f257af9f6db47fa9f414ee9.tar patches-aaf625b8dc9a6d4d3f257af9f6db47fa9f414ee9.tar.gz |
gnu: Add python-psutil.
* gnu/packages/python.scm (python-psutil, python2-psutil): New variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 82aff00b89..9550f0d4c6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -266,6 +266,36 @@ data types.") "\n\nThis wrapper package provides symbolic links to the python binaries without version suffix.")))) +(define-public python-psutil + (package + (name "python-psutil") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/psutil/psutil-" + version ".tar.gz")) + (sha256 + (base32 + "00c8h1mzqysih99z8pnbmdv117d2naldf11yjy50dhykxsf3n89z")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://pypi.python.org/pypi/psutil/") + (synopsis "Library for retrieving information on running processes") + (description + "psutil (Python system and process utilities) is a library for retrieving +information on running processes and system utilization (CPU, memory, disks, +network) in Python. It is useful mainly for system monitoring, profiling and +limiting process resources and management of running processes. It implements +many functionalities offered by command line tools such as: ps, top, lsof, +netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime, +pidof, tty, taskset, pmap.") + (license bsd-3))) + +(define-public python2-psutil + (package-with-python2 python-psutil)) (define-public python-pytz (package |