summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <&lt;bavier@cray.com&gt>2018-10-02 14:50:45 -0500
committerEric Bavier <bavier@member.fsf.org>2018-10-02 22:34:44 -0500
commitd7d1fc821091de98d66dac71ceed390d82434e40 (patch)
treeddd4971d22fc2e15fb3e45c12c9561163850ec93
parent24a80064ca7faf504563af33217e07372285fb2f (diff)
downloadguix-d7d1fc821091de98d66dac71ceed390d82434e40.tar.gz
quilt: Add diffstat input.
* gnu/packages/patchutils.scm (quilt)[inputs]: Add diffstat.
[arguments]: Add it to wrapper.
-rw-r--r--gnu/packages/patchutils.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index 767799768c..da20ae1c3f 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -37,6 +37,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages xml))
 
 (define-public patchutils
@@ -109,7 +110,8 @@ listing the files modified by a patch.")
     (inputs `(("perl" ,perl)
               ("less" ,less)
               ("file" ,file)
-              ("ed" ,ed)))
+              ("ed" ,ed)
+              ("diffstat" ,diffstat)))
     (arguments
      '(#:parallel-tests? #f
        #:phases
@@ -140,6 +142,7 @@ listing the files modified by a patch.")
                     (coreutils (assoc-ref inputs "coreutils"))
                     (diffutils (assoc-ref inputs "diffutils"))
                     (findutils (assoc-ref inputs "findutils"))
+                    (diffstat  (assoc-ref inputs "diffstat"))
                     (less      (assoc-ref inputs "less"))
                     (file      (assoc-ref inputs "file"))
                     (ed        (assoc-ref inputs "ed"))
@@ -151,7 +154,8 @@ listing the files modified by a patch.")
                    ,(map (lambda (dir)
                            (string-append dir "/bin"))
                          (list coreutils diffutils findutils
-                               less file ed sed bash grep)))))
+                               less file ed sed bash grep
+                               diffstat)))))
              #t)))))
     (home-page "https://savannah.nongnu.org/projects/quilt/")
     (synopsis "Script for managing patches to software")