2013-08-24 10:41:07 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2014-02-10 23:44:57 +01:00
|
|
|
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
|
|
|
|
;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
|
2013-08-24 10:41:07 +02:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages gnunet)
|
2014-01-31 00:33:36 +01:00
|
|
|
#:use-module (gnu packages)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
#:use-module (gnu packages compression)
|
2013-08-24 11:40:57 +02:00
|
|
|
#:use-module (gnu packages curl)
|
2013-11-23 18:28:00 +01:00
|
|
|
#:use-module (gnu packages geeqie)
|
gnu: gettext: Rename binding to 'gnu-gettext'.
* gnu/packages/gettext.scm (gettext): Rename to...
(gnu-gettext): ... this. This is used to work around the circular
dependency introduced in commit c42a4b7, which users with a #:renamer
cannot cope with.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/cdrom.scm,
gnu/packages/fdisk.scm, gnu/packages/gkrellm.scm, gnu/packages/glib.scm,
gnu/packages/gnunet.scm, gnu/packages/grub.scm, gnu/packages/linux.scm,
gnu/packages/maths.scm, gnu/packages/nano.scm, gnu/packages/parted.scm,
gnu/packages/system.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/wget.scm:
Adjust accordingly.
2013-11-20 22:12:49 +01:00
|
|
|
#:use-module (gnu packages gettext)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (gnu packages glib)
|
2013-08-24 11:40:57 +02:00
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
#:use-module (gnu packages gnutls)
|
2014-01-29 13:59:11 +01:00
|
|
|
#:use-module (gnu packages groff)
|
2013-11-23 18:16:03 +01:00
|
|
|
#:use-module (gnu packages gstreamer)
|
2014-01-29 13:59:11 +01:00
|
|
|
#:use-module (gnu packages libidn)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (gnu packages libjpeg)
|
|
|
|
#:use-module (gnu packages libtiff)
|
2014-01-31 00:33:36 +01:00
|
|
|
#:use-module (gnu packages libunistring)
|
|
|
|
#:use-module (gnu packages maths)
|
2013-08-24 11:40:57 +02:00
|
|
|
#:use-module (gnu packages openssl)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2014-01-29 13:59:11 +01:00
|
|
|
#:use-module (gnu packages perl)
|
2014-01-31 00:33:36 +01:00
|
|
|
#:use-module (gnu packages pulseaudio)
|
2014-01-29 13:59:11 +01:00
|
|
|
#:use-module (gnu packages python)
|
2014-01-31 00:33:36 +01:00
|
|
|
#:use-module (gnu packages sqlite)
|
2013-11-23 18:16:03 +01:00
|
|
|
#:use-module (gnu packages video)
|
2014-01-23 19:05:09 +01:00
|
|
|
#:use-module (gnu packages xiph)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module ((guix licenses)
|
|
|
|
#:renamer (symbol-prefix-proc 'license:))
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public libextractor
|
|
|
|
(package
|
|
|
|
(name "libextractor")
|
2013-12-28 09:01:15 +01:00
|
|
|
(version "1.3")
|
2013-08-24 10:41:07 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/libextractor/libextractor-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2013-12-28 09:01:15 +01:00
|
|
|
"0zvv7wd011npcx7yphw9bpgivyxz6mlp87a57n96nv85k96dd2l6"))))
|
2013-08-24 10:41:07 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
;; WARNING: Checks require /dev/shm to be in the build chroot, especially
|
|
|
|
;; not to be a symbolic link to /run/shm.
|
|
|
|
;; FIXME:
|
|
|
|
;; The following dependencies are all optional, but should be
|
|
|
|
;; available for maximum coverage:
|
|
|
|
;; * libarchive
|
|
|
|
;; * libgif (giflib)
|
|
|
|
;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of
|
|
|
|
;; gtk)
|
|
|
|
;; * libgsf
|
|
|
|
;; * libmagic (file)
|
|
|
|
;; * libmpeg2
|
|
|
|
;; * libmp4v2
|
|
|
|
;; * librpm
|
|
|
|
;; * libsmf
|
|
|
|
;; * libtidy
|
|
|
|
(inputs
|
2013-11-23 18:28:00 +01:00
|
|
|
`(("exiv2" ,exiv2)
|
2013-08-24 10:41:07 +02:00
|
|
|
("flac" ,flac)
|
2013-11-23 18:16:03 +01:00
|
|
|
("ffmpeg" ,ffmpeg)
|
2013-11-23 22:30:10 +01:00
|
|
|
("gettext" ,gnu-gettext)
|
2013-08-24 10:41:07 +02:00
|
|
|
("glib" ,glib)
|
2013-11-23 18:16:03 +01:00
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
2013-08-24 10:41:07 +02:00
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libogg" ,libogg)
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("zlib" ,zlib)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-08-24 10:41:07 +02:00
|
|
|
(synopsis "Library to extract meta-data from media files")
|
|
|
|
(description
|
2013-12-01 22:33:23 +01:00
|
|
|
"GNU libextractor is a library for extracting metadata from files. It
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
supports a very large number of file formats, including audio files, document
|
|
|
|
files, and archive files. Each file format is implemented as a plugin, so
|
2013-12-01 22:33:23 +01:00
|
|
|
new formats can be added easily. The package also contains a command-line
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
tool to extract metadata from a file and print the results.")
|
2013-08-24 10:41:07 +02:00
|
|
|
(license license:gpl3+)
|
|
|
|
(home-page "http://www.gnu.org/software/libextractor/")))
|
2013-08-24 11:40:57 +02:00
|
|
|
|
|
|
|
(define-public libmicrohttpd
|
|
|
|
(package
|
|
|
|
(name "libmicrohttpd")
|
2014-02-25 00:49:59 +01:00
|
|
|
(version "0.9.34")
|
2013-08-24 11:40:57 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2014-02-25 00:49:59 +01:00
|
|
|
"122snbhhn10s8az46f0lrkirhj0k38lq7hmqav3n1prdzpabz8i9"))))
|
2013-08-24 11:40:57 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
|
|
|
`(("curl" ,curl)
|
|
|
|
("gnutls" ,gnutls)
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("zlib" ,zlib)))
|
2013-10-30 23:07:50 +01:00
|
|
|
(arguments
|
|
|
|
`(#:parallel-tests? #f))
|
2013-08-24 11:40:57 +02:00
|
|
|
(synopsis "C library implementing an HTTP 1.1 server")
|
|
|
|
(description
|
2013-10-30 23:07:50 +01:00
|
|
|
"GNU libmicrohttpd is a small, embeddable HTTP server implemented as a
|
|
|
|
C library. It makes it easy to run an HTTP server as part of another
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
application. The library is fully HTTP 1.1 compliant. It can listen on
|
2013-10-30 23:07:50 +01:00
|
|
|
multiple ports, supports four different threading models, and supports
|
|
|
|
IPv6. It
|
|
|
|
also features security features such as basic and digest authentication
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 16:14:23 +02:00
|
|
|
and support for SSL3 and TLS.")
|
2013-08-24 11:40:57 +02:00
|
|
|
(license license:lgpl2.1+)
|
|
|
|
(home-page "http://www.gnu.org/software/libmicrohttpd/")))
|
2014-01-29 13:59:11 +01:00
|
|
|
|
|
|
|
(define-public gnurl
|
|
|
|
(package
|
|
|
|
(name "gnurl")
|
2014-02-16 20:00:02 +01:00
|
|
|
(version "7.35.0")
|
2014-01-29 13:59:11 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://gnunet.org/sites/default/files/gnurl-"
|
|
|
|
version ".tar.bz2"))
|
|
|
|
(sha256
|
2014-02-16 20:00:02 +01:00
|
|
|
(base32 "0dzj22f5z6ppjj1aq1bml64iwbzzcd8w1qy3bgpk6gnzqslsxknf"))))
|
2014-01-29 13:59:11 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(("gnutls" ,gnutls)
|
|
|
|
("libidn" ,libidn)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
2014-02-12 16:15:32 +01:00
|
|
|
`(("groff" ,groff)
|
|
|
|
("perl" ,perl)
|
|
|
|
("pkg-config" ,pkg-config)
|
2014-01-29 13:59:11 +01:00
|
|
|
("python" ,python-2)))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags '("--enable-ipv6" "--with-gnutls" "--without-libssh2"
|
|
|
|
"--without-libmetalink" "--without-winidn"
|
|
|
|
"--without-librtmp" "--without-nghttp2"
|
|
|
|
"--without-nss" "--without-cyassl"
|
|
|
|
"--without-polarssl" "--without-ssl"
|
|
|
|
"--without-winssl" "--without-darwinssl"
|
|
|
|
"--disable-sspi" "--disable-ntlm-wb"
|
|
|
|
"--disable-ldap" "--disable-rtsp" "--disable-dict"
|
|
|
|
"--disable-telnet" "--disable-tftp" "--disable-pop3"
|
|
|
|
"--disable-imap" "--disable-smtp" "--disable-gopher"
|
|
|
|
"--disable-file" "--disable-ftp")
|
|
|
|
#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
2014-02-18 21:57:43 +01:00
|
|
|
;; We have to patch runtests.pl in tests/ directory
|
2014-01-29 13:59:11 +01:00
|
|
|
#:phases
|
|
|
|
(alist-cons-before
|
|
|
|
'check 'patch-runtests
|
|
|
|
(lambda _
|
2014-02-18 21:57:43 +01:00
|
|
|
(substitute* "tests/runtests.pl"
|
|
|
|
(("/bin/sh") (which "sh"))))
|
2014-01-29 13:59:11 +01:00
|
|
|
%standard-phases)))
|
|
|
|
(synopsis "Microfork of cURL with support for the HTTP/HTTPS/GnuTLS subset of cURL")
|
|
|
|
(description
|
|
|
|
"Gnurl is a microfork of cURL, a command line tool for transferring data
|
|
|
|
with URL syntax. While cURL supports many crypto backends, libgnurl only
|
|
|
|
supports HTTPS, HTTPS and GnuTLS.")
|
|
|
|
(license (license:bsd-style "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))
|
|
|
|
(home-page "https://gnunet.org/gnurl")))
|
2014-01-31 00:33:36 +01:00
|
|
|
|
|
|
|
(define-public gnunet
|
|
|
|
(package
|
|
|
|
(name "gnunet")
|
|
|
|
(version "0.10.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/gnunet/gnunet-" version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"0zqpc47kywhjrpphl0palz849khv00ra2gjrfkysp6p0gfsbvd0i"))
|
|
|
|
(patches
|
|
|
|
(list
|
|
|
|
;; Patch to fix serious bug in scheduler; upstream commit: #31747
|
|
|
|
(search-patch "gnunet-fix-scheduler.patch")
|
|
|
|
;; Patch to fix bugs in testcases:
|
|
|
|
;; * Disable peerinfo-tool tests as they depend on reverse DNS lookups
|
2014-02-12 16:15:32 +01:00
|
|
|
;; * Allow revocation and integration-tests testcases to run on
|
|
|
|
;; loopback; upstream: #32130, #32326
|
2014-01-31 00:33:36 +01:00
|
|
|
;; * Skip GNS testcases requiring DNS lookups; upstream: #32118
|
|
|
|
(search-patch "gnunet-fix-tests.patch")))
|
|
|
|
(patch-flags '("-p0"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2014-02-10 23:44:57 +01:00
|
|
|
`(("glpk" ,glpk)
|
|
|
|
("gnurl" ,gnurl)
|
|
|
|
("gnutls" ,gnutls)
|
2014-01-31 00:33:36 +01:00
|
|
|
("libextractor" ,libextractor)
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
("libidn" ,libidn)
|
2014-02-10 23:44:57 +01:00
|
|
|
("libmicrohttpd" ,libmicrohttpd)
|
2014-02-11 10:20:53 +01:00
|
|
|
("libtool" ,libtool)
|
2014-02-10 23:44:57 +01:00
|
|
|
("libunistring" ,libunistring)
|
2014-01-31 00:33:36 +01:00
|
|
|
("openssl" ,openssl)
|
|
|
|
("opus" ,opus)
|
|
|
|
("pulseaudio", pulseaudio)
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("python" ,python-2)))
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
2014-02-10 23:44:57 +01:00
|
|
|
;; swap check and install phases and set paths to installed binaries
|
|
|
|
(alist-cons-before
|
|
|
|
'check 'set-path-for-check
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(setenv "GNUNET_PREFIX" out)
|
|
|
|
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))))
|
|
|
|
(alist-cons-after
|
|
|
|
'install 'check
|
|
|
|
(assoc-ref %standard-phases 'check)
|
|
|
|
(alist-delete
|
|
|
|
'check
|
|
|
|
%standard-phases)))))
|
2014-04-06 21:17:42 +02:00
|
|
|
(synopsis "Secure, decentralized, peer-to-peer networking framework")
|
2014-01-31 00:33:36 +01:00
|
|
|
(description
|
2014-04-06 21:17:42 +02:00
|
|
|
"GNUnet is a framework for secure peer-to-peer networking that does not
|
|
|
|
use any centralized or otherwise trusted services. Our high-level goal is to
|
|
|
|
provide a strong free software foundation for a global network that provides
|
|
|
|
security and privacy. GNUnet started with an idea for anonymous
|
|
|
|
censorship-resistant file-sharing, but has grown to incorporate other
|
|
|
|
applications as well as many generic building blocks for secure networking
|
|
|
|
applications. In particular, GNUnet now includes the GNU Name System, a
|
|
|
|
privacy-preserving, decentralized public key infrastructure.")
|
2014-01-31 00:33:36 +01:00
|
|
|
(license license:gpl3+)
|
|
|
|
(home-page "https://gnunet.org/")))
|