Commit | Line | Data |
---|---|---|
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) |
eb4b2ab6 AE |
23 | #:use-module ((gnu packages gettext) |
24 | #:renamer (symbol-prefix-proc 'gnu:)) | |
25 | #:use-module (gnu packages glib) | |
88065ec2 AE |
26 | #:use-module (gnu packages gnupg) |
27 | #:use-module (gnu packages gnutls) | |
eb4b2ab6 AE |
28 | #:use-module (gnu packages libjpeg) |
29 | #:use-module (gnu packages libtiff) | |
30 | #:use-module (gnu packages oggvorbis) | |
88065ec2 | 31 | #:use-module (gnu packages openssl) |
eb4b2ab6 AE |
32 | #:use-module (gnu packages pkg-config) |
33 | #:use-module ((guix licenses) | |
34 | #:renamer (symbol-prefix-proc 'license:)) | |
35 | #:use-module (guix packages) | |
36 | #:use-module (guix download) | |
37 | #:use-module (guix build-system gnu)) | |
38 | ||
39 | (define-public libextractor | |
40 | (package | |
41 | (name "libextractor") | |
42 | (version "1.1") | |
43 | (source (origin | |
44 | (method url-fetch) | |
45 | (uri (string-append "mirror://gnu/libextractor/libextractor-" | |
46 | version ".tar.gz")) | |
47 | (sha256 | |
48 | (base32 | |
49 | "1zvj64ig456c9ya3r8ib48ms42cnli9y7ig5p04xqm16z7vw5dyb")))) | |
50 | (build-system gnu-build-system) | |
51 | ;; WARNING: Checks require /dev/shm to be in the build chroot, especially | |
52 | ;; not to be a symbolic link to /run/shm. | |
53 | ;; FIXME: | |
54 | ;; The following dependencies are all optional, but should be | |
55 | ;; available for maximum coverage: | |
56 | ;; * libarchive | |
57 | ;; * libavutil / libavformat / libavcodec / libswscale (ffmpeg) | |
58 | ;; * libexiv2 | |
59 | ;; * libgif (giflib) | |
60 | ;; * libgtk+ >= 3.0.0 (may probably drop glib then as a propagated input of | |
61 | ;; gtk) | |
62 | ;; * libgsf | |
63 | ;; * libgstreamer | |
64 | ;; * libmagic (file) | |
65 | ;; * libmpeg2 | |
66 | ;; * libmp4v2 | |
67 | ;; * librpm | |
68 | ;; * libsmf | |
69 | ;; * libtidy | |
70 | (inputs | |
71 | `(("gettext" ,gnu:gettext) | |
72 | ("flac" ,flac) | |
73 | ("glib" ,glib) | |
74 | ("libjpeg" ,libjpeg) | |
75 | ("libogg" ,libogg) | |
76 | ("libtiff" ,libtiff) | |
77 | ("libtool" ,libtool) | |
78 | ("libvorbis" ,libvorbis) | |
79 | ("pkg-config" ,pkg-config) | |
80 | ("zlib" ,zlib))) | |
81 | (synopsis "Library to extract meta-data from media files") | |
82 | (description | |
a22dc0c4 LC |
83 | "GNU Libextractor is a library for extracting metadata from files. It |
84 | supports a very large number of file formats, including audio files, document | |
85 | files, and archive files. Each file format is implemented as a plugin, so | |
86 | new formats can be added easily. The package also containes a command-line | |
87 | tool to extract metadata from a file and print the results.") | |
eb4b2ab6 AE |
88 | (license license:gpl3+) |
89 | (home-page "http://www.gnu.org/software/libextractor/"))) | |
88065ec2 AE |
90 | |
91 | (define-public libmicrohttpd | |
92 | (package | |
93 | (name "libmicrohttpd") | |
7dac2f2e | 94 | (version "0.9.30") |
88065ec2 AE |
95 | (source (origin |
96 | (method url-fetch) | |
97 | (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-" | |
98 | version ".tar.gz")) | |
99 | (sha256 | |
100 | (base32 | |
7dac2f2e | 101 | "0v30w90qx8wpg5ksy97f5r4acpwd4q7q2v508mcss00vzj18rx40")))) |
88065ec2 AE |
102 | (build-system gnu-build-system) |
103 | (inputs | |
104 | `(("curl" ,curl) | |
105 | ("gnutls" ,gnutls) | |
106 | ("libgcrypt" ,libgcrypt) | |
107 | ("openssl" ,openssl) | |
108 | ("zlib" ,zlib))) | |
109 | (synopsis "C library implementing an HTTP 1.1 server") | |
110 | (description | |
a22dc0c4 LC |
111 | "Libmicrohttpd is a small, embeddable HTTP server implemented as a C |
112 | library. It makes it easy to run an HTTP server as part of another | |
113 | application. The library is fully HTTP 1.1 compliant. It can listen on | |
114 | multiple ports, supports four different threading models, and supports IPv6. | |
115 | It also features security features such as basic and digest authentication | |
116 | and support for SSL3 and TLS.") | |
88065ec2 AE |
117 | (license license:lgpl2.1+) |
118 | (home-page "http://www.gnu.org/software/libmicrohttpd/"))) |