* [bug#28450] [PATCH] gnu: Add pydf.
@ 2017-09-13 20:32 Stefan Reichör
2017-09-14 8:26 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Reichör @ 2017-09-13 20:32 UTC (permalink / raw)
To: 28450
* gnu/packages/disk.scm (pydf): New variable.
---
gnu/packages/disk.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 49bbbfa..04a25e5 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2017 Stefan Reichör <stefan@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,23 @@ 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 df(1)-clone")
+ (description "All-singing, all-dancing, fully colourised df(1)-clone written
+in python.")
+ (license license:public-domain)))
(define-public f3
(package
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#28450] [PATCH] gnu: Add pydf.
2017-09-13 20:32 [bug#28450] [PATCH] gnu: Add pydf Stefan Reichör
@ 2017-09-14 8:26 ` Ludovic Courtès
2017-09-14 19:00 ` Stefan Reichör
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-09-14 8:26 UTC (permalink / raw)
To: Stefan Reichör; +Cc: 28450
Heya,
Stefan Reichör <stefan@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.)
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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#28450] [PATCH] gnu: Add pydf.
2017-09-14 8:26 ` Ludovic Courtès
@ 2017-09-14 19:00 ` Stefan Reichör
2017-09-15 14:40 ` bug#28450: " Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Reichör @ 2017-09-14 19:00 UTC (permalink / raw)
To: 28450
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
Hi Ludo!
Here is my updated patch.
> Heya,
>
> Stefan Reichör <stefan@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.
[-- Attachment #2: 0001-gnu-Add-pydf.patch --]
[-- Type: text/x-diff, Size: 2092 bytes --]
From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan@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@gnu.org>
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2017 Stefan Reichör <stefan@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#28450: [PATCH] gnu: Add pydf.
2017-09-14 19:00 ` Stefan Reichör
@ 2017-09-15 14:40 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-09-15 14:40 UTC (permalink / raw)
To: Stefan Reichör; +Cc: 28450-done
Stefan Reichör <stefan@xsteve.at> skribis:
> From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan@xsteve.at>
> Date: Thu, 14 Sep 2017 20:55:01 +0200
> Subject: [PATCH] gnu: Add pydf.
>
> * gnu/packages/disk.scm (pydf): New variable.
Applied, thanks!
Ludo'.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-15 14:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-13 20:32 [bug#28450] [PATCH] gnu: Add pydf Stefan Reichör
2017-09-14 8:26 ` Ludovic Courtès
2017-09-14 19:00 ` Stefan Reichör
2017-09-15 14:40 ` bug#28450: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).