~ruther/guix-local

d3138435153b4ed053688f604063d6db0db2ba7b — Nicolas Graves 2 months ago 4753a94
gnu: pydf: Update to 15-0.af38bb3.

* gnu/packages/disk.scm (pydf): Update to 15-0.af38bb3.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.

Change-Id: I16dbe1f9d0e74fb5bc64e35b69f1ff8b9b032f84
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 25 insertions(+), 18 deletions(-)

M gnu/packages/disk.scm
M gnu/packages/disk.scm => gnu/packages/disk.scm +25 -18
@@ 970,24 970,31 @@ reformatted.  It can recover lost files from at least:
    (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 file systems, using different colours for different types of file
systems.  Output format is completely customizable.")
  (license license:public-domain)))
  (let ((commit "af38bb3b7aacbcc32271e6dafa8b8b0a77ffead8")
        (revision "0"))
    (package
      (name "pydf")
      (version (git-version "15" revision commit))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
                (url "https://github.com/garabik/pydf")
                (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32 "18ljigg8zm9pc3qg3alpyh3n4a4f1wcza4p36cchjn2vd4466jf4"))))
      (build-system pyproject-build-system)
      (arguments (list #:tests? #f)) ; No tests.
      (native-inputs (list python-setuptools))
      (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 file
systems, using different colours for different types of file systems.  Output
format is completely customizable.")
      (license license:public-domain))))

(define-public f3
  (package