gnu: gnunet: Add inputs.

* gnu/packages/gnunet.scm (gnunet)[inputs]: Add perl, jansson, nss, gmp, bluez,
glib, libogg.
[native-inputs]: Move python-2 from here ...
[inputs]: ... to here.

Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
ng0 2016-09-16 13:28:01 +00:00 committed by Leo Famulari
parent 9bee2bd1b0
commit 6adda006be
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -34,14 +34,18 @@ (define-module (gnu packages gnunet)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages groff) #:use-module (gnu packages groff)
#:use-module (gnu packages gtk) #:use-module (gnu packages gtk)
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module (gnu packages gstreamer) #:use-module (gnu packages gstreamer)
#:use-module (gnu packages libidn) #:use-module (gnu packages libidn)
#:use-module (gnu packages linux)
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages libunistring) #:use-module (gnu packages libunistring)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pulseaudio) #:use-module (gnu packages pulseaudio)
@ -49,6 +53,7 @@ (define-module (gnu packages gnunet)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
#:use-module (gnu packages tls) #:use-module (gnu packages tls)
#:use-module (gnu packages video) #:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages xiph) #:use-module (gnu packages xiph)
#:use-module (gnu packages backup) #:use-module (gnu packages backup)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
@ -217,8 +222,9 @@ (define-public gnunet
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/gnunet/gnunet-" version (uri (string-append "mirror://gnu/gnunet/gnunet-" version
".tar.gz")) ".tar.gz"))
(sha256 (base32 (sha256
"04wxzm3wkgqbn42b8ksr4cx6m5cckyig5cls1adh0nwdczwvnp7n")))) (base32
"04wxzm3wkgqbn42b8ksr4cx6m5cckyig5cls1adh0nwdczwvnp7n"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("glpk" ,glpk) `(("glpk" ,glpk)
@ -229,17 +235,24 @@ (define-public gnunet
("libextractor" ,libextractor) ("libextractor" ,libextractor)
("libgcrypt" ,libgcrypt) ("libgcrypt" ,libgcrypt)
("libidn" ,libidn) ("libidn" ,libidn)
("libmicrohttpd" ,libmicrohttpd) ("libmicrohttpd" ,libmicrohttpd) ; hostlist, pt, contrib, and more
("libltdl" ,libltdl) ("libltdl" ,libltdl)
("libunistring" ,libunistring) ("libunistring" ,libunistring) ; fs and more
("openssl" ,openssl) ("openssl" ,openssl) ; transport, certificate creation, contribs
("opus" ,opus) ("opus" ,opus) ; gnunet-conversation
("pulseaudio" ,pulseaudio) ("pulseaudio" ,pulseaudio) ; conversation
("sqlite" ,sqlite) ("sqlite" ,sqlite) ; sqlite bindings, *store
("zlib" ,zlib))) ("zlib" ,zlib)
("perl" ,perl) ; doxygen and more
("jansson" ,jansson) ; identity, taler (external), gnunet-json, gns
("nss" ,nss) ; gns
("gmp" ,gmp) ; util
("bluez" ,bluez) ; gnunet-transport
("glib" ,glib)
("libogg" ,libogg) ; gnunet-conversation
("python-2" ,python-2))) ; tests, gnunet-qr
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)))
("python" ,python-2)))
(arguments (arguments
'(#:configure-flags '(#:configure-flags
(list (string-append "--with-nssdir=" %output "/lib")) (list (string-append "--with-nssdir=" %output "/lib"))