summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2017-06-28 23:25:23 -0500
committerEric Bavier <bavier@member.fsf.org>2017-06-28 23:25:23 -0500
commit691ae7fa7a12694239b4425d68fe4769f32b48d2 (patch)
tree04de6d2de3ecfac03d34caa5b5293c3922867216 /gnu/packages
parent57dfc9f86c3110a5eb88863c97cd5ec780ac1e69 (diff)
downloadguix-691ae7fa7a12694239b4425d68fe4769f32b48d2.tar.gz
gnu: wdiff: Remove unused screen input.
* gnu/packages/wdiff.scm (wdiff): 'inputs' -> 'native-inputs'.
[native-inputs]: Remove unused screen input.
[arguments]: Use modify-phases.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/wdiff.scm23
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/wdiff.scm b/gnu/packages/wdiff.scm
index 1dcdb8ba36..20fc0bc06f 100644
--- a/gnu/packages/wdiff.scm
+++ b/gnu/packages/wdiff.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
+;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -39,18 +40,16 @@
         "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (alist-cons-before
-                 'check 'fix-sh
-                 (lambda _
-                   (substitute* "tests/testsuite"
-                     (("#! /bin/sh")
-                      (string-append "#!" (which "sh")))))
-                 %standard-phases)))
-    (inputs `(("screen" ,screen)
-              ("which" ,which)
-
-              ;; For some reason wdiff.info gets rebuilt.
-              ("texinfo" ,texinfo)))
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'check 'fix-sh
+                    (lambda _
+                      (substitute* "tests/testsuite"
+                        (("#! /bin/sh")
+                         (string-append "#!" (which "sh")))))))))
+    (native-inputs
+     `(("which" ,which)
+       ;; For some reason wdiff.info gets rebuilt.
+       ("texinfo" ,texinfo)))
     (home-page "https://www.gnu.org/software/wdiff/")
     (synopsis "Word difference finder")
     (description