>From b3fe1a718f76a7d21e600476c2720b0530edd354 Mon Sep 17 00:00:00 2001 From: Stefan Reichoer <ste...@xsteve.at> Date: Tue, 13 Sep 2016 21:58:41 +0200 Subject: [PATCH] gnu: Add python-glances
--- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e2e1ec2..36d22c4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2016 Dylan Jeffers <sapientech@sapient...@openmailbox.org> ;;; Copyright © 2016 David Craven <da...@craven.ch> ;;; Copyright © 2016 Marius Bakke <mba...@fastmail.com> +;;; Copyright © 2016 Stefan Reichoer <ste...@xsteve.at> ;;; ;;; This file is part of GNU Guix. ;;; @@ -420,6 +421,33 @@ pidof, tty, taskset, pmap.") (define-public python2-psutil (package-with-python2 python-psutil)) +(define-public python-glances + (package + (name "python-glances") + (version "2.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Glances" version)) + (sha256 + (base32 + "11jbq40g8alsbirnd4kiagznqg270247i0m8qhi48ldf2i5xppxg")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (inputs + `(("python-psutil" ,python-psutil))) + (home-page + "https://github.com/nicolargo/glances") + (synopsis + "A cross-platform curses-based monitoring tool") + (description + "Glances is a curses-based monitoring tool for GNU/Linux or BSD +OS. Glances uses the PsUtil library to get information from your +system. It monitors CPU, load, memory, network bandwidth, disk I/O, +disk use, process.") + (license license:lgpl3+))) + (define-public python-passlib (package (name "python-passlib") -- 2.7.4