diff options
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/apr/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/assimp/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/c-ares/default.nix | 10 | ||||
-rw-r--r-- | pkgs/development/libraries/fcgi/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/fox/fox-1.6.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/giflib/5.0.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/giflib/5.1.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/isl/0.14.1.nix | 22 | ||||
-rw-r--r-- | pkgs/development/libraries/jansson/default.nix | 6 | ||||
-rw-r--r-- | pkgs/development/libraries/lame/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/libtomcrypt/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/nghttp2/default.nix | 72 | ||||
-rw-r--r-- | pkgs/development/libraries/npapi-sdk/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/physics/geant4/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/physics/geant4/g4py/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/qmltermwidget/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/urt/default.nix | 2 |
17 files changed, 117 insertions, 23 deletions
diff --git a/pkgs/development/libraries/apr/default.nix b/pkgs/development/libraries/apr/default.nix index 3810a47fac3f..08fd1fe4d5f3 100644 --- a/pkgs/development/libraries/apr/default.nix +++ b/pkgs/development/libraries/apr/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "apr-1.5.1"; + name = "apr-1.5.2"; src = fetchurl { url = "mirror://apache/apr/${name}.tar.bz2"; - sha256 = "1b4qw686bwjn19iyb0lg918q23xxd6s2gnyczhjq992d3m1vwjp9"; + sha256 = "0ypn51xblix5ys9xy7da3ngdydip0qqh9rdq8nz54w9aq8lys0vx"; }; patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ]; diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix index 229db910ffd2..70447d9f8853 100644 --- a/pkgs/development/libraries/assimp/default.nix +++ b/pkgs/development/libraries/assimp/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation { buildInputs = [ unzip cmake boost ]; meta = with stdenv.lib; { - description = "Open Asset Import Library is a library to import various 3D model formats"; + description = "A library to import various 3D model formats"; homepage = http://assimp.sourceforge.net/; license = licenses.bsd3; maintainers = with maintainers; [ emery ]; diff --git a/pkgs/development/libraries/c-ares/default.nix b/pkgs/development/libraries/c-ares/default.nix index 58e7c17f2495..678c7e151122 100644 --- a/pkgs/development/libraries/c-ares/default.nix +++ b/pkgs/development/libraries/c-ares/default.nix @@ -8,13 +8,11 @@ stdenv.mkDerivation rec { sha256 = "1nyka87yf2jfd0y6sspll0yxwb8zi7kyvajrdbjmh4axc5s1cw1x"; }; - meta = { + meta = with stdenv.lib; { description = "A C library for asynchronous DNS requests"; - homepage = http://c-ares.haxx.se; - - license = stdenv.lib.licenses.mit; - - maintainers = [ stdenv.lib.maintainers.shlevy ]; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ shlevy ]; }; } diff --git a/pkgs/development/libraries/fcgi/default.nix b/pkgs/development/libraries/fcgi/default.nix index f75c21170840..6808ea52adff 100644 --- a/pkgs/development/libraries/fcgi/default.nix +++ b/pkgs/development/libraries/fcgi/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { postInstall = "ln -s . $out/include/fastcgi"; meta = with stdenv.lib; { - description = "FastCGI is a language independent, scalable, open extension to CG"; + description = "A language independent, scalable, open extension to CG"; homepage = http://www.fastcgi.com/; license = "FastCGI see LICENSE.TERMS"; platforms = platforms.all; diff --git a/pkgs/development/libraries/fox/fox-1.6.nix b/pkgs/development/libraries/fox/fox-1.6.nix index 604fe3c2fdf0..e966388b2ad9 100644 --- a/pkgs/development/libraries/fox/fox-1.6.nix +++ b/pkgs/development/libraries/fox/fox-1.6.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { meta = { branch = "1.6"; - description = "FOX is a C++ based class library for building Graphical User Interfaces"; + description = "A C++ based class library for building Graphical User Interfaces"; longDescription = '' FOX stands for Free Objects for X. It is a C++ based class library for building Graphical User Interfaces. diff --git a/pkgs/development/libraries/giflib/5.0.nix b/pkgs/development/libraries/giflib/5.0.nix index 49e3fc40ba66..95038284cd60 100644 --- a/pkgs/development/libraries/giflib/5.0.nix +++ b/pkgs/development/libraries/giflib/5.0.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation { buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ]; meta = { - description = "giflib is a library for reading and writing gif images"; + description = "A library for reading and writing gif images"; platforms = stdenv.lib.platforms.unix; license = stdenv.lib.licenses.mit; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; diff --git a/pkgs/development/libraries/giflib/5.1.nix b/pkgs/development/libraries/giflib/5.1.nix index dcd52fc93f46..0bccb857d350 100644 --- a/pkgs/development/libraries/giflib/5.1.nix +++ b/pkgs/development/libraries/giflib/5.1.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation { buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ]; meta = { - description = "giflib is a library for reading and writing gif images"; + description = "A library for reading and writing gif images"; platforms = stdenv.lib.platforms.unix; license = stdenv.lib.licenses.mit; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; diff --git a/pkgs/development/libraries/isl/0.14.1.nix b/pkgs/development/libraries/isl/0.14.1.nix new file mode 100644 index 000000000000..dc13bbae9892 --- /dev/null +++ b/pkgs/development/libraries/isl/0.14.1.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, gmp }: + +stdenv.mkDerivation rec { + name = "isl-0.14.1"; + + src = fetchurl { + url = "http://isl.gforge.inria.fr/${name}.tar.xz"; + sha256 = "0xa6xagah5rywkywn19rzvbvhfvkmylhcxr6z9z7bz29cpiwk0l8"; + }; + + buildInputs = [ gmp ]; + + enableParallelBuilding = true; + + meta = { + homepage = http://www.kotnet.org/~skimo/isl/; + license = stdenv.lib.licenses.lgpl21; + description = "A library for manipulating sets and relations of integer points bounded by linear constraints"; + maintainers = [ stdenv.lib.maintainers.shlevy ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/development/libraries/jansson/default.nix b/pkgs/development/libraries/jansson/default.nix index 7b78c39924fd..f0f9cc65cb2b 100644 --- a/pkgs/development/libraries/jansson/default.nix +++ b/pkgs/development/libraries/jansson/default.nix @@ -8,9 +8,11 @@ stdenv.mkDerivation rec { sha256 = "1mvq9p85khsl818i4vbszyfab0fd45mdrwrxjkzw05mk1xcyc1br"; }; - meta = { + meta = with stdenv.lib; { homepage = "http://www.digip.org/jansson/"; description = "C library for encoding, decoding and manipulating JSON data"; - license = stdenv.lib.licenses.mit; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ wkennington ]; }; } diff --git a/pkgs/development/libraries/lame/default.nix b/pkgs/development/libraries/lame/default.nix index abf05f4c1385..562e292791ab 100644 --- a/pkgs/development/libraries/lame/default.nix +++ b/pkgs/development/libraries/lame/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { ]; meta = { - description = "LAME is a high quality MPEG Audio Layer III (MP3) encoder"; + description = "A high quality MPEG Audio Layer III (MP3) encoder"; homepage = http://lame.sourceforge.net; license = licenses.lgpl2; maintainers = with maintainers; [ codyopel ]; diff --git a/pkgs/development/libraries/libtomcrypt/default.nix b/pkgs/development/libraries/libtomcrypt/default.nix index 4a3196e44b88..e960f5ef57f3 100644 --- a/pkgs/development/libraries/libtomcrypt/default.nix +++ b/pkgs/development/libraries/libtomcrypt/default.nix @@ -21,6 +21,6 @@ stdenv.mkDerivation { meta = { homepage = "http://libtom.org/?page=features&newsitems=5&whatfile=crypt"; - description = "LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit"; + description = "A fairly comprehensive, modular and portable cryptographic toolkit"; }; } diff --git a/pkgs/development/libraries/nghttp2/default.nix b/pkgs/development/libraries/nghttp2/default.nix new file mode 100644 index 000000000000..b72abb57e8f2 --- /dev/null +++ b/pkgs/development/libraries/nghttp2/default.nix @@ -0,0 +1,72 @@ +{ stdenv, fetchurl, pkgconfig + +# Optinal Dependencies +, openssl ? null, libev ? null, zlib ? null, jansson ? null, boost ? null +, libxml2 ? null, jemalloc ? null + +# Extra argument +, prefix ? "" +}: + +let + mkFlag = trueStr: falseStr: cond: name: val: + if cond == null then null else + "--${if cond != false then trueStr else falseStr}${name}${if val != null && cond != false then "=${val}" else ""}"; + mkEnable = mkFlag "enable-" "disable-"; + mkWith = mkFlag "with-" "without-"; + mkOther = mkFlag "" "" true; + + shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (x: x == stdenv.system) pkg.meta.platforms then pkg else null; + + isLib = prefix == "lib"; + + optOpenssl = if isLib then null else shouldUsePkg openssl; + optLibev = if isLib then null else shouldUsePkg libev; + optZlib = if isLib then null else shouldUsePkg zlib; + + hasApp = optOpenssl != null && optLibev != null && optZlib != null; + + optJansson = if isLib then null else shouldUsePkg jansson; + #optBoost = if isLib then null else shouldUsePkg boost; + optBoost = null; # Currently detection is broken + optLibxml2 = if !hasApp then null else shouldUsePkg libxml2; + optJemalloc = if !hasApp then null else shouldUsePkg jemalloc; +in +stdenv.mkDerivation rec { + name = "${prefix}nghttp2-${version}"; + version = "0.7.13"; + + # Don't use fetchFromGitHub since this needs a bootstrap curl + src = fetchurl { + url = "http://pub.wak.io/nixos/tarballs/nghttp2-0.7.13.tar.xz"; + sha256 = "1nz14hmfhsxljmf7f3763q9kpn9prfdivrvdr7c74x72s75bzwli"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ optJansson optBoost optLibxml2 optJemalloc ] + ++ stdenv.lib.optionals hasApp [ optOpenssl optLibev optZlib ]; + + configureFlags = [ + (mkEnable false "werror" null) + (mkEnable false "debug" null) + (mkEnable true "threads" null) + (mkEnable hasApp "app" null) + (mkEnable (optJansson != null) "hpack-tools" null) + (mkEnable (optBoost != null) "asio-lib" null) + (mkEnable false "examples" null) + (mkEnable false "python-bindings" null) + (mkEnable false "failmalloc" null) + (mkWith (optLibxml2 != null) "libxml2" null) + (mkWith (optJemalloc != null) "jemalloc" null) + (mkWith false "spdylay" null) + (mkWith false "cython" null) + ]; + + meta = with stdenv.lib; { + homepage = http://nghttp2.org/; + description = "an implementation of HTTP/2 in C"; + license = licenses.mit; + platforms = platforms.all; + maintainers = with maintainers; [ wkennington ]; + }; +} diff --git a/pkgs/development/libraries/npapi-sdk/default.nix b/pkgs/development/libraries/npapi-sdk/default.nix index 57b1b3af2d1c..c2799d039cc1 100644 --- a/pkgs/development/libraries/npapi-sdk/default.nix +++ b/pkgs/development/libraries/npapi-sdk/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; meta = with stdenv.lib; { - description = "NPAPI-SDK is a bundle of NPAPI headers by Mozilla"; + description = "A bundle of NPAPI headers by Mozilla"; homepage = https://code.google.com/p/npapi-sdk/; license = licenses.bsd3; diff --git a/pkgs/development/libraries/physics/geant4/default.nix b/pkgs/development/libraries/physics/geant4/default.nix index 1e1fc7ea3b8f..872576d9fb02 100644 --- a/pkgs/development/libraries/physics/geant4/default.nix +++ b/pkgs/development/libraries/physics/geant4/default.nix @@ -92,7 +92,7 @@ let ''; meta = { - description = "A toolkit for the simulation of the passage of particles through matter."; + description = "A toolkit for the simulation of the passage of particles through matter"; longDescription = '' Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. @@ -129,7 +129,7 @@ let ''; meta = { - description = "Data files for the Geant4 toolkit."; + description = "Data files for the Geant4 toolkit"; homepage = http://www.geant4.org; license = stdenv.lib.licenses.g4sl; maintainers = [ ]; diff --git a/pkgs/development/libraries/physics/geant4/g4py/default.nix b/pkgs/development/libraries/physics/geant4/g4py/default.nix index f90b2e6c4aee..e023b1220910 100644 --- a/pkgs/development/libraries/physics/geant4/g4py/default.nix +++ b/pkgs/development/libraries/physics/geant4/g4py/default.nix @@ -45,7 +45,7 @@ let ''; meta = { - description = "Python bindings and utilities for Geant4."; + description = "Python bindings and utilities for Geant4"; longDescription = '' Geant4 is a toolkit for the simulation of the passage of particles through matter. Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science. diff --git a/pkgs/development/libraries/qmltermwidget/default.nix b/pkgs/development/libraries/qmltermwidget/default.nix index a1be2afcd6ce..32d9bd0a8e5f 100644 --- a/pkgs/development/libraries/qmltermwidget/default.nix +++ b/pkgs/development/libraries/qmltermwidget/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = { - description = "This project is a QML port of qtermwidget"; + description = "A QML port of qtermwidget"; homepage = "https://github.com/Swordifish90/qmltermwidget"; license = with stdenv.lib.licenses; [ gpl2 ]; platforms = stdenv.lib.platforms.linux; diff --git a/pkgs/development/libraries/urt/default.nix b/pkgs/development/libraries/urt/default.nix index 8570af2b2834..090ca28d7c45 100644 --- a/pkgs/development/libraries/urt/default.nix +++ b/pkgs/development/libraries/urt/default.nix @@ -56,6 +56,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.cs.utah.edu/gdc/projects/urt/; - description = "The Utah Raster Toolkit is a library for dealing with raster images"; + description = "A library for dealing with raster images"; }; } \ No newline at end of file |