gnu: sane-backends-minimal: Update to 1.0.28.

* gnu/packages/scanner.scm (sane-backends-minimal): Update to 1.0.28.
[arguments]: Disable back end tests.
This commit is contained in:
Tobias Geerinckx-Rice 2019-08-01 04:46:44 +02:00
parent 6af4cb30d3
commit 7018f926d4
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -34,15 +34,16 @@ (define-module (gnu packages scanner)
(define-public sane-backends-minimal
(package
(name "sane-backends-minimal")
(version "1.0.27")
(version "1.0.28")
(source (origin
(method url-fetch)
(uri (string-append
"https://alioth.debian.org/frs/download.php/latestfile/176/"
"https://gitlab.com/sane-project/backends/uploads/"
"9e718daff347826f4cfe21126c8d5091/"
"sane-backends-" version ".tar.gz"))
(sha256
(base32
"1j9nbqspaj0rlgalafb5z6r606k0i22kz0rcpd744p176yzlfdr9"))
"00yy8q9hqdf0zjxxl4d8njr9zf0hhi3a9ib23ikc2anqf8zhy9ii"))
(modules '((guix build utils)))
(snippet
;; Generated HTML files and udev rules normally embed a
@ -63,6 +64,10 @@ (define-public sane-backends-minimal
(add-before 'configure 'disable-backends
(lambda _
(setenv "BACKENDS" " ")
;; Disable tests that may require back ends to be built.
(substitute* "testsuite/Makefile.in"
((" backend ") " "))
#t))
(add-after 'unpack 'disable-failing-tests
(lambda _