unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Reichör" <stefan@xsteve.at>
To: 28450@debbugs.gnu.org
Subject: [bug#28450] [PATCH] gnu: Add pydf.
Date: Thu, 14 Sep 2017 21:00:16 +0200	[thread overview]
Message-ID: <87k211ksvz.fsf@xsteve.at> (raw)
In-Reply-To: <87vaklbs8k.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 14 Sep 2017 10:26:51 +0200")

[-- 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


  reply	other threads:[~2017-09-14 19:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-09-15 14:40     ` bug#28450: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k211ksvz.fsf@xsteve.at \
    --to=stefan@xsteve.at \
    --cc=28450@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).