gnu: Move numerous "inputs" which should be "native-inputs".
[jackhill/guix/guix.git] / gnu / packages / gnunet.scm
CommitLineData
eb4b2ab6
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages gnunet)
20 #:use-module (gnu packages autotools)
21 #:use-module (gnu packages compression)
88065ec2 22 #:use-module (gnu packages curl)
2e838890 23 #:use-module (gnu packages geeqie)
1dba6407 24 #:use-module (gnu packages gettext)
eb4b2ab6 25 #:use-module (gnu packages glib)
88065ec2
AE
26 #:use-module (gnu packages gnupg)
27 #:use-module (gnu packages gnutls)
248c0645 28 #:use-module (gnu packages gstreamer)
eb4b2ab6
AE
29 #:use-module (gnu packages libjpeg)
30 #:use-module (gnu packages libtiff)
31 #:use-module (gnu packages oggvorbis)
88065ec2 32 #:use-module (gnu packages openssl)
eb4b2ab6 33 #:use-module (gnu packages pkg-config)
248c0645 34 #:use-module (gnu packages video)
eb4b2ab6
AE
35 #:use-module ((guix licenses)
36 #:renamer (symbol-prefix-proc 'license:))
37 #:use-module (guix packages)
38 #:use-module (guix download)
39 #:use-module (guix build-system gnu))
40
41(define-public libextractor
42 (package
43 (name "libextractor")
1635658d 44 (version "1.2")
eb4b2ab6
AE
45 (source (origin
46 (method url-fetch)
47 (uri (string-append "mirror://gnu/libextractor/libextractor-"
48 version ".tar.gz"))
49 (sha256
50 (base32
1635658d 51 "1n7z6s5ils6xmf6b0z1xda41maxj94c1n6wlyyxmacs5lrkh2a96"))))
eb4b2ab6
AE
52 (build-system gnu-build-system)
53 ;; WARNING: Checks require /dev/shm to be in the build chroot, especially
54 ;; not to be a symbolic link to /run/shm.
55 ;; FIXME:
56 ;; The following dependencies are all optional, but should be
57 ;; available for maximum coverage:
58 ;; * libarchive
eb4b2ab6
AE
59 ;; * libgif (giflib)
60 ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of
61 ;; gtk)
62 ;; * libgsf
eb4b2ab6
AE
63 ;; * libmagic (file)
64 ;; * libmpeg2
65 ;; * libmp4v2
66 ;; * librpm
67 ;; * libsmf
68 ;; * libtidy
69 (inputs
2e838890 70 `(("exiv2" ,exiv2)
eb4b2ab6 71 ("flac" ,flac)
248c0645 72 ("ffmpeg" ,ffmpeg)
53c85e97 73 ("gettext" ,gnu-gettext)
eb4b2ab6 74 ("glib" ,glib)
248c0645
AE
75 ("gstreamer" ,gstreamer)
76 ("gst-plugins-base" ,gst-plugins-base)
eb4b2ab6
AE
77 ("libjpeg" ,libjpeg)
78 ("libogg" ,libogg)
79 ("libtiff" ,libtiff)
80 ("libtool" ,libtool)
81 ("libvorbis" ,libvorbis)
eb4b2ab6 82 ("zlib" ,zlib)))
c4c4cc05
JD
83 (native-inputs
84 `(("pkg-config" ,pkg-config)))
eb4b2ab6
AE
85 (synopsis "Library to extract meta-data from media files")
86 (description
79c311b8 87 "GNU libextractor is a library for extracting metadata from files. It
a22dc0c4
LC
88supports a very large number of file formats, including audio files, document
89files, and archive files. Each file format is implemented as a plugin, so
79c311b8 90new formats can be added easily. The package also contains a command-line
a22dc0c4 91tool to extract metadata from a file and print the results.")
eb4b2ab6
AE
92 (license license:gpl3+)
93 (home-page "http://www.gnu.org/software/libextractor/")))
88065ec2
AE
94
95(define-public libmicrohttpd
96 (package
97 (name "libmicrohttpd")
703d18e2 98 (version "0.9.32")
88065ec2
AE
99 (source (origin
100 (method url-fetch)
101 (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
102 version ".tar.gz"))
103 (sha256
104 (base32
703d18e2 105 "176qf3xhpq1wa3fd9h8b6996bjf83yna1b30lhb6ccrv67hvhm75"))))
88065ec2
AE
106 (build-system gnu-build-system)
107 (inputs
108 `(("curl" ,curl)
109 ("gnutls" ,gnutls)
110 ("libgcrypt" ,libgcrypt)
111 ("openssl" ,openssl)
112 ("zlib" ,zlib)))
dce17227
AE
113 (arguments
114 `(#:parallel-tests? #f))
88065ec2
AE
115 (synopsis "C library implementing an HTTP 1.1 server")
116 (description
dce17227
AE
117 "GNU libmicrohttpd is a small, embeddable HTTP server implemented as a
118C library. It makes it easy to run an HTTP server as part of another
a22dc0c4 119application. The library is fully HTTP 1.1 compliant. It can listen on
dce17227
AE
120multiple ports, supports four different threading models, and supports
121IPv6. It
122also features security features such as basic and digest authentication
a22dc0c4 123and support for SSL3 and TLS.")
88065ec2
AE
124 (license license:lgpl2.1+)
125 (home-page "http://www.gnu.org/software/libmicrohttpd/")))