gnu: gnunet: Update to 0.16.3.
* gnu/packages/gnunet.scm (gnunet): Update to 0.16.3. [arguments]: Enable all the tests that were disabled. [inputs]: Use new style. [native-inputs]: Add openssl. [home-page]: Update URL. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6d54f1987f
commit
8f5043bbc6
1 changed files with 25 additions and 54 deletions
|
@ -254,7 +254,7 @@ supports HTTP, HTTPS and GnuTLS.")
|
||||||
(define-public gnunet
|
(define-public gnunet
|
||||||
(package
|
(package
|
||||||
(name "gnunet")
|
(name "gnunet")
|
||||||
(version "0.13.1")
|
(version "0.16.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -262,66 +262,37 @@ supports HTTP, HTTPS and GnuTLS.")
|
||||||
".tar.gz"))
|
".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"15jnca5zxng7r6m3qzq9lr73xxq0v6mvcp0lny3zrlkz5s2nmmq3"))))
|
"12n33r9nnkl5xwx8pwf571l2zvnvfllc8vm6mamrlyjk2cphaf9j"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("bluez" ,bluez)
|
(list bluez
|
||||||
("glpk" ,glpk)
|
glpk
|
||||||
("gnurl" ,gnurl)
|
gnurl
|
||||||
("gnutls" ,gnutls/dane)
|
gnutls/dane
|
||||||
("gstreamer" ,gstreamer)
|
gstreamer
|
||||||
("jansson" ,jansson)
|
jansson
|
||||||
("libextractor" ,libextractor)
|
libextractor
|
||||||
("libidn" ,libidn2)
|
libidn2
|
||||||
("libgcrypt" ,libgcrypt)
|
libgcrypt
|
||||||
("libjpeg" ,libjpeg-turbo)
|
libjpeg-turbo
|
||||||
("libltdl" ,libltdl)
|
libltdl
|
||||||
("libmicrohttpd" ,libmicrohttpd)
|
libmicrohttpd
|
||||||
("libogg" ,libogg)
|
libogg
|
||||||
("libsodium" ,libsodium)
|
libsodium
|
||||||
("libunistring" ,libunistring)
|
libunistring
|
||||||
("miniupnpc" ,miniupnpc)
|
miniupnpc
|
||||||
("opus" ,opus)
|
opus
|
||||||
("pulseaudio" ,pulseaudio)
|
pulseaudio
|
||||||
("sqlite" ,sqlite)
|
sqlite
|
||||||
("zbar" ,zbar)
|
zbar
|
||||||
("zlib" ,zlib)))
|
zlib))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list curl pkg-config python xxd
|
(list curl openssl pkg-config python xxd
|
||||||
(@ (gnu packages base) which)))
|
(@ (gnu packages base) which)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:parallel-tests? #f ; Parallel tests aren't supported.
|
'(#:parallel-tests? #f ; Parallel tests aren't supported.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'configure 'remove-failing-tests
|
|
||||||
;; These tests fail in Guix's building environment.
|
|
||||||
(lambda _
|
|
||||||
(substitute* "src/transport/Makefile"
|
|
||||||
(("\\$\\(am__EXEEXT_15\\)") "") ; test_transport_api_https
|
|
||||||
(("test_transport_api_manipulation_cfg\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_transport_api_udp_nat\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_transport_blacklisting_multiple_plugins\\$\\(EXEEXT\\) \\\\\n") ""))
|
|
||||||
(substitute* "src/testbed/Makefile"
|
|
||||||
(("test_testbed_api_2peers_1controller\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_testbed_api_statistics\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_testbed_api_test\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_testbed_api_test_timeout\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_testbed_api_topology\\$\\(EXEEXT\\) \\\\\n") "")
|
|
||||||
(("test_testbed_api_topology_clique\\$\\(EXEEXT\\) \\\\\n") ""))
|
|
||||||
(substitute* "src/topology/Makefile"
|
|
||||||
(("^check_PROGRAMS.*") "\n")
|
|
||||||
(("test_gnunet_daemon_topology\\$\\(EXEEXT\\)\n") ""))
|
|
||||||
(substitute* "src/namestore/Makefile"
|
|
||||||
(("\\$\\(am__append_2\\)") ""))
|
|
||||||
(substitute* "src/gns/Makefile"
|
|
||||||
(("\\$\\(am__append_4\\)") ""))
|
|
||||||
(substitute* "contrib/Makefile"
|
|
||||||
(("^check_PROGRAMS.*") "\n"))
|
|
||||||
;; 'test' from coreutils doesn't behave as the test expects.
|
|
||||||
(substitute* '("src/gns/gnunet-gns-proxy-setup-ca.in"
|
|
||||||
"src/transport/gnunet-transport-certificate-creation.in")
|
|
||||||
(("gnutls-certtool") "certtool"))
|
|
||||||
#t))
|
|
||||||
(add-before 'check 'set-env-var-for-tests
|
(add-before 'check 'set-env-var-for-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "LANG" "en_US.UTF-8")))
|
(setenv "LANG" "en_US.UTF-8")))
|
||||||
|
@ -344,7 +315,7 @@ that sense aims to replace the current internet protocol stack. Along with
|
||||||
an application for secure publication of files, it has grown to include all
|
an application for secure publication of files, it has grown to include all
|
||||||
kinds of basic applications for the foundation of a GNU internet.")
|
kinds of basic applications for the foundation of a GNU internet.")
|
||||||
(license license:agpl3+)
|
(license license:agpl3+)
|
||||||
(home-page "https://gnunet.org/")))
|
(home-page "https://gnunet.org/en/")))
|
||||||
|
|
||||||
(define-public guile-gnunet ;GSoC 2015!
|
(define-public guile-gnunet ;GSoC 2015!
|
||||||
(let ((commit "d12167ab3c8d7d6caffd9c606e389ef043760602")
|
(let ((commit "d12167ab3c8d7d6caffd9c606e389ef043760602")
|
||||||
|
|
Reference in a new issue