gnu: sane-backends-minimal: Update to 1.0.32.
* gnu/packages/scanner.scm (sane-backends-minimal): Update to 1.0.32. [arguments]: Adapt the ‘zap-unnecessary-git-dependency’ phase to the new tools/git-version-gen script.
This commit is contained in:
parent
cf9047b222
commit
78ce446b20
1 changed files with 7 additions and 5 deletions
|
@ -43,7 +43,7 @@
|
||||||
(define-public sane-backends-minimal
|
(define-public sane-backends-minimal
|
||||||
(package
|
(package
|
||||||
(name "sane-backends-minimal")
|
(name "sane-backends-minimal")
|
||||||
(version "1.0.31")
|
(version "1.0.32")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "161hh2zcs2fh6vxxgavf3m0xbm1gbxkasp10p8964pkzxax8rwqp"))
|
(base32 "13jlqdp7n7z2n78v6idl3ri5idk7ddk9j8wrmh73lba8l9y8xnsi"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Generated HTML files and udev rules normally embed a
|
;; Generated HTML files and udev rules normally embed a
|
||||||
|
@ -77,9 +77,11 @@
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'bootstrap 'zap-unnecessary-git-dependency
|
(add-before 'bootstrap 'zap-unnecessary-git-dependency
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "configure.ac"
|
;; This runs before default patch-shebangs phase.
|
||||||
(("git describe --dirty")
|
(substitute* "tools/git-version-gen"
|
||||||
(string-append "echo " ,version)))))
|
(("/bin/sh") (which "sh")))
|
||||||
|
(with-output-to-file ".tarball-version"
|
||||||
|
(lambda _ (format #t ,version)))))
|
||||||
(add-before 'configure 'disable-backends
|
(add-before 'configure 'disable-backends
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "BACKENDS" " ")
|
(setenv "BACKENDS" " ")
|
||||||
|
|
Reference in a new issue