mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: gnupg: Update to 2.1.15.
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.15. [arguments]: Add 'patch-scheme-tests' phase.
This commit is contained in:
parent
995e8baf97
commit
7deb5ee899
1 changed files with 8 additions and 3 deletions
|
@ -209,14 +209,14 @@ (define-public npth
|
||||||
(define-public gnupg
|
(define-public gnupg
|
||||||
(package
|
(package
|
||||||
(name "gnupg")
|
(name "gnupg")
|
||||||
(version "2.1.13")
|
(version "2.1.15")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnupg/gnupg/gnupg-" version
|
(uri (string-append "mirror://gnupg/gnupg/gnupg-" version
|
||||||
".tar.bz2"))
|
".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xcn46vcb5x5qx0bc803vpzhzhnn6wfhp7x71w9n1ahx4ak877ag"))))
|
"1pgz02gd84ab94w4xdg67p9z8kvkyr9d523bvcxxd2hviwh1m362"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
@ -242,7 +242,12 @@ (define-public gnupg
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/openpgp/defs.inc"
|
(substitute* "tests/openpgp/defs.inc"
|
||||||
(("/bin/pwd") (which "pwd")))
|
(("/bin/pwd") (which "pwd")))
|
||||||
#t)))))
|
#t))
|
||||||
|
(add-after 'build 'patch-scheme-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* (find-files "tests" ".\\.scm$")
|
||||||
|
(("/usr/bin/env gpgscm")
|
||||||
|
(string-append (getcwd) "/tests/gpgscm/gpgscm"))))))))
|
||||||
(home-page "https://gnupg.org/")
|
(home-page "https://gnupg.org/")
|
||||||
(synopsis "GNU Privacy Guard")
|
(synopsis "GNU Privacy Guard")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue