From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsZNr-0003fZ-NZ for guix-patches@gnu.org; Thu, 14 Sep 2017 15:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsZNn-0006Mp-4T for guix-patches@gnu.org; Thu, 14 Sep 2017 15:01:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsZNm-0006ML-TB for guix-patches@gnu.org; Thu, 14 Sep 2017 15:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsZNm-0005DS-I0 for guix-patches@gnu.org; Thu, 14 Sep 2017 15:01:02 -0400 Subject: [bug#28450] [PATCH] gnu: Add pydf. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsZNB-0003Ou-Ak for guix-patches@gnu.org; Thu, 14 Sep 2017 15:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsZN6-0005kw-Og for guix-patches@gnu.org; Thu, 14 Sep 2017 15:00:25 -0400 Received: from dd5424.kasserver.com ([85.13.138.252]:57196) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dsZN6-0005jH-DS for guix-patches@gnu.org; Thu, 14 Sep 2017 15:00:20 -0400 Received: from localhost (unknown [149.154.152.177]) by dd5424.kasserver.com (Postfix) with ESMTPA id C7E8DB582DDE for ; Thu, 14 Sep 2017 21:00:17 +0200 (CEST) From: Stefan =?UTF-8?Q?Reich=C3=B6r?= In-Reply-To: <87vaklbs8k.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 14 Sep 2017 10:26:51 +0200") References: <150533477229.31265.18188868614383523660.stgit@sandburg> <87vaklbs8k.fsf@gnu.org> Date: Thu, 14 Sep 2017 21:00:16 +0200 Message-ID: <87k211ksvz.fsf@xsteve.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28450@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo! Here is my updated patch. > Heya, > > Stefan Reich=C3=B6r skribis: > >> * gnu/packages/disk.scm (pydf): New variable. > > [...] > >> + (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/") >> + (synopsis "Colourised df(1)-clone") >> + (description "All-singing, all-dancing, fully colourised df(1)-clone = written >> +in python.") > > That looks very similar to =E2=80=98dfc=E2=80=99 no? (Which is not a rea= son not to > include it of course, just wondering.) Until yesterday I only knew df. Today I know two useful tools to display the disk usage :-) > I like the funny description, but could you come up with one that at > says that it displays disk usage at least? Also, I=E2=80=99m nitpicking,= but > could you write =E2=80=9C@command{df}=E2=80=9D instead of =E2=80=9Cdf(1)= =E2=80=9D? > > Could you send an updated patch? > > Thanks in advance! > > Ludo=E2=80=99. Stefan. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-pydf.patch Content-Transfer-Encoding: quoted-printable >From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Stefan=3D20Reich=3DC3=3DB6r?=3D Date: Thu, 14 Sep 2017 20:55:01 +0200 Subject: [PATCH] gnu: Add pydf. * gnu/packages/disk.scm (pydf): New variable. --- gnu/packages/disk.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 49bbbfa..31d2573 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2016 Roel Janssen ;;; Copyright =C2=A9 2016, 2017 Marius Bakke ;;; Copyright =C2=A9 2017 Hartmut Goebel +;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages docbook) @@ -353,6 +355,25 @@ permit managing file systems not included in libparted= .") ;; The home page says GPLv2, but the source code says GPLv2+. (license license:gpl2+))) =20 +(define-public pydf + (package + (name "pydf") + (version "12") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydf" version)) + (sha256 + (base32 + "0f8ly8xyp93i2hm9c0qjqd4y86nz73axw2f09z01mszwmg1sfivz")))) + (build-system python-build-system) + (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/") + (synopsis "Colourised @command{df} clone") + (description "All-singing, all-dancing, fully colourised @command{df} cl= one +written in python. It displays the amount of disk space available on the +mounted filesystems, using different colours for different types of +filesystems. Output format is completely customizable.") + (license license:public-domain))) =20 (define-public f3 (package --=20 2.7.4 --=-=-=--