gnu: sane-backends: Remove timestamps from the output.
* gnu/packages/scanner.scm (sane-backends-minimal)[source](modules, snippet): New fields.
This commit is contained in:
parent
4c92874328
commit
a32d0c8304
1 changed files with 8 additions and 1 deletions
|
|
@ -39,7 +39,14 @@
|
||||||
"sane-backends-" version ".tar.gz"))
|
"sane-backends-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0b3fvhrxl4l82bf3v0j47ypjv6a0k5lqbgknrq1agpmjca6vmmx4"))))
|
"0b3fvhrxl4l82bf3v0j47ypjv6a0k5lqbgknrq1agpmjca6vmmx4"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Generated HTML files and udev rules normally embed a
|
||||||
|
;; timestamp. Work around that to build things reproducibly.
|
||||||
|
'(substitute* "tools/sane-desc.c"
|
||||||
|
(("asctime \\(localtime \\(¤t_time\\)\\)")
|
||||||
|
"\"1970-01-01\"")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
|
|
||||||
Reference in a new issue