2013-08-24 10:41:07 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2015-10-18 12:09:13 +02:00
|
|
|
;;; Copyright © 2013, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
2014-02-10 23:44:57 +01:00
|
|
|
;;; Copyright © 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
|
2017-07-31 22:51:34 +02:00
|
|
|
;;; Copyright © 2015, 2017 Ludovic Courtès <ludo@gnu.org>
|
2015-12-07 09:40:05 +01:00
|
|
|
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
|
2016-01-13 18:36:31 +01:00
|
|
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
2016-04-05 04:52:51 +02:00
|
|
|
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
|
2017-08-09 17:58:43 +02:00
|
|
|
;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
|
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)
|
2015-01-28 14:23:14 +01:00
|
|
|
#:use-module (gnu packages file)
|
2016-01-13 18:36:31 +01:00
|
|
|
#:use-module (gnu packages aidc)
|
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)
|
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)
|
2016-01-13 18:36:31 +01:00
|
|
|
#:use-module (gnu packages gnome)
|
2013-08-24 11:40:57 +02:00
|
|
|
#:use-module (gnu packages gnupg)
|
2016-09-16 15:28:01 +02:00
|
|
|
#:use-module (gnu packages gnuzilla)
|
2014-01-29 13:59:11 +01:00
|
|
|
#:use-module (gnu packages groff)
|
2016-01-13 18:36:31 +01:00
|
|
|
#:use-module (gnu packages gtk)
|
2015-11-06 16:07:07 +01:00
|
|
|
#:use-module (gnu packages guile)
|
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)
|
2016-09-16 15:28:01 +02:00
|
|
|
#:use-module (gnu packages linux)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 14:39:02 +02:00
|
|
|
#:use-module (gnu packages image)
|
2014-01-31 00:33:36 +01:00
|
|
|
#:use-module (gnu packages libunistring)
|
|
|
|
#:use-module (gnu packages maths)
|
2016-09-16 15:28:01 +02:00
|
|
|
#:use-module (gnu packages multiprecision)
|
2017-02-09 14:37:03 +01:00
|
|
|
#:use-module (gnu packages music)
|
2016-09-16 15:28:01 +02:00
|
|
|
#:use-module (gnu packages ncurses)
|
2017-02-09 14:37:03 +01:00
|
|
|
#:use-module (gnu packages package-management)
|
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)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
#:use-module (gnu packages databases)
|
gnu: Rename module gnutls to tls.
* gnu/packages/gnutls.scm: Rename to...
* gnu/packages/tls.scm: ... this. Change module name accordingly.
* gnu/packages/{admin.scm, cups.scm, curl.scm, dc.scm, dns.scm, emacs.scm,
ftp.scm, gnome.scm, gnunet.scm, gnupg.scm, gsasl.scm, lynx.scm,
mail.scm, messaging.scm, package-management.scm, shishi.scm,
task-management.scm, version-control.scm, video.scm, vpn.scm,
webkit.scm, weechat.scm, wget.scm, wine.scm, xml.scm}: Adapt module
import to new name.
* gnu-system.am (GNU_SYSTEM_MODULES): Rename gnutls module to tls.
2015-07-03 21:41:22 +02:00
|
|
|
#:use-module (gnu packages tls)
|
2013-11-23 18:16:03 +01:00
|
|
|
#:use-module (gnu packages video)
|
2016-09-16 15:28:01 +02:00
|
|
|
#:use-module (gnu packages web)
|
2014-01-23 19:05:09 +01:00
|
|
|
#:use-module (gnu packages xiph)
|
2016-08-03 15:42:27 +02:00
|
|
|
#:use-module (gnu packages backup)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 22:44:22 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2015-11-06 16:07:07 +01:00
|
|
|
#:use-module (guix git-download)
|
2013-08-24 10:41:07 +02:00
|
|
|
#:use-module (guix build-system gnu))
|
|
|
|
|
|
|
|
(define-public libextractor
|
|
|
|
(package
|
|
|
|
(name "libextractor")
|
2017-06-11 15:34:58 +02:00
|
|
|
(version "1.4")
|
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
|
2017-06-11 15:34:58 +02:00
|
|
|
"0v7ns5jhsyp1wzvbaydfgxnva5zd63gkzm9djhckmam9liq824l4"))))
|
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:
|
|
|
|
;; * libmagic (file)
|
2017-02-09 14:37:03 +01:00
|
|
|
;; * librpm (rpm) ; investigate failure
|
2016-08-03 15:42:27 +02:00
|
|
|
;; * libgif (giflib) ; investigate failure
|
2013-08-24 10:41:07 +02:00
|
|
|
(inputs
|
2013-11-23 18:28:00 +01:00
|
|
|
`(("exiv2" ,exiv2)
|
2017-02-09 14:37:03 +01:00
|
|
|
("bzip2" ,bzip2)
|
2013-08-24 10:41:07 +02:00
|
|
|
("flac" ,flac)
|
2013-11-23 18:16:03 +01:00
|
|
|
("ffmpeg" ,ffmpeg)
|
2015-01-28 14:23:14 +01:00
|
|
|
("file" ,file) ;libmagic, for the MIME plug-in
|
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)
|
2016-08-03 15:42:27 +02:00
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("libarchive" ,libarchive)
|
|
|
|
("libgsf" ,libgsf)
|
2013-08-24 10:41:07 +02:00
|
|
|
("libjpeg" ,libjpeg)
|
2016-08-03 15:42:27 +02:00
|
|
|
("libltdl" ,libltdl)
|
|
|
|
("libmpeg2" ,libmpeg2)
|
2017-02-09 14:37:03 +01:00
|
|
|
("libmp4v2" ,libmp4v2)
|
|
|
|
("libsmf" ,libsmf)
|
|
|
|
("tidy-html" ,tidy-html)
|
2013-08-24 10:41:07 +02:00
|
|
|
("libogg" ,libogg)
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
("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
|
2016-08-03 15:42:27 +02:00
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-02-09 14:37:04 +01:00
|
|
|
(outputs '("out"
|
|
|
|
"static")) ; 396 KiB .a files
|
2016-08-03 15:42:27 +02:00
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
|
|
|
(list (string-append "--with-ltdl="
|
2017-02-09 14:37:03 +01:00
|
|
|
(assoc-ref %build-inputs "libltdl"))
|
|
|
|
(string-append "--with-tidy="
|
|
|
|
(assoc-ref %build-inputs "tidy-html")))
|
2017-02-09 14:37:04 +01:00
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'move-static-libraries
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Move static libraries to the "static" output.
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
(static (assoc-ref outputs "static"))
|
|
|
|
(slib (string-append static "/lib")))
|
|
|
|
(mkdir-p slib)
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file file slib)
|
|
|
|
(delete-file file))
|
|
|
|
(find-files lib "\\.a$"))
|
|
|
|
#t))))))
|
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+)
|
2017-03-30 00:48:16 +02:00
|
|
|
(home-page "https://www.gnu.org/software/libextractor/")))
|
2013-08-24 11:40:57 +02:00
|
|
|
|
|
|
|
(define-public libmicrohttpd
|
|
|
|
(package
|
|
|
|
(name "libmicrohttpd")
|
2017-07-31 22:51:34 +02:00
|
|
|
(version "0.9.55")
|
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
|
2017-07-31 22:51:34 +02:00
|
|
|
"1y6h1slav5l6k8zyb01dpw65dscdgxxgfa3a0z9qnn7jr66sn70c"))))
|
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
|
2017-07-31 22:51:34 +02:00
|
|
|
`(#:parallel-tests? #f
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'check 'add-missing-LDFLAGS
|
|
|
|
(lambda _
|
|
|
|
;; The two test_upgrade* programs depend on GnuTLS
|
|
|
|
;; directly but lack -lgnutls; add it.
|
|
|
|
(substitute* "src/microhttpd/Makefile"
|
|
|
|
(("^test_upgrade(.*)LDFLAGS = (.*)$" _ first rest)
|
|
|
|
(string-append "test_upgrade" first
|
|
|
|
"LDFLAGS = -lgnutls " rest)))
|
|
|
|
#t)))))
|
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+)
|
2016-11-15 14:25:15 +01:00
|
|
|
(home-page "https://www.gnu.org/software/libmicrohttpd/")))
|
2014-01-29 13:59:11 +01:00
|
|
|
|
|
|
|
(define-public gnurl
|
|
|
|
(package
|
|
|
|
(name "gnurl")
|
2017-08-22 21:09:44 +02:00
|
|
|
(version "7.55.1-3")
|
2014-01-29 13:59:11 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-02-24 16:14:36 +01:00
|
|
|
(uri (string-append "https://gnunet.org/sites/default/files/"
|
|
|
|
name "-" version ".tar.bz2"))
|
2014-01-29 13:59:11 +01:00
|
|
|
(sha256
|
2016-07-04 02:24:58 +02:00
|
|
|
(base32
|
2017-08-22 21:09:44 +02:00
|
|
|
"1p2qdh44hgsxjlzh4d3n51xr66cg2z517vpr818flvcrmpq2vxpq"))))
|
2014-01-29 13:59:11 +01:00
|
|
|
(build-system gnu-build-system)
|
2016-12-23 12:29:33 +01:00
|
|
|
(outputs '("out"
|
|
|
|
"doc")) ; 1.5 MiB of man3 pages
|
2014-01-29 13:59:11 +01:00
|
|
|
(inputs `(("gnutls" ,gnutls)
|
|
|
|
("libidn" ,libidn)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
2016-12-23 12:29:31 +01:00
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("groff" ,groff)
|
2014-02-12 16:15:32 +01:00
|
|
|
("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"
|
2016-08-05 16:44:38 +02:00
|
|
|
"--disable-file" "--disable-ftp" "--disable-smb")
|
2016-09-10 14:19:03 +02:00
|
|
|
#:test-target "test"
|
|
|
|
#:parallel-tests? #f
|
|
|
|
#:phases
|
|
|
|
;; We have to patch runtests.pl in tests/ directory
|
2016-09-11 08:06:02 +02:00
|
|
|
(modify-phases %standard-phases
|
2016-12-23 12:29:33 +01:00
|
|
|
(add-after 'install 'move-man3-pages
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Move section 3 man pages to "doc".
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
(mkdir-p (string-append doc "/share/man"))
|
|
|
|
(rename-file (string-append out "/share/man/man3")
|
|
|
|
(string-append doc "/share/man/man3"))
|
|
|
|
#t)))
|
2016-12-23 12:29:31 +01:00
|
|
|
(add-before 'configure 'autoconf
|
|
|
|
;; Clear artifacts left (shebangs) from release preparation.
|
|
|
|
(lambda _
|
|
|
|
(zero? (system* "./buildconf"))))
|
2016-12-23 12:29:32 +01:00
|
|
|
(replace 'check
|
2016-12-23 12:29:31 +01:00
|
|
|
(lambda _
|
|
|
|
;; It is unclear why test1026 fails, however the content of it
|
|
|
|
;; suggests that it is not vital for gnurl.
|
|
|
|
(delete-file "tests/data/test1026")
|
2016-12-23 12:29:32 +01:00
|
|
|
|
2016-09-11 08:06:02 +02:00
|
|
|
(substitute* "tests/runtests.pl"
|
|
|
|
(("/bin/sh") (which "sh")))
|
2016-12-23 12:29:32 +01:00
|
|
|
|
|
|
|
;; Make test output more verbose.
|
|
|
|
(zero? (system* "make" "-C" "tests" "test"))
|
2016-09-11 08:06:02 +02:00
|
|
|
#t)))))
|
2014-01-29 13:59:11 +01:00
|
|
|
(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
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
with URL syntax. While cURL supports many crypto backends, libgnurl only
|
2016-08-05 16:44:38 +02:00
|
|
|
supports HTTP, HTTPS and GnuTLS.")
|
gnu: Update packages to use 'non-copyleft' instead of 'bsd-style'.
* gnu/packages/avr.scm, gnu/packages/compression.scm,
gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm, gnu/packages/firmware.scm,
gnu/packages/flex.scm, gnu/packages/fontutils.scm,
gnu/packages/gd.scm, gnu/packages/ghostscript.scm,
gnu/packages/gnunet.scm, gnu/packages/graphics.scm,
gnu/packages/hugs.scm, gnu/packages/image.scm,
gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/maths.scm, gnu/packages/mit-krb5.scm,
gnu/packages/python.scm, gnu/packages/rdf.scm,
gnu/packages/ssh.scm, gnu/packages/tcl.scm,
gnu/packages/xdisorg.scm, gnu/packages/xiph.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm: Use 'non-copyleft'
instead of 'bsd-style'.
2015-03-14 19:26:34 +01:00
|
|
|
(license (license:non-copyleft "file://COPYING"
|
|
|
|
"See COPYING in the distribution."))
|
2014-01-29 13:59:11 +01:00
|
|
|
(home-page "https://gnunet.org/gnurl")))
|
2014-01-31 00:33:36 +01:00
|
|
|
|
|
|
|
(define-public gnunet
|
|
|
|
(package
|
|
|
|
(name "gnunet")
|
2015-03-07 00:16:04 +01:00
|
|
|
(version "0.10.1")
|
2014-01-31 00:33:36 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/gnunet/gnunet-" version
|
|
|
|
".tar.gz"))
|
2016-09-16 15:28:01 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"04wxzm3wkgqbn42b8ksr4cx6m5cckyig5cls1adh0nwdczwvnp7n"))))
|
2014-01-31 00:33:36 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2014-02-10 23:44:57 +01:00
|
|
|
`(("glpk" ,glpk)
|
|
|
|
("gnurl" ,gnurl)
|
2016-01-17 15:28:53 +01:00
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
2014-02-10 23:44:57 +01:00
|
|
|
("gnutls" ,gnutls)
|
2014-01-31 00:33:36 +01:00
|
|
|
("libextractor" ,libextractor)
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
("libidn" ,libidn)
|
2016-09-16 15:28:01 +02:00
|
|
|
("libmicrohttpd" ,libmicrohttpd) ; hostlist, pt, contrib, and more
|
2015-01-07 09:44:10 +01:00
|
|
|
("libltdl" ,libltdl)
|
2016-09-16 15:28:01 +02:00
|
|
|
("libunistring" ,libunistring) ; fs and more
|
|
|
|
("openssl" ,openssl) ; transport, certificate creation, contribs
|
|
|
|
("opus" ,opus) ; gnunet-conversation
|
|
|
|
("pulseaudio" ,pulseaudio) ; conversation
|
|
|
|
("sqlite" ,sqlite) ; sqlite bindings, *store
|
|
|
|
("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
|
2014-01-31 00:33:36 +01:00
|
|
|
(native-inputs
|
2016-09-16 15:28:01 +02:00
|
|
|
`(("pkg-config" ,pkg-config)))
|
2014-01-31 00:33:36 +01:00
|
|
|
(arguments
|
2016-02-17 13:52:41 +01:00
|
|
|
'(#:configure-flags
|
|
|
|
(list (string-append "--with-nssdir=" %output "/lib"))
|
|
|
|
#:parallel-tests? #f
|
2015-03-07 00:16:04 +01:00
|
|
|
;; test_gnunet_service_arm fails; reported upstream
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
2016-09-11 08:08:10 +02:00
|
|
|
(modify-phases %standard-phases
|
2014-02-10 23:44:57 +01:00
|
|
|
;; swap check and install phases and set paths to installed binaries
|
2016-09-11 08:08:10 +02:00
|
|
|
(add-before 'check 'set-path-for-check
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(setenv "GNUNET_PREFIX" (string-append out "/lib"))
|
|
|
|
(setenv "PATH" (string-append (getenv "PATH") ":" out "/bin")))
|
|
|
|
#t))
|
|
|
|
(add-after 'install 'check
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(delete 'check))))
|
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
|
2016-07-29 10:13:12 +02:00
|
|
|
"GNUnet is a framework for secure peer-to-peer networking. The
|
|
|
|
high-level goal is to provide a strong foundation of free software for a
|
|
|
|
global, distributed network that provides security and privacy. GNUnet in
|
|
|
|
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
|
|
|
|
kinds of basic applications for the foundation of a GNU internet.")
|
2014-01-31 00:33:36 +01:00
|
|
|
(license license:gpl3+)
|
|
|
|
(home-page "https://gnunet.org/")))
|
2015-11-06 16:07:07 +01:00
|
|
|
|
|
|
|
(define-public guile-gnunet ;GSoC 2015!
|
2016-06-02 13:29:52 +02:00
|
|
|
(let ((commit "383eac2aab175d8d9ea5315c2f1c8a5055c76a52"))
|
2015-11-06 16:07:07 +01:00
|
|
|
(package
|
|
|
|
(name "guile-gnunet")
|
2016-06-02 13:29:52 +02:00
|
|
|
(version (string-append "0.0." (string-take commit 7)))
|
2015-11-06 16:07:07 +01:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
2017-07-23 00:50:29 +02:00
|
|
|
(url "https://git.savannah.gnu.org/git/guix/gnunet.git/")
|
2015-11-06 16:07:07 +01:00
|
|
|
(commit commit)))
|
2015-11-23 10:50:55 +01:00
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-11-06 16:07:07 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0k6mn28isjlxrnvbnblab3nh2xqx1b7san8k98kc35ap9lq0iz8w"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'bootstrap
|
|
|
|
(lambda _
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("autoconf" ,(autoconf-wrapper))
|
|
|
|
("automake" ,automake)))
|
|
|
|
(inputs `(("guile" ,guile-2.0)
|
|
|
|
("gnunet" ,gnunet)))
|
|
|
|
(synopsis "Guile bindings for GNUnet services")
|
|
|
|
(description
|
|
|
|
"This package provides Guile bindings to the client libraries of various
|
|
|
|
GNUnet services, including the @dfn{identity} and @dfn{file sharing}
|
|
|
|
services.")
|
2016-08-27 15:38:36 +02:00
|
|
|
(home-page "https://gnu.org/software/guix")
|
2015-11-06 16:07:07 +01:00
|
|
|
(license license:gpl3+))))
|
2016-01-13 18:36:31 +01:00
|
|
|
|
|
|
|
;; FIXME: "gnunet-setup" segfaults under certain conditions and "gnunet-gtk"
|
|
|
|
;; does not seem to be fully functional. This has been reported upstream:
|
|
|
|
;; http://lists.gnu.org/archive/html/gnunet-developers/2016-02/msg00004.html
|
|
|
|
(define-public gnunet-gtk
|
|
|
|
(package (inherit gnunet)
|
|
|
|
(name "gnunet-gtk")
|
|
|
|
(version (package-version gnunet))
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://gnu/gnunet/gnunet-gtk-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1p38k1s6a2fmcfc9a7cf1zrdycm9h06kqdyand4s3k500nj6mb4g"))))
|
|
|
|
(arguments
|
|
|
|
`(#:configure-flags
|
2016-08-23 01:13:03 +02:00
|
|
|
(list "--with-libunique"
|
2016-07-29 19:45:25 +02:00
|
|
|
"--with-qrencode"
|
|
|
|
(string-append "--with-gnunet="
|
|
|
|
(assoc-ref %build-inputs "gnunet")))))
|
2016-01-13 18:36:31 +01:00
|
|
|
(inputs
|
|
|
|
`(("gnunet" ,gnunet)
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("libextractor" ,libextractor)
|
|
|
|
("glade3" ,glade3)
|
2016-08-23 01:13:03 +02:00
|
|
|
("qrencode" ,qrencode)
|
|
|
|
("libunique" ,libunique)))
|
2016-01-13 18:36:31 +01:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("libglade" ,libglade)))
|
|
|
|
(synopsis "Graphical front-end tools for GNUnet")))
|