GNU bug report logs - #28450
[PATCH] gnu: Add pydf.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 13 Sep 2017 20:34:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Reichör <stefan <at> xsteve.at>
To: 28450 <at> debbugs.gnu.org
Subject: [bug#28450] [PATCH] gnu: Add pydf.
Date: Thu, 14 Sep 2017 21:00:16 +0200
[Message part 1 (text/plain, inline)]
Hi Ludo!

Here is my updated patch.

> Heya,
>
> Stefan Reichör <stefan <at> xsteve.at> 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 ‘dfc’ no?  (Which is not a reason 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’m nitpicking, but
> could you write “@command{df}” instead of “df(1)”?
>
> Could you send an updated patch?
>
> Thanks in advance!
>
> Ludo’.

Stefan.

[0001-gnu-Add-pydf.patch (text/x-diff, inline)]
From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan <at> xsteve.at>
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 © 2016 Roel Janssen <roel <at> gnu.org>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke <at> fastmail.com>
 ;;; Copyright © 2017 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; 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+)))
 
+(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} clone
+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)))
 
 (define-public f3
   (package
-- 
2.7.4


This bug report was last modified 7 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.