From 8394619baceb118df92e355377fd543bb1aa501a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 13 Dec 2021 17:18:24 +0100 Subject: gnu: Simplify package inputs. This commit was obtained by running: ./pre-inst-env guix style without any additional argument. --- gnu/packages/patchutils.scm | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) (limited to 'gnu/packages/patchutils.scm') diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index 56ea05efdc..0dd7e0450f 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -64,8 +64,7 @@ (define-public patchutils "1va5pzmxbzpi87vdnbjm9qdf9bvzps9xfv0gi4mycgg3bybb0xc8")))) (build-system gnu-build-system) (inputs - `(("perl" ,perl) - ("python" ,python))) + (list perl python)) (arguments '(#:parallel-tests? #f #:phases @@ -112,11 +111,7 @@ (define-public quilt (build-system gnu-build-system) (native-inputs `(("gettext" ,gettext-minimal))) - (inputs `(("perl" ,perl) - ("less" ,less) - ("file" ,file) - ("ed" ,ed) - ("diffstat" ,diffstat))) + (inputs (list perl less file ed diffstat)) (arguments '(#:parallel-tests? #f #:phases @@ -183,8 +178,7 @@ (define-public colordiff (delete 'configure) ; no configure script (delete 'build)))) ; nothing to build (inputs - `(("perl" ,perl) - ("xmlto" ,xmlto))) + (list perl xmlto)) (home-page "https://www.colordiff.org") (synopsis "Display diff output with colors") (description @@ -208,7 +202,7 @@ (define-public patches "11rdmhv0l1s8nqb20ywmw2zqizczch2p62qf9apyx5wqgxlnjshk")) (file-name (string-append name "-"version "-checkout")))) (build-system python-build-system) - (inputs `(("python-notmuch" ,python2-notmuch))) + (inputs (list python2-notmuch)) (arguments `(#:tests? #f ;no "test" target #:python ,python-2)) ;not compatible with Python 3 @@ -234,7 +228,7 @@ (define-public vbindiff "1f1kj4jki08bnrwpzi663mjfkrx4wnfpzdfwd2qgijlkx5ysjkgh")))) (build-system gnu-build-system) (inputs - `(("ncurses" ,ncurses))) + (list ncurses)) (home-page "https://www.cjmweb.net/vbindiff/") (synopsis "Console-based tool for comparing binary data") (description "Visual Binary Diff (@command{vbindiff}) displays files in @@ -267,7 +261,7 @@ (define-public meld ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gtksourceview" ,gtksourceview-3))) (propagated-inputs - `(("dconf" ,dconf))) + (list dconf)) (arguments `(#:imported-modules ((guix build glib-or-gtk-build-system) ,@%python-build-system-modules) @@ -459,15 +453,15 @@ (define pythonpath (chmod (string-append out "/bin/patchwork-admin") #o555)) #t))))) (inputs - `(("python-wrapper" ,python-wrapper))) + (list python-wrapper)) (propagated-inputs - `(("python-django" ,python-django-2.2) - ;; TODO: Make this configurable - ("python-psycopg2" ,python-psycopg2) - ("python-mysqlclient" ,python-mysqlclient) - ("python-django-filter" ,python-django-filter) - ("python-djangorestframework" ,python-djangorestframework) - ("python-django-debug-toolbar" ,python-django-debug-toolbar))) + (list python-django-2.2 + ;; TODO: Make this configurable + python-psycopg2 + python-mysqlclient + python-django-filter + python-djangorestframework + python-django-debug-toolbar)) (synopsis "Web based patch tracking system") (description "Patchwork is a patch tracking system. It takes in emails containing @@ -518,10 +512,7 @@ (define-public pwclient "/share/man/man1")) #t))))) (native-inputs - `(("python-pbr" ,python-pbr) - ("python-pytest" ,python-pytest) - ("python-pytest-cov" ,python-pytest-cov) - ("python-mock" ,python-mock))) + (list python-pbr python-pytest python-pytest-cov python-mock)) (home-page "https://github.com/getpatchwork/pwclient") (synopsis "Command-line client for the Patchwork patch tracking tool") -- cgit v1.2.3