Archived
1
0
Fork 0

gnu: opendht: Update to 2.0.0beta2.

* gnu/packages/networking.scm (opendht): Update to 2.0.0beta2.
This commit is contained in:
Jan Wielkiewicz 2019-10-26 01:35:09 +02:00 committed by Pierre Neidhardt
parent 13d79b6471
commit 4fe8a9f2d1
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -2574,7 +2574,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
(define-public opendht (define-public opendht
(package (package
(name "opendht") (name "opendht")
(version "1.8.1") (version "2.0.0beta2")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -2583,26 +2583,36 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0vninb5mak27wigajslyvr05vq7wbrwqhbr4wzl2nmqcb20wmlq2")))) "02ix0rvvyhq22gd5djcq84qz08ji7ln93faf23b27zjzni2klzv5"))))
(build-system gnu-build-system) ;; Since 2.0, the gnu-build-system does not seem to work anymore, upstream bug?
(build-system cmake-build-system)
(inputs (inputs
`(("gnutls" ,gnutls) `(("gnutls" ,gnutls)
("nettle" ,nettle) ("nettle" ,nettle)
("readline" ,readline) ("readline" ,readline)
("jsoncpp" ,jsoncpp) ("jsoncpp" ,jsoncpp)
("restbed" ,restbed))) ("openssl" ,openssl)
("fmt" ,fmt-restinio)))
(propagated-inputs (propagated-inputs
`(("argon2" ,argon2) ; TODO: Needed for the pkg-config .pc file to work? `(("argon2" ,argon2) ; TODO: Needed for the pkg-config .pc file to work?
("msgpack" ,msgpack))) ;included in several installed headers ("msgpack" ,msgpack))) ;included in several installed headers
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("restinio" ,restinio)
("automake" ,automake) ("automake" ,automake)
("libtool" ,libtool))) ("libtool" ,libtool)
("cppunit" ,cppunit)))
(arguments (arguments
`(#:configure-flags '("--disable-tools" `(#:tests? #f ; Tests require network connection.
"--disable-python" #:configure-flags
"--with-argon2"))) '(;; "-DOPENDHT_TESTS=on"
"-DOPENDHT_TOOLS=off"
"-DOPENDHT_PYTHON=off"
"-DOPENDHT_PROXY_SERVER=on"
"-DOPENDHT_PUSH_NOTIFICATIONS=on"
"-DOPENDHT_PROXY_SERVER_IDENTITY=on"
"-DOPENDHT_PROXY_CLIENT=on")))
(home-page "https://github.com/savoirfairelinux/opendht/") (home-page "https://github.com/savoirfairelinux/opendht/")
(synopsis "Distributed Hash Table (DHT) library") (synopsis "Distributed Hash Table (DHT) library")
(description "OpenDHT is a Distributed Hash Table (DHT) library. It may (description "OpenDHT is a Distributed Hash Table (DHT) library. It may