mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: hplip: Update to 3.23.3.
* gnu/packages/cups.scm (hplip): Update to 3.23.3. [arguments]: Remove the fix-build-with-python-3.8 phase.
This commit is contained in:
parent
d8de115d35
commit
ebf85c3c39
1 changed files with 2 additions and 13 deletions
|
@ -501,14 +501,14 @@ (define-public cups-pk-helper
|
||||||
(define-public hplip
|
(define-public hplip
|
||||||
(package
|
(package
|
||||||
(name "hplip")
|
(name "hplip")
|
||||||
(version "3.22.10")
|
(version "3.23.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/hplip/hplip/" version
|
(uri (string-append "mirror://sourceforge/hplip/hplip/" version
|
||||||
"/hplip-" version ".tar.gz"))
|
"/hplip-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09366v0x10l35bkda6s5ysh64qdf24givn2gxlyidr2kdcpkyg2k"))
|
"1dh7gqhzv03a6j1kbkiaksy9a752k90xwqi5x0hqvn5ilac0l9p4"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -612,17 +612,6 @@ (define-public hplip
|
||||||
(string-append "rulessystemdir = " out "/lib/systemd/system"))
|
(string-append "rulessystemdir = " out "/lib/systemd/system"))
|
||||||
(("/etc/sane.d")
|
(("/etc/sane.d")
|
||||||
(string-append out "/etc/sane.d"))))))
|
(string-append out "/etc/sane.d"))))))
|
||||||
(add-before 'configure 'fix-build-with-python-3.8
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(let ((python (assoc-ref inputs "python")))
|
|
||||||
;; XXX: The configure script looks for Python headers in the
|
|
||||||
;; wrong places as of version 3.20.3. Help it by adding the
|
|
||||||
;; include directory on C_INCLUDE_PATH.
|
|
||||||
(when python
|
|
||||||
(setenv "C_INCLUDE_PATH"
|
|
||||||
(string-append python "/include/python"
|
|
||||||
(python:python-version python)
|
|
||||||
":" (getenv "C_INCLUDE_PATH")))))))
|
|
||||||
(add-after 'install 'install-models-dat
|
(add-after 'install 'install-models-dat
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(install-file "data/models/models.dat"
|
(install-file "data/models/models.dat"
|
||||||
|
|
Loading…
Reference in a new issue