[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: gnu: utsushi: Turn arguments into a gexp.
From: |
guix-commits |
Subject: |
10/10: gnu: utsushi: Turn arguments into a gexp. |
Date: |
Wed, 18 May 2022 16:32:27 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit df72ba9e8895c957708f466be918c119f0f3996f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed May 18 22:28:08 2022 +0200
gnu: utsushi: Turn arguments into a gexp.
* gnu/packages/scanner.scm (utsushi)[arguments]: Change to a gexp and
use 'this-package-input' and #$output.
---
gnu/packages/scanner.scm | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 25495a62cc..0128956688 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -269,23 +269,23 @@ package contains the library and drivers.")))
"0i6ipqy61abbsmqqqy5sii0vlib146snvp975sgjmv4nzy9mwf24"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f
- #:configure-flags
- (list (string-append "--with-boost-libdir="
- (assoc-ref %build-inputs "boost") "/lib")
- "CXXFLAGS=-Wno-error")
- #:phases
- (modify-phases %standard-phases
- (add-before 'bootstrap 'zap-unnecessary-git-dependency
- (lambda _
- (substitute* "configure.ac"
- (("-m4_esyscmd_s\\(\\[git describe --always\\]\\)") ""))))
- (add-after 'install 'install-udev-rules
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (mkdir-p (string-append out "/lib/udev/rules.d"))
- (install-file "drivers/esci/utsushi-esci.rules"
- (string-append out "/lib/udev/rules.d"))))))))
+ (list #:tests? #f
+ #:configure-flags
+ #~(list (string-append "--with-boost-libdir="
+ #$(this-package-input "boost") "/lib")
+ "CXXFLAGS=-Wno-error")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'bootstrap 'zap-unnecessary-git-dependency
+ (lambda _
+ (substitute* "configure.ac"
+ (("-m4_esyscmd_s\\(\\[git describe --always\\]\\)")
""))))
+ (add-after 'install 'install-udev-rules
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append #$output "/lib/udev/rules.d"))
+ (install-file "drivers/esci/utsushi-esci.rules"
+ (string-append #$output
+ "/lib/udev/rules.d")))))))
(inputs (list boost
eudev
sane-backends-minimal
- branch master updated (4f7cd5daa2 -> df72ba9e88), guix-commits, 2022/05/18
- 02/10: services: Add more description fields., guix-commits, 2022/05/18
- 03/10: services: Make <service-type> 'description' field mandatory., guix-commits, 2022/05/18
- 04/10: daemon: runChild() is forbidden to talk during environment set up, guix-commits, 2022/05/18
- 01/10: gnu: 0ad: Use regular symbol syntax., guix-commits, 2022/05/18
- 10/10: gnu: utsushi: Turn arguments into a gexp.,
guix-commits <=
- 05/10: gnu: lua-luv: Update to 1.43.0-0., guix-commits, 2022/05/18
- 09/10: gnu: Add utsushi., guix-commits, 2022/05/18
- 06/10: gnu: lua-luv: Use gexps., guix-commits, 2022/05/18
- 07/10: gnu: neovim: Update to 0.7.0., guix-commits, 2022/05/18
- 08/10: gnu: neovim: Use new style., guix-commits, 2022/05/18