You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

122 lines
4.4 KiB

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