summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-07-10 14:57:05 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-07-20 11:50:43 +0200
commitaaf625b8dc9a6d4d3f257af9f6db47fa9f414ee9 (patch)
tree99b6d047d07b374dc2e9b7ab2eb8f73475ee0224
parentc9b1b4f9c66fd45cae526428d8a483c2d3ff3788 (diff)
gnu: Add python-psutil.
* gnu/packages/python.scm (python-psutil, python2-psutil): New variables.
-rw-r--r--gnu/packages/python.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 82aff00b899..9550f0d4c6c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -266,6 +266,36 @@ data types.")
266 "\n\nThis wrapper package provides symbolic links to the python binaries 266 "\n\nThis wrapper package provides symbolic links to the python binaries
267 without version suffix.")))) 267 without version suffix."))))
268 268
269(define-public python-psutil
270 (package
271 (name "python-psutil")
272 (version "3.0.1")
273 (source
274 (origin
275 (method url-fetch)
276 (uri (string-append
277 "https://pypi.python.org/packages/source/p/psutil/psutil-"
278 version ".tar.gz"))
279 (sha256
280 (base32
281 "00c8h1mzqysih99z8pnbmdv117d2naldf11yjy50dhykxsf3n89z"))))
282 (build-system python-build-system)
283 (native-inputs
284 `(("python-setuptools" ,python-setuptools)))
285 (home-page "https://pypi.python.org/pypi/psutil/")
286 (synopsis "Library for retrieving information on running processes")
287 (description
288 "psutil (Python system and process utilities) is a library for retrieving
289information on running processes and system utilization (CPU, memory, disks,
290network) in Python. It is useful mainly for system monitoring, profiling and
291limiting process resources and management of running processes. It implements
292many functionalities offered by command line tools such as: ps, top, lsof,
293netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime,
294pidof, tty, taskset, pmap.")
295 (license bsd-3)))
296
297(define-public python2-psutil
298 (package-with-python2 python-psutil))
269 299
270(define-public python-pytz 300(define-public python-pytz
271 (package 301 (package