diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-08-07 11:35:13 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-08-07 11:35:28 +0200 |
commit | 03e32315a533775357411d9b751622ad3a6d3892 (patch) | |
tree | 7de78b207e3863f7e0e373baec971c0b2c3bd7c3 /pkgs/development/libraries | |
parent | 3659e44f986bc6ea003246575f5ea821bb97b173 (diff) | |
parent | f7f8de64f49b14979efd2f6519f297dc5341d908 (diff) | |
download | nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar.gz nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar.bz2 nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar.lz nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar.xz nixlib-03e32315a533775357411d9b751622ad3a6d3892.tar.zst nixlib-03e32315a533775357411d9b751622ad3a6d3892.zip |
Merge branch 'master' into staging
Hydra nixpkgs: ?compare=1286624
Diffstat (limited to 'pkgs/development/libraries')
365 files changed, 676 insertions, 158 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix index 66913fc01597..23a0924ad3bf 100644 --- a/pkgs/development/libraries/SDL2_gfx/default.nix +++ b/pkgs/development/libraries/SDL2_gfx/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchsvn, SDL2} : +{stdenv, fetchsvn, SDL2}: let rev = 5; in stdenv.mkDerivation rec { @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { postInstall = '' sed -i -e 's,"SDL.h",<SDL2/SDL.h>,' \ $out/include/SDL2/*.h - + ln -s $out/include/SDL2/SDL2_framerate.h $out/include/SDL2/SDL_framerate.h; ln -s $out/include/SDL2/SDL2_gfxPrimitives.h $out/include/SDL2/SDL_gfxPrimitives.h; ln -s $out/include/SDL2/SDL2_rotozoom.h $out/include/SDL2/SDL_rotozoom.h; @@ -27,28 +27,28 @@ stdenv.mkDerivation rec { meta = { description = "SDL graphics drawing primitives and support functions"; - longDescription = - '' The SDL_gfx library evolved out of the SDL_gfxPrimitives code - which provided basic drawing routines such as lines, circles or - polygons and SDL_rotozoom which implemented a interpolating - rotozoomer for SDL surfaces. + longDescription = '' + The SDL_gfx library evolved out of the SDL_gfxPrimitives code + which provided basic drawing routines such as lines, circles or + polygons and SDL_rotozoom which implemented a interpolating + rotozoomer for SDL surfaces. - The current components of the SDL_gfx library are: + The current components of the SDL_gfx library are: - * Graphic Primitives (SDL_gfxPrimitves.h) - * Rotozoomer (SDL_rotozoom.h) - * Framerate control (SDL_framerate.h) - * MMX image filters (SDL_imageFilter.h) - * Custom Blit functions (SDL_gfxBlitFunc.h) + * Graphic Primitives (SDL_gfxPrimitves.h) + * Rotozoomer (SDL_rotozoom.h) + * Framerate control (SDL_framerate.h) + * MMX image filters (SDL_imageFilter.h) + * Custom Blit functions (SDL_gfxBlitFunc.h) - The library is backwards compatible to the above mentioned - code. Its is written in plain C and can be used in C++ code. - ''; + The library is backwards compatible to the above mentioned + code. Its is written in plain C and can be used in C++ code. + ''; homepage = https://sourceforge.net/projects/sdlgfx/; license = stdenv.lib.licenses.lgpl2Plus; maintainers = [ stdenv.lib.maintainers.bjg ]; - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/SDL2_image/default.nix b/pkgs/development/libraries/SDL2_image/default.nix index eab9b1fb55d0..7253fc7b4daf 100644 --- a/pkgs/development/libraries/SDL2_image/default.nix +++ b/pkgs/development/libraries/SDL2_image/default.nix @@ -22,6 +22,6 @@ stdenv.mkDerivation rec { meta = { description = "SDL image library"; homepage = "http://www.libsdl.org/projects/SDL_image/"; - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/SDL2_mixer/default.nix b/pkgs/development/libraries/SDL2_mixer/default.nix index dcfa130de3a4..1a7ce841d0c2 100644 --- a/pkgs/development/libraries/SDL2_mixer/default.nix +++ b/pkgs/development/libraries/SDL2_mixer/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { meta = { description = "SDL multi-channel audio mixer library"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/SDL2_net/default.nix b/pkgs/development/libraries/SDL2_net/default.nix index e41546512e94..6f0965778197 100644 --- a/pkgs/development/libraries/SDL2_net/default.nix +++ b/pkgs/development/libraries/SDL2_net/default.nix @@ -17,6 +17,6 @@ stdenv.mkDerivation rec { homepage = https://www.libsdl.org/projects/SDL_net; license = licenses.zlib; maintainers = [ maintainers.MP2E ]; - platforms = platforms.all; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/SDL2_ttf/default.nix b/pkgs/development/libraries/SDL2_ttf/default.nix index 8d11689aba54..84944c0aa668 100644 --- a/pkgs/development/libraries/SDL2_ttf/default.nix +++ b/pkgs/development/libraries/SDL2_ttf/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { meta = { description = "SDL TrueType library"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/SDL_net/default.nix b/pkgs/development/libraries/SDL_net/default.nix index 6def7a92efc7..045ad8925d90 100644 --- a/pkgs/development/libraries/SDL_net/default.nix +++ b/pkgs/development/libraries/SDL_net/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { meta = { description = "SDL networking library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix index 624faacde4f2..5ca64730f517 100644 --- a/pkgs/development/libraries/SDL_sound/default.nix +++ b/pkgs/development/libraries/SDL_sound/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { meta = { description = "SDL sound library"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/Xaw3d/default.nix b/pkgs/development/libraries/Xaw3d/default.nix index 6084e7074fe4..ca225b3381b2 100644 --- a/pkgs/development/libraries/Xaw3d/default.nix +++ b/pkgs/development/libraries/Xaw3d/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation { meta = { description = "3D widget set based on the Athena Widget set"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/a52dec/default.nix b/pkgs/development/libraries/a52dec/default.nix index 7d5c5fab3934..5c7cd9fddc62 100644 --- a/pkgs/development/libraries/a52dec/default.nix +++ b/pkgs/development/libraries/a52dec/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { meta = { description = "ATSC A/52 stream decoder"; homepage = http://liba52.sourceforge.net/; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/aacskeys/default.nix b/pkgs/development/libraries/aacskeys/default.nix index 0b20d8a41ea1..b90db614e4a1 100644 --- a/pkgs/development/libraries/aacskeys/default.nix +++ b/pkgs/development/libraries/aacskeys/default.nix @@ -41,5 +41,6 @@ stdenv.mkDerivation { meta = { homepage = http://forum.doom9.org/showthread.php?t=123311; description = "A library and program to retrieve decryption keys for HD discs"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/aalib/default.nix b/pkgs/development/libraries/aalib/default.nix index a6cdf9eb8605..0d6986727210 100644 --- a/pkgs/development/libraries/aalib/default.nix +++ b/pkgs/development/libraries/aalib/default.nix @@ -35,5 +35,6 @@ stdenv.mkDerivation { meta = { description = "ASCII art graphics library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix index a16a0ef8cf5b..4f74c5fca355 100644 --- a/pkgs/development/libraries/accounts-qt/default.nix +++ b/pkgs/development/libraries/accounts-qt/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { homepage = "http://code.google.com/p/accounts-sso/"; license = licenses.lgpl21; maintainers = with maintainers; [ nckx ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/accountsservice/default.nix b/pkgs/development/libraries/accountsservice/default.nix index 3ba91ccaa1a8..83e3a0b2c590 100644 --- a/pkgs/development/libraries/accountsservice/default.nix +++ b/pkgs/development/libraries/accountsservice/default.nix @@ -30,5 +30,6 @@ stdenv.mkDerivation rec { homepage = http://www.freedesktop.org/wiki/Software/AccountsService; license = licenses.gpl3; maintainers = with maintainers; [ pSub ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/agg/default.nix b/pkgs/development/libraries/agg/default.nix index 48e96aeea26c..549310931f9e 100644 --- a/pkgs/development/libraries/agg/default.nix +++ b/pkgs/development/libraries/agg/default.nix @@ -32,5 +32,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; homepage = http://www.antigrain.com/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/apache-activemq/default.nix b/pkgs/development/libraries/apache-activemq/default.nix index 0e3a1ccd3c48..04938868d108 100644 --- a/pkgs/development/libraries/apache-activemq/default.nix +++ b/pkgs/development/libraries/apache-activemq/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { homepage = http://activemq.apache.org/; description = "Messaging and Integration Patterns server written in Java"; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/apr-util/default.nix b/pkgs/development/libraries/apr-util/default.nix index 8df7be4a7d1a..b0d75d37e08f 100644 --- a/pkgs/development/libraries/apr-util/default.nix +++ b/pkgs/development/libraries/apr-util/default.nix @@ -61,5 +61,6 @@ stdenv.mkDerivation rec { homepage = http://apr.apache.org/; description = "A companion library to APR, the Apache Portable Runtime"; maintainers = [ stdenv.lib.maintainers.eelco ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/asio/default.nix b/pkgs/development/libraries/asio/default.nix index b996069466be..76ef5ff1d98e 100644 --- a/pkgs/development/libraries/asio/default.nix +++ b/pkgs/development/libraries/asio/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { homepage = http://asio.sourceforge.net/; description = "Cross-platform C++ library for network and low-level I/O programming"; license = stdenv.lib.licenses.boost; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix index ef75ad3fe871..5fbc45a7c08b 100644 --- a/pkgs/development/libraries/assimp/default.nix +++ b/pkgs/development/libraries/assimp/default.nix @@ -20,7 +20,6 @@ stdenv.mkDerivation { homepage = http://assimp.sourceforge.net/; license = licenses.bsd3; maintainers = with maintainers; [ ehmry ]; - platfroms = [ platforms.linux platforms.darwin ]; - inherit version; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/atkmm/default.nix b/pkgs/development/libraries/atkmm/default.nix index 86cde42dfa1a..a10d730d06e4 100644 --- a/pkgs/development/libraries/atkmm/default.nix +++ b/pkgs/development/libraries/atkmm/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { description = "C++ wrappers for ATK accessibility toolkit"; license = stdenv.lib.licenses.lgpl21Plus; homepage = http://gtkmm.org; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/audio/libbs2b/default.nix b/pkgs/development/libraries/audio/libbs2b/default.nix index e43a5acb6bdb..d81bceffffbc 100644 --- a/pkgs/development/libraries/audio/libbs2b/default.nix +++ b/pkgs/development/libraries/audio/libbs2b/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { homepage = "http://bs2b.sourceforge.net/"; description = "Bauer stereophonic-to-binaural DSP library"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/babl/default.nix b/pkgs/development/libraries/babl/default.nix index f5de02e22bb6..02b1af5ab521 100644 --- a/pkgs/development/libraries/babl/default.nix +++ b/pkgs/development/libraries/babl/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { description = "Image pixel format conversion library"; homepage = http://gegl.org/babl/; license = stdenv.lib.licenses.gpl3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/beecrypt/default.nix b/pkgs/development/libraries/beecrypt/default.nix index d90dae2dee0a..a48de9a03f21 100644 --- a/pkgs/development/libraries/beecrypt/default.nix +++ b/pkgs/development/libraries/beecrypt/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { }; buildInputs = [m4]; configureFlags = "--disable-optimized --enable-static"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/biblesync/default.nix b/pkgs/development/libraries/biblesync/default.nix index d7b82764fc06..9cf4bb22e58d 100644 --- a/pkgs/development/libraries/biblesync/default.nix +++ b/pkgs/development/libraries/biblesync/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec{ ''; license = licenses.publicDomain; maintainers = [ maintainers.AndersonTorres ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/breakpad/default.nix b/pkgs/development/libraries/breakpad/default.nix index 9ae4f89bfc3e..7f3117fac424 100644 --- a/pkgs/development/libraries/breakpad/default.nix +++ b/pkgs/development/libraries/breakpad/default.nix @@ -21,4 +21,8 @@ stdenv.mkDerivation { cp -r $breakpad_lss src/third_party/lss chmod +w -R src/third_party/lss ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/bullet/bullet283.nix b/pkgs/development/libraries/bullet/bullet283.nix index ea792b98a328..36790dbe3a2b 100644 --- a/pkgs/development/libraries/bullet/bullet283.nix +++ b/pkgs/development/libraries/bullet/bullet283.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/bulletphysics/bullet3; license = stdenv.lib.licenses.zlib; maintainers = with stdenv.lib.maintainers; [ aforemny ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/bullet/default.nix b/pkgs/development/libraries/bullet/default.nix index 541115b1ff16..37b403548c9d 100644 --- a/pkgs/development/libraries/bullet/default.nix +++ b/pkgs/development/libraries/bullet/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = http://code.google.com/p/bullet/; license = stdenv.lib.licenses.zlib; maintainers = with stdenv.lib.maintainers; [ aforemny ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/bwidget/default.nix b/pkgs/development/libraries/bwidget/default.nix index 72b60391f4fd..a3233c03712d 100644 --- a/pkgs/development/libraries/bwidget/default.nix +++ b/pkgs/development/libraries/bwidget/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = "http://tcl.activestate.com/software/tcllib/"; description = "High-level widget set for Tcl/Tk"; license = stdenv.lib.licenses.tcltk; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/cairomm/default.nix b/pkgs/development/libraries/cairomm/default.nix index 67ae3b08ed83..9953f283924e 100644 --- a/pkgs/development/libraries/cairomm/default.nix +++ b/pkgs/development/libraries/cairomm/default.nix @@ -35,5 +35,6 @@ stdenv.mkDerivation rec { homepage = http://cairographics.org/; license = with licenses; [ lgpl2Plus mpl10 ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/catch/default.nix b/pkgs/development/libraries/catch/default.nix index 3ab520fd4a6b..090d03a1d14d 100644 --- a/pkgs/development/libraries/catch/default.nix +++ b/pkgs/development/libraries/catch/default.nix @@ -32,5 +32,6 @@ stdenv.mkDerivation rec { homepage = "http://catch-lib.net"; license = licenses.boost; maintainers = with maintainers; [ edwtjo ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/ceres-solver/default.nix b/pkgs/development/libraries/ceres-solver/default.nix index 4dce56a8f1ab..24d309372047 100644 --- a/pkgs/development/libraries/ceres-solver/default.nix +++ b/pkgs/development/libraries/ceres-solver/default.nix @@ -47,5 +47,6 @@ stdenv.mkDerivation { homepage = "http://ceres-solver.org"; maintainers = with stdenv.lib.maintainers; [ giogadi ]; inherit version; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/cfitsio/default.nix b/pkgs/development/libraries/cfitsio/default.nix index 54e5988eda6e..a3d1a46e818c 100644 --- a/pkgs/development/libraries/cfitsio/default.nix +++ b/pkgs/development/libraries/cfitsio/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation { # Permissive BSD-style license. license = "permissive"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/chmlib/default.nix b/pkgs/development/libraries/chmlib/default.nix index 319892237aeb..e572db68e838 100644 --- a/pkgs/development/libraries/chmlib/default.nix +++ b/pkgs/development/libraries/chmlib/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { homepage = http://www.jedrea.com/chmlib; license = "LGPL"; description = "A library for dealing with Microsoft ITSS/CHM format files"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/cl/default.nix b/pkgs/development/libraries/cl/default.nix index c166a6e4acf1..1fa45992aeee 100644 --- a/pkgs/development/libraries/cl/default.nix +++ b/pkgs/development/libraries/cl/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/tonyrog/cl; description = "OpenCL binding for Erlang"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/classads/default.nix b/pkgs/development/libraries/classads/default.nix index 6c673a7dc028..32a4a574ed6c 100644 --- a/pkgs/development/libraries/classads/default.nix +++ b/pkgs/development/libraries/classads/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation { homepage = http://www.cs.wisc.edu/condor/classad/; description = "The Classified Advertisements library provides a generic means for matching resources"; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/clucene-core/2.x.nix b/pkgs/development/libraries/clucene-core/2.x.nix index 90ee1cd03ca4..0ba9e1545fbf 100644 --- a/pkgs/development/libraries/clucene-core/2.x.nix +++ b/pkgs/development/libraries/clucene-core/2.x.nix @@ -39,5 +39,6 @@ stdenv.mkDerivation rec { CLucene is a port of the very popular Java Lucene text search engine API. ''; homepage = http://clucene.sourceforge.net; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/clucene-core/default.nix b/pkgs/development/libraries/clucene-core/default.nix index 33a789266d48..90cfbb1865cc 100644 --- a/pkgs/development/libraries/clucene-core/default.nix +++ b/pkgs/development/libraries/clucene-core/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { CLucene is a port of the very popular Java Lucene text search engine API. ''; homepage = http://clucene.sourceforge.net; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/cmark/default.nix b/pkgs/development/libraries/cmark/default.nix index be60c18353ef..303a6ccaeb88 100644 --- a/pkgs/development/libraries/cmark/default.nix +++ b/pkgs/development/libraries/cmark/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { description = "CommonMark parsing and rendering library and program in C"; homepage = https://github.com/jgm/cmark; maintainers = [ stdenv.lib.maintainers.michelk ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/cminpack/default.nix b/pkgs/development/libraries/cminpack/default.nix index 892e32777ea6..a13b42a08a8f 100644 --- a/pkgs/development/libraries/cminpack/default.nix +++ b/pkgs/development/libraries/cminpack/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { homepage = http://devernay.free.fr/hacks/cminpack/cminpack.html; license = stdenv.lib.licenses.bsd3; description = "Software for solving nonlinear equations and nonlinear least squares problems"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/cmocka/default.nix b/pkgs/development/libraries/cmocka/default.nix index 4e3f5b219e92..96ef5112ef6a 100644 --- a/pkgs/development/libraries/cmocka/default.nix +++ b/pkgs/development/libraries/cmocka/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "0fvm6rdalqcxckbddch8ycdw6n2ckldblv117n09chi2l7bm0q5k"; }; - buildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ]; meta = with stdenv.lib; { description = "Lightweight library to simplify and generalize unit tests for C"; diff --git a/pkgs/development/libraries/confuse/default.nix b/pkgs/development/libraries/confuse/default.nix index e11e0ae0a1c8..95af4d94cf5f 100644 --- a/pkgs/development/libraries/confuse/default.nix +++ b/pkgs/development/libraries/confuse/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation rec { homepage = http://www.nongnu.org/confuse/; description = "Configuration file parser library"; license = stdenv.lib.licenses.isc; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/cpptest/default.nix b/pkgs/development/libraries/cpptest/default.nix index e5aab4308294..56b23153dcf2 100644 --- a/pkgs/development/libraries/cpptest/default.nix +++ b/pkgs/development/libraries/cpptest/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { description = "Simple C++ unit testing framework"; maintainers = with maintainers; [ bosu ]; license = stdenv.lib.licenses.lgpl3; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/ctpp2/default.nix b/pkgs/development/libraries/ctpp2/default.nix index ab5cd2beff30..00b5f7a8f13c 100644 --- a/pkgs/development/libraries/ctpp2/default.nix +++ b/pkgs/development/libraries/ctpp2/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "A high performance templating engine"; homepage = http://ctpp.havoc.ru; maintiainers = with stdenv.lib.maintainers; [ robbinch ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/dbus-glib/default.nix b/pkgs/development/libraries/dbus-glib/default.nix index 376c4de3b5f8..3ee1edf519cd 100644 --- a/pkgs/development/libraries/dbus-glib/default.nix +++ b/pkgs/development/libraries/dbus-glib/default.nix @@ -30,5 +30,6 @@ stdenv.mkDerivation rec { license = with stdenv.lib.licenses; [ afl21 gpl2 ]; description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism"; maintainers = [ stdenv.lib.maintainers.urkud ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/dclib/default.nix b/pkgs/development/libraries/dclib/default.nix index fb290cbcbeba..5a879e04c7d3 100644 --- a/pkgs/development/libraries/dclib/default.nix +++ b/pkgs/development/libraries/dclib/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [libxml2 openssl bzip2]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/despotify/default.nix b/pkgs/development/libraries/despotify/default.nix index e774a9e923be..43c8d18eb886 100644 --- a/pkgs/development/libraries/despotify/default.nix +++ b/pkgs/development/libraries/despotify/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { ''; homepage = "http://despotify.se"; license = stdenv.lib.licenses.bsd2; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/dotconf/default.nix b/pkgs/development/libraries/dotconf/default.nix index f44a4a37fa71..61a85c7cd607 100644 --- a/pkgs/development/libraries/dotconf/default.nix +++ b/pkgs/development/libraries/dotconf/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ pSub ]; homepage = http://www.azzit.de/dotconf/; license = licenses.lgpl21Plus; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/drumstick/default.nix b/pkgs/development/libraries/drumstick/default.nix index b5be3a40a0fa..809037bb5edf 100644 --- a/pkgs/development/libraries/drumstick/default.nix +++ b/pkgs/development/libraries/drumstick/default.nix @@ -37,5 +37,6 @@ stdenv.mkDerivation rec { description = "MIDI libraries for Qt5/C++"; homepage = http://drumstick.sourceforge.net/; license = licenses.gpl2Plus; + platforms = [ "x86_64-linux" ]; }; } diff --git a/pkgs/development/libraries/eigen/2.0.nix b/pkgs/development/libraries/eigen/2.0.nix index 4ea9f068d39e..04e7b5e38cbe 100644 --- a/pkgs/development/libraries/eigen/2.0.nix +++ b/pkgs/development/libraries/eigen/2.0.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation { homepage = http://eigen.tuxfamily.org ; maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ]; branch = "2"; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/enchant/default.nix b/pkgs/development/libraries/enchant/default.nix index 78756deb55ea..02a422c2c843 100644 --- a/pkgs/development/libraries/enchant/default.nix +++ b/pkgs/development/libraries/enchant/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.abisource.com/enchant; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/esdl/default.nix b/pkgs/development/libraries/esdl/default.nix index 63fc169355c6..af8258a01966 100644 --- a/pkgs/development/libraries/esdl/default.nix +++ b/pkgs/development/libraries/esdl/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { homepage = http://esdl.sourceforge.net/; description = "Erlang binding to SDL that includes a binding to OpenGL"; license = "BSD"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/eventlog/default.nix b/pkgs/development/libraries/eventlog/default.nix index 12da7e896038..8825df657d29 100644 --- a/pkgs/development/libraries/eventlog/default.nix +++ b/pkgs/development/libraries/eventlog/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation { ''; homepage = "http://www.balabit.com/support/community/products/"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/exosip/3.x.nix b/pkgs/development/libraries/exosip/3.x.nix index 63afd22bcf88..aa55a7f0d1dc 100644 --- a/pkgs/development/libraries/exosip/3.x.nix +++ b/pkgs/development/libraries/exosip/3.x.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { meta = { license = stdenv.lib.licenses.gpl2Plus; description = "Library that hides the complexity of using the SIP protocol"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/exosip/default.nix b/pkgs/development/libraries/exosip/default.nix index 02349bc0267b..9cf49b3c2c09 100644 --- a/pkgs/development/libraries/exosip/default.nix +++ b/pkgs/development/libraries/exosip/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { meta = { license = stdenv.lib.licenses.gpl2Plus; description = "Library that hides the complexity of using the SIP protocol"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/facile/default.nix b/pkgs/development/libraries/facile/default.nix index 5e3776afbc05..4050bdfd9eb0 100644 --- a/pkgs/development/libraries/facile/default.nix +++ b/pkgs/development/libraries/facile/default.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { homepage = http://www.recherche.enac.fr/log/facile; license = "LGPL"; description = "A Functional Constraint Library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/farsight2/default.nix b/pkgs/development/libraries/farsight2/default.nix index 3467ac2cc3bc..5c2ef0f6b4e0 100644 --- a/pkgs/development/libraries/farsight2/default.nix +++ b/pkgs/development/libraries/farsight2/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://farsight.freedesktop.org/wiki/; description = "Audio/Video Communications Framework"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/farstream/default.nix b/pkgs/development/libraries/farstream/default.nix index eabb9789d79a..a57c3da333e2 100644 --- a/pkgs/development/libraries/farstream/default.nix +++ b/pkgs/development/libraries/farstream/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { homepage = http://www.freedesktop.org/wiki/Software/Farstream; description = "Audio/Video Communications Framework formely known as farsight"; maintainers = [ stdenv.lib.maintainers.urkud ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/fastjson/default.nix b/pkgs/development/libraries/fastjson/default.nix index 4c3251985470..1b591efb578e 100644 --- a/pkgs/development/libraries/fastjson/default.nix +++ b/pkgs/development/libraries/fastjson/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/rsyslog/libfastjson"; license = licenses.mit; maintainers = with maintainers; [ nequissimus ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/fcppt/default.nix b/pkgs/development/libraries/fcppt/default.nix index 5f7d61f36018..ac785d65c4ee 100644 --- a/pkgs/development/libraries/fcppt/default.nix +++ b/pkgs/development/libraries/fcppt/default.nix @@ -18,10 +18,15 @@ stdenv.mkDerivation rec { meta = { description = "Freundlich's C++ toolkit"; longDescription = '' - Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on improving general C++ code by providing better types, a strong focus on C++11 (non-conforming compilers are mostly not supported) and functional programming (which is both efficient and syntactically affordable in C++11). + Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on + improving general C++ code by providing better types, a strong focus on + C++11 (non-conforming compilers are mostly not supported) and functional + programming (which is both efficient and syntactically affordable in + C++11). ''; homepage = http://fcppt.org; license = stdenv.lib.licenses.boost; maintainers = with stdenv.lib.maintainers; [ pmiddend ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/ffms/default.nix b/pkgs/development/libraries/ffms/default.nix index faf38ff4295d..3fc3f37d2aad 100644 --- a/pkgs/development/libraries/ffms/default.nix +++ b/pkgs/development/libraries/ffms/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "Libav/ffmpeg based source library for easy frame accurate access"; license = stdenv.lib.licenses.mit; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/freealut/default.nix b/pkgs/development/libraries/freealut/default.nix index 25ba89994e5d..39d63a8bd693 100644 --- a/pkgs/development/libraries/freealut/default.nix +++ b/pkgs/development/libraries/freealut/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { homepage = "http://openal.org/"; description = "Free implementation of OpenAL's ALUT standard"; license = stdenv.lib.licenses.lgpl2; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/fribidi/default.nix b/pkgs/development/libraries/fribidi/default.nix index 23795e9633ed..669d023dde8b 100644 --- a/pkgs/development/libraries/fribidi/default.nix +++ b/pkgs/development/libraries/fribidi/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { homepage = http://fribidi.org/; description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)"; license = licenses.gpl2; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/funambol/default.nix b/pkgs/development/libraries/funambol/default.nix index 1fc2b21b5e59..161d836bf311 100644 --- a/pkgs/development/libraries/funambol/default.nix +++ b/pkgs/development/libraries/funambol/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "SyncML client sdk by Funambol project"; homepage = http://www.funambol.com; maintainers = [ stdenv.lib.maintainers.urkud ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/garmintools/default.nix b/pkgs/development/libraries/garmintools/default.nix index 1f68131efd54..f1df8c5ff7f6 100644 --- a/pkgs/development/libraries/garmintools/default.nix +++ b/pkgs/development/libraries/garmintools/default.nix @@ -10,5 +10,6 @@ stdenv.mkDerivation { homepage = https://code.google.com/p/garmintools; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.ocharles ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gegl/3.0.nix b/pkgs/development/libraries/gegl/3.0.nix index 1ca0a2b59257..f66ade28da9d 100644 --- a/pkgs/development/libraries/gegl/3.0.nix +++ b/pkgs/development/libraries/gegl/3.0.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { description = "Graph-based image processing framework"; homepage = http://www.gegl.org; license = stdenv.lib.licenses.gpl3; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/giblib/default.nix b/pkgs/development/libraries/giblib/default.nix index b6e515fef803..9a73b82f8884 100644 --- a/pkgs/development/libraries/giblib/default.nix +++ b/pkgs/development/libraries/giblib/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://linuxbrit.co.uk/giblib/; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/giflib/4.1.nix b/pkgs/development/libraries/giflib/4.1.nix index 13cd1c79b6a7..2f9d54c0b4ee 100644 --- a/pkgs/development/libraries/giflib/4.1.nix +++ b/pkgs/development/libraries/giflib/4.1.nix @@ -8,6 +8,7 @@ stdenv.mkDerivation { }; meta = { branch = "4.1"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/giflib/libungif.nix b/pkgs/development/libraries/giflib/libungif.nix index ca2d09457225..4abd96fa3cec 100644 --- a/pkgs/development/libraries/giflib/libungif.nix +++ b/pkgs/development/libraries/giflib/libungif.nix @@ -6,5 +6,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/giflib/libungif-4.1.4.tar.gz; sha256 = "5e65e1e5deacd0cde489900dbf54c6c2ee2ebc818199e720dbad685d87abda3d"; }; -} + meta = { + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/development/libraries/gloox/default.nix b/pkgs/development/libraries/gloox/default.nix index 6d43ea9a3091..12460f4f2d29 100644 --- a/pkgs/development/libraries/gloox/default.nix +++ b/pkgs/development/libraries/gloox/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation rec { homepage = "http://camaya.net/gloox"; license = stdenv.lib.licenses.gpl3; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/gmime/default.nix b/pkgs/development/libraries/gmime/default.nix index ee81aec07976..c9e78a9d56c0 100644 --- a/pkgs/development/libraries/gmime/default.nix +++ b/pkgs/development/libraries/gmime/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { homepage = http://spruce.sourceforge.net/gmime/; description = "A C/C++ library for manipulating MIME messages"; maintainers = [ stdenv.lib.maintainers.chaoflow ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gmm/default.nix b/pkgs/development/libraries/gmm/default.nix index cf62b6a224ba..47345e2a22c7 100644 --- a/pkgs/development/libraries/gmm/default.nix +++ b/pkgs/development/libraries/gmm/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation { description = "Generic C++ template library for sparse, dense and skyline matrices"; homepage = http://home.gna.org/getfem/gmm_intro.html; license = stdenv.lib.licenses.lgpl21Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gmock/default.nix b/pkgs/development/libraries/gmock/default.nix index 926832dbada6..139cfab6e0cf 100644 --- a/pkgs/development/libraries/gmock/default.nix +++ b/pkgs/development/libraries/gmock/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { homepage = https://code.google.com/p/googlemock/; license = stdenv.lib.licenses.bsd3; maintainers = [ stdenv.lib.maintainers.auntie ]; + platforms = stdenv.lib.platforms.unix; }; passthru = { source = src; }; diff --git a/pkgs/development/libraries/goocanvas/default.nix b/pkgs/development/libraries/goocanvas/default.nix index 77af66f9724d..5a367e1d593a 100644 --- a/pkgs/development/libraries/goocanvas/default.nix +++ b/pkgs/development/libraries/goocanvas/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "Canvas widget for GTK+ based on the the Cairo 2D library"; homepage = http://goocanvas.sourceforge.net/; license = ["GPL" "LGPL"]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gsl/default.nix b/pkgs/development/libraries/gsl/default.nix index f5fdf4eec44c..4ab1b0cf56c5 100644 --- a/pkgs/development/libraries/gsl/default.nix +++ b/pkgs/development/libraries/gsl/default.nix @@ -30,5 +30,6 @@ stdenv.mkDerivation rec { fitting. There are over 1000 functions in total with an extensive test suite. ''; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gsl/gsl-1_16.nix b/pkgs/development/libraries/gsl/gsl-1_16.nix index dbea97a0271e..ede2b51c5599 100644 --- a/pkgs/development/libraries/gsl/gsl-1_16.nix +++ b/pkgs/development/libraries/gsl/gsl-1_16.nix @@ -35,5 +35,6 @@ stdenv.mkDerivation rec { fitting. There are over 1000 functions in total with an extensive test suite. ''; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix b/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix index 777f4a06313b..2e30782f44bb 100644 --- a/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix +++ b/pkgs/development/libraries/gstreamer/legacy/gnonlin/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { homepage = "http://gstreamer.freedesktop.org/modules/gnonlin.html"; description = "Gstreamer Non-Linear Multimedia Editing Plugins"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix index 89b6e73e6b6d..18d483594efb 100644 --- a/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix +++ b/pkgs/development/libraries/gstreamer/legacy/gst-ffmpeg/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { homepage = "http://gstreamer.freedesktop.org/releases/gst-ffmpeg"; description = "GStreamer's plug-in using FFmpeg"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix b/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix index 889f55e50006..b0ac9e799e9a 100644 --- a/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix +++ b/pkgs/development/libraries/gstreamer/legacy/gst-python/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation rec { description = "Python bindings for GStreamer"; license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix b/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix index 07b846f35b42..adda7697ffcb 100644 --- a/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix +++ b/pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix @@ -54,5 +54,6 @@ stdenv.mkDerivation rec { ''; license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/gtk-sharp/2.0.nix b/pkgs/development/libraries/gtk-sharp/2.0.nix index 0e659fb074bd..20c79d7202eb 100644 --- a/pkgs/development/libraries/gtk-sharp/2.0.nix +++ b/pkgs/development/libraries/gtk-sharp/2.0.nix @@ -46,4 +46,8 @@ stdenv.mkDerivation { passthru = { inherit gtk; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtk-sharp/3.0.nix b/pkgs/development/libraries/gtk-sharp/3.0.nix index 380c43108de0..9fb99c3f27e7 100644 --- a/pkgs/development/libraries/gtk-sharp/3.0.nix +++ b/pkgs/development/libraries/gtk-sharp/3.0.nix @@ -45,4 +45,8 @@ stdenv.mkDerivation { passthru = { inherit gtk3; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtkimageview/default.nix b/pkgs/development/libraries/gtkimageview/default.nix index 52df259616b2..d88160361ca5 100644 --- a/pkgs/development/libraries/gtkimageview/default.nix +++ b/pkgs/development/libraries/gtkimageview/default.nix @@ -33,5 +33,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.lgpl2Plus; maintainers = [ ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/gtkmozembed-sharp/default.nix b/pkgs/development/libraries/gtkmozembed-sharp/default.nix index b54f3cc2f61c..512d443f9fc7 100644 --- a/pkgs/development/libraries/gtkmozembed-sharp/default.nix +++ b/pkgs/development/libraries/gtkmozembed-sharp/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { ]; inherit monoDLLFixer; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtkspell/default.nix b/pkgs/development/libraries/gtkspell/default.nix index 030375938a68..daf400fdc5a5 100644 --- a/pkgs/development/libraries/gtkspell/default.nix +++ b/pkgs/development/libraries/gtkspell/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [aspell pkgconfig gtk enchant intltool]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/hamlib/default.nix b/pkgs/development/libraries/hamlib/default.nix index e0a6e23c972f..185780e37162 100644 --- a/pkgs/development/libraries/hamlib/default.nix +++ b/pkgs/development/libraries/hamlib/default.nix @@ -30,5 +30,6 @@ stdenv.mkDerivation rec { license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ]; homepage = http://hamlib.sourceforge.net; maintainers = with stdenv.lib.maintainers; [ relrod ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/hawknl/default.nix b/pkgs/development/libraries/hawknl/default.nix index 372a8b8c1122..77c1ca07dc9c 100644 --- a/pkgs/development/libraries/hawknl/default.nix +++ b/pkgs/development/libraries/hawknl/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation { homepage = http://hawksoft.com/hawknl/; description = "Free, open source, game oriented network API"; license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/http-parser/default.nix b/pkgs/development/libraries/http-parser/default.nix index ddbcc3a26c29..df3f68b12493 100644 --- a/pkgs/development/libraries/http-parser/default.nix +++ b/pkgs/development/libraries/http-parser/default.nix @@ -42,5 +42,6 @@ in stdenv.mkDerivation { homepage = https://github.com/joyent/http-parser; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; # Broken on pure-darwin, wants xcode }; } diff --git a/pkgs/development/libraries/id3lib/default.nix b/pkgs/development/libraries/id3lib/default.nix index 9f880e3ea9f7..199ac7c902b0 100644 --- a/pkgs/development/libraries/id3lib/default.nix +++ b/pkgs/development/libraries/id3lib/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz; sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/ilbc/default.nix b/pkgs/development/libraries/ilbc/default.nix index 0ea2949659c6..cb83322ebb65 100644 --- a/pkgs/development/libraries/ilbc/default.nix +++ b/pkgs/development/libraries/ilbc/default.nix @@ -19,4 +19,7 @@ stdenv.mkDerivation rec { cp -v ${./CMakeLists.txt} CMakeLists.txt ''; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/imlib/default.nix b/pkgs/development/libraries/imlib/default.nix index d8193926fef5..e99fc2ca3f96 100644 --- a/pkgs/development/libraries/imlib/default.nix +++ b/pkgs/development/libraries/imlib/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { --x-libraries=${libX11}/lib"; buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/incrtcl/default.nix b/pkgs/development/libraries/incrtcl/default.nix index a8f29b60c2b0..b9781ba9aa08 100644 --- a/pkgs/development/libraries/incrtcl/default.nix +++ b/pkgs/development/libraries/incrtcl/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://incrtcl.sourceforge.net/; description = "Object Oriented Enhancements for Tcl/Tk"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/iniparser/default.nix b/pkgs/development/libraries/iniparser/default.nix index bd2f328e2577..256d7cbdc878 100644 --- a/pkgs/development/libraries/iniparser/default.nix +++ b/pkgs/development/libraries/iniparser/default.nix @@ -39,5 +39,6 @@ stdenv.mkDerivation rec{ homepage = http://ndevilla.free.fr/iniparser; description = "Free standalone ini file parsing library"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/irrlicht/default.nix b/pkgs/development/libraries/irrlicht/default.nix index 8acd872fcb39..71bb871a45d7 100644 --- a/pkgs/development/libraries/irrlicht/default.nix +++ b/pkgs/development/libraries/irrlicht/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { homepage = http://irrlicht.sourceforge.net/; license = stdenv.lib.licenses.zlib; description = "Open source high performance realtime 3D engine written in C++"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/irrlicht/irrlicht3843.nix b/pkgs/development/libraries/irrlicht/irrlicht3843.nix index a682b3a6b829..c6e5b35f9e2c 100644 --- a/pkgs/development/libraries/irrlicht/irrlicht3843.nix +++ b/pkgs/development/libraries/irrlicht/irrlicht3843.nix @@ -41,5 +41,6 @@ stdenv.mkDerivation rec { homepage = http://irrlicht.sourceforge.net/; license = stdenv.lib.licenses.zlib; description = "Open source high performance realtime 3D engine written in C++"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/jama/default.nix b/pkgs/development/libraries/jama/default.nix index 6e775d5cef2f..55f44df2b4f3 100644 --- a/pkgs/development/libraries/jama/default.nix +++ b/pkgs/development/libraries/jama/default.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://math.nist.gov/tnt/; description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates"; + platforms = stdenv.lib.platforms.unix; }; -} \ No newline at end of file +} diff --git a/pkgs/development/libraries/jasper/default.nix b/pkgs/development/libraries/jasper/default.nix index 50bebca6b312..2dca5fa22406 100644 --- a/pkgs/development/libraries/jasper/default.nix +++ b/pkgs/development/libraries/jasper/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { meta = { homepage = https://www.ece.uvic.ca/~frodo/jasper/; description = "JPEG2000 Library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/aterm/default.nix b/pkgs/development/libraries/java/aterm/default.nix index 5a3f735b43aa..f643c607cbd1 100644 --- a/pkgs/development/libraries/java/aterm/default.nix +++ b/pkgs/development/libraries/java/aterm/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "abf475dae2f5efca865fcdff871feb5e"; }; buildInputs = [stdenv jdk sharedobjects jjtraveler]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/classpath/default.nix b/pkgs/development/libraries/java/classpath/default.nix index 215234f91760..889137d62840 100644 --- a/pkgs/development/libraries/java/classpath/default.nix +++ b/pkgs/development/libraries/java/classpath/default.nix @@ -55,5 +55,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2ClasspathPlus; maintainers = [ ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/java/commons/bcel/default.nix b/pkgs/development/libraries/java/commons/bcel/default.nix index 0bcd164a525d..8d9b4e54fe8d 100644 --- a/pkgs/development/libraries/java/commons/bcel/default.nix +++ b/pkgs/development/libraries/java/commons/bcel/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/commons/bsf/default.nix b/pkgs/development/libraries/java/commons/bsf/default.nix index b29286831841..e3c464482c7e 100644 --- a/pkgs/development/libraries/java/commons/bsf/default.nix +++ b/pkgs/development/libraries/java/commons/bsf/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { description = "Interface to scripting languages, including JSR-223"; homepage = http://commons.apache.org/proper/commons-bsf/; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/commons/compress/default.nix b/pkgs/development/libraries/java/commons/compress/default.nix index 4e04ba47c858..a35eaa0b260a 100644 --- a/pkgs/development/libraries/java/commons/compress/default.nix +++ b/pkgs/development/libraries/java/commons/compress/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/commons/fileupload/default.nix b/pkgs/development/libraries/java/commons/fileupload/default.nix index 2018e3f11f2d..6fddc3cfe0c3 100644 --- a/pkgs/development/libraries/java/commons/fileupload/default.nix +++ b/pkgs/development/libraries/java/commons/fileupload/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { description = "Makes it easy to add robust, high-performance, file upload capability to your servlets and web applications"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/commons/io/default.nix b/pkgs/development/libraries/java/commons/io/default.nix index 5c80bcadf4b9..d49165ac521a 100644 --- a/pkgs/development/libraries/java/commons/io/default.nix +++ b/pkgs/development/libraries/java/commons/io/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "A library of utilities to assist with developing IO functionality"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/commons/lang/default.nix b/pkgs/development/libraries/java/commons/lang/default.nix index 82806871a62e..a336ab503646 100644 --- a/pkgs/development/libraries/java/commons/lang/default.nix +++ b/pkgs/development/libraries/java/commons/lang/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "Provides additional methods to manipulate standard Java library classes"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/commons/logging/default.nix b/pkgs/development/libraries/java/commons/logging/default.nix index ee4074702024..4e3fa2655020 100644 --- a/pkgs/development/libraries/java/commons/logging/default.nix +++ b/pkgs/development/libraries/java/commons/logging/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { description = "Wrapper around a variety of logging API implementations"; homepage = http://commons.apache.org/proper/commons-logging; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/commons/math/default.nix b/pkgs/development/libraries/java/commons/math/default.nix index ed04e2f410b4..d43dcd2a91d5 100644 --- a/pkgs/development/libraries/java/commons/math/default.nix +++ b/pkgs/development/libraries/java/commons/math/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "A library of lightweight, self-contained mathematics and statistics components"; maintainers = with stdenv.lib.maintainers; [ copumpkin ]; license = stdenv.lib.licenses.asl20; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/java/dbus-java/default.nix b/pkgs/development/libraries/java/dbus-java/default.nix index 7b55f8b15a2a..8ca3bf1cd34a 100644 --- a/pkgs/development/libraries/java/dbus-java/default.nix +++ b/pkgs/development/libraries/java/dbus-java/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation { -e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile ''; maintainers = [ stdenv.lib.maintainers.sander ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/java/geoipjava/default.nix b/pkgs/development/libraries/java/geoipjava/default.nix index 5c83a0ba3579..13b4df395e50 100644 --- a/pkgs/development/libraries/java/geoipjava/default.nix +++ b/pkgs/development/libraries/java/geoipjava/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation { description = "GeoIP Java API"; license = stdenv.lib.licenses.lgpl21Plus; maintainers = [ stdenv.lib.maintainers.sander ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/gwt-dragdrop/default.nix b/pkgs/development/libraries/java/gwt-dragdrop/default.nix index 034ac9afb269..b9d66fdc9716 100644 --- a/pkgs/development/libraries/java/gwt-dragdrop/default.nix +++ b/pkgs/development/libraries/java/gwt-dragdrop/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://gwt-dnd.googlecode.com/files/gwt-dnd-2.6.5.jar; sha256 = "07zdlr8afs499asnw0dcjmw1cnjc646v91lflx5dv4qj374c97fw"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/gwt-widgets/default.nix b/pkgs/development/libraries/java/gwt-widgets/default.nix index de638ce9185f..b182964f6579 100644 --- a/pkgs/development/libraries/java/gwt-widgets/default.nix +++ b/pkgs/development/libraries/java/gwt-widgets/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/gwt-widget/gwt-widgets-0.2.0-bin.tar.gz; sha256 = "09isj4j6842rj13nv8264irkjjhvmgihmi170ciabc98911bakxb"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/hsqldb/default.nix b/pkgs/development/libraries/java/hsqldb/default.nix index 695616eca51a..ad849a4d6d53 100644 --- a/pkgs/development/libraries/java/hsqldb/default.nix +++ b/pkgs/development/libraries/java/hsqldb/default.nix @@ -13,4 +13,7 @@ stdenv.mkDerivation { buildInputs = [ unzip ]; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/httpunit/default.nix b/pkgs/development/libraries/java/httpunit/default.nix index 73eb33df812d..221a2e93e4fc 100644 --- a/pkgs/development/libraries/java/httpunit/default.nix +++ b/pkgs/development/libraries/java/httpunit/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { }; inherit unzip; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/hydra-ant-logger/default.nix b/pkgs/development/libraries/java/hydra-ant-logger/default.nix index c54c3f3a8ee8..7d1fac39b1cb 100644 --- a/pkgs/development/libraries/java/hydra-ant-logger/default.nix +++ b/pkgs/development/libraries/java/hydra-ant-logger/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation rec { mkdir -p $out/share/java cp -v *.jar $out/share/java ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/javasvn/default.nix b/pkgs/development/libraries/java/javasvn/default.nix index 2c43ba7043b1..b698de6d5a7f 100644 --- a/pkgs/development/libraries/java/javasvn/default.nix +++ b/pkgs/development/libraries/java/javasvn/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { }; inherit unzip; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/jdom/default.nix b/pkgs/development/libraries/java/jdom/default.nix index bca165bb3246..9f0440f03049 100644 --- a/pkgs/development/libraries/java/jdom/default.nix +++ b/pkgs/development/libraries/java/jdom/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://www.jdom.org/dist/binary/jdom-1.0.tar.gz; md5 = "ce29ecc05d63fdb419737fd00c04c281"; }; -} \ No newline at end of file + + meta = { + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/development/libraries/java/jflex/default.nix b/pkgs/development/libraries/java/jflex/default.nix index 12f9995b56a9..6947536fafb7 100644 --- a/pkgs/development/libraries/java/jflex/default.nix +++ b/pkgs/development/libraries/java/jflex/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { homepage = http://www.jflex.de/; description = "Lexical analyzer generator for Java, written in Java"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/jjtraveler/default.nix b/pkgs/development/libraries/java/jjtraveler/default.nix index cb359fd94921..b9dc1d688605 100644 --- a/pkgs/development/libraries/java/jjtraveler/default.nix +++ b/pkgs/development/libraries/java/jjtraveler/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "35bf801ee61f042513ae88247fe1bf1d"; }; buildInputs = [stdenv jdk]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/jzmq/default.nix b/pkgs/development/libraries/java/jzmq/default.nix index 3f0f13a4555d..d7316ba3927a 100644 --- a/pkgs/development/libraries/java/jzmq/default.nix +++ b/pkgs/development/libraries/java/jzmq/default.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.zeromq.org"; description = "Java bindings for ZeroMQ"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/java/libmatthew-java/default.nix b/pkgs/development/libraries/java/libmatthew-java/default.nix index 3924b0cdc224..df4a19efd2c4 100644 --- a/pkgs/development/libraries/java/libmatthew-java/default.nix +++ b/pkgs/development/libraries/java/libmatthew-java/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { PREFIX=''''${out}''; buildInputs = [ jdk ]; maintainers = [ stdenv.lib.maintainers.sander ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/java/lucene/default.nix b/pkgs/development/libraries/java/lucene/default.nix index 9380591636c9..d6e26a02d676 100644 --- a/pkgs/development/libraries/java/lucene/default.nix +++ b/pkgs/development/libraries/java/lucene/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://cvs.apache.org/dist/jakarta/lucene/v1.4.1/lucene-1.4.1.tar.gz; md5 = "656a6f40f5b8f7d2e19453436848bfe8"; }; -} \ No newline at end of file + + meta = { + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/development/libraries/java/mockobjects/default.nix b/pkgs/development/libraries/java/mockobjects/default.nix index 80afb0689b96..5681200c4fa7 100644 --- a/pkgs/development/libraries/java/mockobjects/default.nix +++ b/pkgs/development/libraries/java/mockobjects/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/mockobjects/mockobjects-bin-0.09.tar; md5 = "a0e11423bd5fcbb6ea65753643ea8852"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/rhino/default.nix b/pkgs/development/libraries/java/rhino/default.nix index 960af32d359b..37ab6b4f8fd4 100644 --- a/pkgs/development/libraries/java/rhino/default.nix +++ b/pkgs/development/libraries/java/rhino/default.nix @@ -53,5 +53,6 @@ stdenv.mkDerivation { homepage = http://www.mozilla.org/rhino/; license = with licenses; [ mpl11 /* or */ gpl2Plus ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/java/saxon/default.nix b/pkgs/development/libraries/java/saxon/default.nix index b333624100c8..464776569cb1 100644 --- a/pkgs/development/libraries/java/saxon/default.nix +++ b/pkgs/development/libraries/java/saxon/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { inherit unzip; buildInputs = [unzip]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/saxon/default8.nix b/pkgs/development/libraries/java/saxon/default8.nix index bf1ee340d46f..7f1f0e260c0a 100644 --- a/pkgs/development/libraries/java/saxon/default8.nix +++ b/pkgs/development/libraries/java/saxon/default8.nix @@ -19,4 +19,8 @@ exec ${jre}/bin/java -jar $out/saxon8.jar \"\\$@\" EOF chmod a+x $out/bin/saxon8 "; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/shared-objects/default.nix b/pkgs/development/libraries/java/shared-objects/default.nix index c0f12248b3c1..9453aa0635c7 100644 --- a/pkgs/development/libraries/java/shared-objects/default.nix +++ b/pkgs/development/libraries/java/shared-objects/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "c1f2c58bd1a07be32da8a6b89354a11f"; }; buildInputs = [stdenv jdk]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/smack/default.nix b/pkgs/development/libraries/java/smack/default.nix index 9d1d8f535336..081bcccdd7dd 100644 --- a/pkgs/development/libraries/java/smack/default.nix +++ b/pkgs/development/libraries/java/smack/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://www.igniterealtime.org/downloadServlet?filename=smack/smack_3_4_1.tar.gz; sha256 = "13jm93b0dsfxr62brq1hagi9fqk7ip3pi80svq10zh5kcpk77jf4"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/swt/default.nix b/pkgs/development/libraries/java/swt/default.nix index e91c8bbca7b9..37b8b502c3b7 100644 --- a/pkgs/development/libraries/java/swt/default.nix +++ b/pkgs/development/libraries/java/swt/default.nix @@ -67,5 +67,6 @@ in stdenv.mkDerivation rec { description = "An widget toolkit for Java to access the user-interface facilities of the operating systems on which it is implemented"; license = licenses.epl10; maintainers = with maintainers; [ pSub ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/jbig2dec/default.nix b/pkgs/development/libraries/jbig2dec/default.nix index 83d3149a50fd..123379d788dc 100644 --- a/pkgs/development/libraries/jbig2dec/default.nix +++ b/pkgs/development/libraries/jbig2dec/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { homepage = http://jbig2dec.sourceforge.net/; description = "Decoder implementation of the JBIG2 image compression format"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/json-glib/default.nix b/pkgs/development/libraries/json-glib/default.nix index 99dcb3776208..9505192ef8ab 100644 --- a/pkgs/development/libraries/json-glib/default.nix +++ b/pkgs/development/libraries/json-glib/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format"; license = licenses.lgpl2; maintainers = with maintainers; [ lethalman ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/judy/default.nix b/pkgs/development/libraries/judy/default.nix index 6e2c085f3ba2..1e687ff722b3 100644 --- a/pkgs/development/libraries/judy/default.nix +++ b/pkgs/development/libraries/judy/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation { homepage = http://judy.sourceforge.net/; license = stdenv.lib.licenses.lgpl21Plus; description = "State-of-the-art C library that implements a sparse dynamic array"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/kde-frameworks/kde-env.nix b/pkgs/development/libraries/kde-frameworks/kde-env.nix index c77ff49bfeaf..a48ba32be224 100644 --- a/pkgs/development/libraries/kde-frameworks/kde-env.nix +++ b/pkgs/development/libraries/kde-frameworks/kde-env.nix @@ -5,7 +5,7 @@ drv: pkgs: stdenv.mkDerivation { name = "kde-env-${drv.name}"; nativeBuildInputs = [ lndir ]; - propagatedUserEnvPkgs = builtins.map lib.getBin ([drv] ++ pkgs); + envPkgs = builtins.map lib.getBin ([drv] ++ pkgs); unpackPhase = "true"; configurePhase = "runHook preConfigure; runHook postConfigure"; buildPhase = "true"; @@ -13,7 +13,7 @@ stdenv.mkDerivation { runHook preInstall propagated="" - for i in $propagatedUserEnvPkgs; do + for i in $envPkgs; do findInputs $i propagated propagated-user-env-packages done @@ -26,6 +26,15 @@ stdenv.mkDerivation { done done + for p in $propagated; do + for s in applications dbus-1 desktop-directories icons mime polkit-1; do + if [ -d "$p/share/$s" ]; then + propagatedUserEnvPkgs+=" $p" + break + fi + done + done + runHook postInstall ''; } diff --git a/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix b/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix index 95f9cdcecb77..d340a5edbf7e 100644 --- a/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix +++ b/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix @@ -37,11 +37,7 @@ stdenv.mkDerivation { fi done - for s in applications dbus-1 desktop-directories icons mime polkit-1; do - if [ -d "$env/share/$s" ]; then - mkdir -p "$out/share" - ln -s "$env/share/$s" "$out/share/$s" - fi - done + mkdir -p "$out/nix-support" + ln -s "$env/nix-support/propagated-user-env-packages" "$out/nix-support/" ''; } diff --git a/pkgs/development/libraries/lcms/default.nix b/pkgs/development/libraries/lcms/default.nix index 9365cf0b5f09..4a0852f6a064 100644 --- a/pkgs/development/libraries/lcms/default.nix +++ b/pkgs/development/libraries/lcms/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation { description = "Color management engine"; homepage = http://www.littlecms.com/; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/leptonica/default.nix b/pkgs/development/libraries/leptonica/default.nix index 270403cbb74e..eacab92d36b6 100644 --- a/pkgs/development/libraries/leptonica/default.nix +++ b/pkgs/development/libraries/leptonica/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation { homepage = http://www.leptonica.org/; # Its own license: http://www.leptonica.org/about-the-license.html license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/lesstif/default.nix b/pkgs/development/libraries/lesstif/default.nix index 67263d5ff5ed..04e8eab4d287 100644 --- a/pkgs/development/libraries/lesstif/default.nix +++ b/pkgs/development/libraries/lesstif/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation rec { ./c-render_table_crash.patch ./c-xpmpipethrough.patch ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/levmar/default.nix b/pkgs/development/libraries/levmar/default.nix index c5b0c7156207..b814f077f308 100644 --- a/pkgs/development/libraries/levmar/default.nix +++ b/pkgs/development/libraries/levmar/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { description = "ANSI C implementations of Levenberg-Marquardt, usable also from C++"; homepage = http://www.ics.forth.gr/~lourakis/levmar/; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/lib3ds/default.nix b/pkgs/development/libraries/lib3ds/default.nix index a470dac24e16..32fecd3d99c1 100644 --- a/pkgs/development/libraries/lib3ds/default.nix +++ b/pkgs/development/libraries/lib3ds/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { description = "Library for managing 3D-Studio Release 3 and 4 \".3DS\" files"; homepage = http://lib3ds.sourceforge.net/; license = "LGPL"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libaacs/default.nix b/pkgs/development/libraries/libaacs/default.nix index e12929e9f696..229eca5e5972 100644 --- a/pkgs/development/libraries/libaacs/default.nix +++ b/pkgs/development/libraries/libaacs/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation { description = "Library to access AACS protected Blu-Ray disks"; license = licenses.lgpl21; maintainers = with maintainers; [ abbradar ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/libaal/default.nix b/pkgs/development/libraries/libaal/default.nix index 36d1ddc71516..88396786ed78 100644 --- a/pkgs/development/libraries/libaal/default.nix +++ b/pkgs/development/libraries/libaal/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "Support library for Reiser4"; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/libaccounts-glib/default.nix b/pkgs/development/libraries/libaccounts-glib/default.nix index 2e2bdb11d501..e410b6d4aa52 100644 --- a/pkgs/development/libraries/libaccounts-glib/default.nix +++ b/pkgs/development/libraries/libaccounts-glib/default.nix @@ -24,4 +24,8 @@ stdenv.mkDerivation rec { ''; NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46 + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libao/default.nix b/pkgs/development/libraries/libao/default.nix index 776cd0f5b91f..b2404d4ef7f3 100644 --- a/pkgs/development/libraries/libao/default.nix +++ b/pkgs/development/libraries/libao/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { homepage = http://xiph.org/ao/; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/libasr/default.nix b/pkgs/development/libraries/libasr/default.nix index 2f4a122d61e8..a06ae978d515 100644 --- a/pkgs/development/libraries/libasr/default.nix +++ b/pkgs/development/libraries/libasr/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "Free, simple and portable asynchronous resolver library"; license = licenses.isc; maintainers = [ maintainers.koral ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libast/default.nix b/pkgs/development/libraries/libast/default.nix index d392f9a38e1d..ccc2af8c3946 100644 --- a/pkgs/development/libraries/libast/default.nix +++ b/pkgs/development/libraries/libast/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { homepage = "http://www.eterm.org"; license = licenses.bsd2; maintainers = [ maintainers.AndersonTorres ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libaudclient/default.nix b/pkgs/development/libraries/libaudclient/default.nix index c44639d1f392..8b3522e2092e 100644 --- a/pkgs/development/libraries/libaudclient/default.nix +++ b/pkgs/development/libraries/libaudclient/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { homepage = http://audacious-media-player.org/; license = licenses.bsd2; maintainers = with maintainers; [ pSub ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libb64/default.nix b/pkgs/development/libraries/libb64/default.nix index 793c4992c3f0..c02e345346d0 100644 --- a/pkgs/development/libraries/libb64/default.nix +++ b/pkgs/development/libraries/libb64/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { inherit version; description = "ANSI C routines for fast base64 encoding/decoding"; license = stdenv.lib.licenses.publicDomain; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libbdplus/default.nix b/pkgs/development/libraries/libbdplus/default.nix index 67428f132495..1f47e5f8dcd4 100644 --- a/pkgs/development/libraries/libbdplus/default.nix +++ b/pkgs/development/libraries/libbdplus/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation { description = "Library to access BD+ protected Blu-Ray disks"; license = licenses.lgpl21; maintainers = with maintainers; [ abbradar ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libbluedevil/default.nix b/pkgs/development/libraries/libbluedevil/default.nix index 44b8d47b5e3b..d2e4fe90d2cf 100644 --- a/pkgs/development/libraries/libbluedevil/default.nix +++ b/pkgs/development/libraries/libbluedevil/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ cmake qt4 ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libbluray/default.nix b/pkgs/development/libraries/libbluray/default.nix index 08905455d353..729fc27a0d37 100644 --- a/pkgs/development/libraries/libbluray/default.nix +++ b/pkgs/development/libraries/libbluray/default.nix @@ -59,5 +59,6 @@ stdenv.mkDerivation rec { description = "Library to access Blu-Ray disks for video playback"; license = licenses.lgpl21; maintainers = [ maintainers.abbradar ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix index 541f70cabb84..8597e0d9cf1f 100644 --- a/pkgs/development/libraries/libbsd/default.nix +++ b/pkgs/development/libraries/libbsd/default.nix @@ -19,5 +19,6 @@ in stdenv.mkDerivation { description = "Common functions found on BSD systems"; homepage = http://libbsd.freedesktop.org/; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libburn/default.nix b/pkgs/development/libraries/libburn/default.nix index 5103d6694084..cedc376972b6 100644 --- a/pkgs/development/libraries/libburn/default.nix +++ b/pkgs/development/libraries/libburn/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { description = "A library by which preformatted data get onto optical media: CD, DVD, BD (Blu-Ray)"; license = licenses.gpl2Plus; maintainers = with maintainers; [ abbradar vrthra ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libcaca/default.nix b/pkgs/development/libraries/libcaca/default.nix index 7a905d9c82a6..ad93ebd3a464 100644 --- a/pkgs/development/libraries/libcaca/default.nix +++ b/pkgs/development/libraries/libcaca/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = http://libcaca.zoy.org/; description = "A graphics library that outputs text instead of pixels"; license = stdenv.lib.licenses.wtfpl; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libcdaudio/default.nix b/pkgs/development/libraries/libcdaudio/default.nix index a04815df4906..aca2d056f8f9 100644 --- a/pkgs/development/libraries/libcdaudio/default.nix +++ b/pkgs/development/libraries/libcdaudio/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/libcdaudio/libcdaudio-0.99.12.tar.gz ; md5 = "63b49cf14d53eed31e7a87cca17a3963" ; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libcddb/default.nix b/pkgs/development/libraries/libcddb/default.nix index 9a284d8988d2..8645fa37c335 100644 --- a/pkgs/development/libraries/libcddb/default.nix +++ b/pkgs/development/libraries/libcddb/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { description = "C library to access data on a CDDB server (freedb.org)"; license = stdenv.lib.licenses.lgpl2Plus; homepage = http://libcddb.sourceforge.net/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libcdio/0.82.nix b/pkgs/development/libraries/libcdio/0.82.nix index 2b4be7ae230e..9cfc5f307edf 100644 --- a/pkgs/development/libraries/libcdio/0.82.nix +++ b/pkgs/development/libraries/libcdio/0.82.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { ''; license = stdenv.lib.licenses.gpl2Plus; homepage = http://www.gnu.org/software/libcdio/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libcdio/default.nix b/pkgs/development/libraries/libcdio/default.nix index 4188306128e1..f0cff815c443 100644 --- a/pkgs/development/libraries/libcdio/default.nix +++ b/pkgs/development/libraries/libcdio/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { ''; license = stdenv.lib.licenses.gpl2Plus; homepage = http://www.gnu.org/software/libcdio/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libcello/default.nix b/pkgs/development/libraries/libcello/default.nix index f45fb378374e..96c3db6ae43b 100644 --- a/pkgs/development/libraries/libcello/default.nix +++ b/pkgs/development/libraries/libcello/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { homepage = http://libcello.org/; description = "Higher level programming in C"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libchardet/default.nix b/pkgs/development/libraries/libchardet/default.nix index 6fc17256a390..b12b642668b9 100644 --- a/pkgs/development/libraries/libchardet/default.nix +++ b/pkgs/development/libraries/libchardet/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { homepage = ftp://ftp.oops.org/pub/oops/libchardet/index.html; license = licenses.mpl11; maintainers = [ maintainers.abbradar ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libcrafter/default.nix b/pkgs/development/libraries/libcrafter/default.nix index 95339be7f3e0..fff31a96ce77 100644 --- a/pkgs/development/libraries/libcrafter/default.nix +++ b/pkgs/development/libraries/libcrafter/default.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { description = "High level C++ network packet sniffing and crafting library"; license = stdenv.lib.licenses.bsd3; maintainers = [ stdenv.lib.maintainers.lethalman ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libcrossguid/default.nix b/pkgs/development/libraries/libcrossguid/default.nix index cf142ac68c42..e5c09675c4b0 100644 --- a/pkgs/development/libraries/libcrossguid/default.nix +++ b/pkgs/development/libraries/libcrossguid/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { license = licenses.mit; maintainers = with maintainers; [ edwtjo ]; homepage = https://github.com/graeme-hill/crossguid; + platforms = with platforms; linux; }; -} \ No newline at end of file +} diff --git a/pkgs/development/libraries/libctemplate/2.2.nix b/pkgs/development/libraries/libctemplate/2.2.nix index 36652f7abc7e..7440039eec9a 100644 --- a/pkgs/development/libraries/libctemplate/2.2.nix +++ b/pkgs/development/libraries/libctemplate/2.2.nix @@ -1,6 +1,15 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { + pname = "ctemplate"; + version = "2.2"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://ctemplate.googlecode.com/files/${name}.tar.gz"; + sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4"; + }; + meta = { description = "A simple but powerful template language for C++"; longDescription = '' @@ -9,14 +18,6 @@ stdenv.mkDerivation rec { embed application logic in this template language. ''; homepage = http://code.google.com/p/google-ctemplate/; license = "bsd"; - }; - - pname = "ctemplate"; - version = "2.2"; - name = "${pname}-${version}"; - - src = fetchurl { - url = "http://ctemplate.googlecode.com/files/${name}.tar.gz"; - sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libdaemon/default.nix b/pkgs/development/libraries/libdaemon/default.nix index cb8d07fec902..07d5b77efc4f 100644 --- a/pkgs/development/libraries/libdaemon/default.nix +++ b/pkgs/development/libraries/libdaemon/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.lgpl2Plus; - hydraPlatforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ ]; }; } diff --git a/pkgs/development/libraries/libdivsufsort/default.nix b/pkgs/development/libraries/libdivsufsort/default.nix index 62c7d4322527..d171f57eb1bc 100644 --- a/pkgs/development/libraries/libdivsufsort/default.nix +++ b/pkgs/development/libraries/libdivsufsort/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation { homepage = http://code.google.com/p/libdivsufsort/; license = stdenv.lib.licenses.mit; description = "Library to construct the suffix array and the BW transformed string"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libdvdnav/4.2.1.nix b/pkgs/development/libraries/libdvdnav/4.2.1.nix index 9b4e912772b5..0d3f8349413c 100644 --- a/pkgs/development/libraries/libdvdnav/4.2.1.nix +++ b/pkgs/development/libraries/libdvdnav/4.2.1.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { description = "A library that implements DVD navigation features such as DVD menus"; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.wmertens ]; + platforms = stdenv.lib.platforms.linux; }; passthru = { inherit libdvdread; }; diff --git a/pkgs/development/libraries/libdvdnav/default.nix b/pkgs/development/libraries/libdvdnav/default.nix index 5c931f4d6f4c..a26b927a883a 100644 --- a/pkgs/development/libraries/libdvdnav/default.nix +++ b/pkgs/development/libraries/libdvdnav/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { description = "A library that implements DVD navigation features such as DVD menus"; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.wmertens ]; + platforms = stdenv.lib.platforms.linux; }; passthru = { inherit libdvdread; }; diff --git a/pkgs/development/libraries/libdvdread/4.9.9.nix b/pkgs/development/libraries/libdvdread/4.9.9.nix index eb5a48a99f12..fbe56023a91c 100644 --- a/pkgs/development/libraries/libdvdread/4.9.9.nix +++ b/pkgs/development/libraries/libdvdread/4.9.9.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation { description = "A library for reading DVDs"; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.wmertens ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libdvdread/default.nix b/pkgs/development/libraries/libdvdread/default.nix index ef717fedb227..72b582a90ad6 100644 --- a/pkgs/development/libraries/libdvdread/default.nix +++ b/pkgs/development/libraries/libdvdread/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { description = "A library for reading DVDs"; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.wmertens ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libdwarf/default.nix b/pkgs/development/libraries/libdwarf/default.nix index 44eec24cb41d..2378eb915a86 100644 --- a/pkgs/development/libraries/libdwarf/default.nix +++ b/pkgs/development/libraries/libdwarf/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://reality.sgiweb.org/davea/dwarf.html; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libeatmydata/default.nix b/pkgs/development/libraries/libeatmydata/default.nix index ac75e6c8baa2..f40f45d0e41d 100644 --- a/pkgs/development/libraries/libeatmydata/default.nix +++ b/pkgs/development/libraries/libeatmydata/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { homepage = http://www.flamingspork.com/projects/libeatmydata/; license = stdenv.lib.licenses.gpl3Plus; description = "Small LD_PRELOAD library to disable fsync and friends"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libeb/default.nix b/pkgs/development/libraries/libeb/default.nix index ba3c6fb1a8fb..293b1c28e932 100644 --- a/pkgs/development/libraries/libeb/default.nix +++ b/pkgs/development/libraries/libeb/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { ''; license = licenses.bsd3; maintainers = with maintainers; [ gebner ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libebur128/default.nix b/pkgs/development/libraries/libebur128/default.nix index db8363d8522d..e5461d90dd98 100644 --- a/pkgs/development/libraries/libebur128/default.nix +++ b/pkgs/development/libraries/libebur128/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/jiixyj/libebur128; license = licenses.mit; maintainers = [ maintainers.andrewrk ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libechonest/default.nix b/pkgs/development/libraries/libechonest/default.nix index 42a3c5f243b4..0dae76243a8a 100644 --- a/pkgs/development/libraries/libechonest/default.nix +++ b/pkgs/development/libraries/libechonest/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "A C++/Qt wrapper around the Echo Nest API"; homepage = "http://projects.kde.org/projects/playground/libs/libechonest"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libee/default.nix b/pkgs/development/libraries/libee/default.nix index f3ea67ce93e1..f5809b391979 100644 --- a/pkgs/development/libraries/libee/default.nix +++ b/pkgs/development/libraries/libee/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation { meta = { homepage = "http://www.libee.org/"; description = "An Event Expression Library inspired by CEE"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libexif/default.nix b/pkgs/development/libraries/libexif/default.nix index 4843b65c4d38..ebcba0fa1553 100644 --- a/pkgs/development/libraries/libexif/default.nix +++ b/pkgs/development/libraries/libexif/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { homepage = http://libexif.sourceforge.net/; description = "A library to read and manipulate EXIF data in digital photographs"; license = stdenv.lib.licenses.lgpl21; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libextractor/default.nix b/pkgs/development/libraries/libextractor/default.nix index 2b6571290dfb..6f1981d0ece7 100644 --- a/pkgs/development/libraries/libextractor/default.nix +++ b/pkgs/development/libraries/libextractor/default.nix @@ -66,5 +66,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; maintainers = [ ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libf2c/default.nix b/pkgs/development/libraries/libf2c/default.nix index 3123bb33d45b..97168c3ae6c4 100644 --- a/pkgs/development/libraries/libf2c/default.nix +++ b/pkgs/development/libraries/libf2c/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec { description = "F2c converts Fortran 77 source code to C"; homepage = http://www.netlib.org/f2c/; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libftdi/default.nix b/pkgs/development/libraries/libftdi/default.nix index 6293632452ce..36f4a04c9df6 100644 --- a/pkgs/development/libraries/libftdi/default.nix +++ b/pkgs/development/libraries/libftdi/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "A library to talk to FTDI chips using libusb"; homepage = http://www.intra2net.com/en/developer/libftdi/; license = stdenv.lib.licenses.lgpl21; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libgdiplus/default.nix b/pkgs/development/libraries/libgdiplus/default.nix index 60995046982f..25c5a6d683d7 100644 --- a/pkgs/development/libraries/libgdiplus/default.nix +++ b/pkgs/development/libraries/libgdiplus/default.nix @@ -27,4 +27,8 @@ stdenv.mkDerivation rec { libjpeg libpng libXrender libexif ] ++ stdenv.lib.optional stdenv.isDarwin Carbon; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libgksu/default.nix b/pkgs/development/libraries/libgksu/default.nix index 249997d430f1..90d1b21cd3f0 100644 --- a/pkgs/development/libraries/libgksu/default.nix +++ b/pkgs/development/libraries/libgksu/default.nix @@ -76,5 +76,6 @@ stdenv.mkDerivation rec { homepage = "http://www.nongnu.org/gksu/"; license = stdenv.lib.licenses.lgpl2; maintainers = [ stdenv.lib.maintainers.romildo ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libgnurl/default.nix b/pkgs/development/libraries/libgnurl/default.nix index 943f276ed78d..2495c1505f0f 100644 --- a/pkgs/development/libraries/libgnurl/default.nix +++ b/pkgs/development/libraries/libgnurl/default.nix @@ -30,6 +30,6 @@ stdenv.mkDerivation rec { description = "A fork of libcurl used by GNUnet"; homepage = https://gnunet.org/gnurl; maintainers = with maintainers; [ falsifian vrthra ]; - hydraPlatforms = platforms.linux; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libgtop/default.nix b/pkgs/development/libraries/libgtop/default.nix index e430dc967f89..ac5b4dec07ba 100644 --- a/pkgs/development/libraries/libgtop/default.nix +++ b/pkgs/development/libraries/libgtop/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { propagatedBuildInputs = [ glib ]; nativeBuildInputs = [ pkgconfig perl intltool gobjectIntrospection ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libicns/default.nix b/pkgs/development/libraries/libicns/default.nix index 970a7a874979..08d80bcf9856 100644 --- a/pkgs/development/libraries/libicns/default.nix +++ b/pkgs/development/libraries/libicns/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ libpng jasper ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libid3tag/default.nix b/pkgs/development/libraries/libid3tag/default.nix index 4cc2f65440ca..b03d7643f0f3 100644 --- a/pkgs/development/libraries/libid3tag/default.nix +++ b/pkgs/development/libraries/libid3tag/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { homepage = http://mad.sourceforge.net/; license = licenses.gpl2; maintainers = [ maintainers.fuuzetsu ]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libinfinity/default.nix b/pkgs/development/libraries/libinfinity/default.nix index ad0fa8589f34..3e88ed99b85b 100644 --- a/pkgs/development/libraries/libinfinity/default.nix +++ b/pkgs/development/libraries/libinfinity/default.nix @@ -39,6 +39,7 @@ in stdenv.mkDerivation rec { description = "An implementation of the Infinote protocol written in GObject-based C"; license = stdenv.lib.licenses.lgpl2Plus; maintainers = [ stdenv.lib.maintainers.phreedom ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libiodbc/default.nix b/pkgs/development/libraries/libiodbc/default.nix index b97d4becb622..0cf07d0769ad 100644 --- a/pkgs/development/libraries/libiodbc/default.nix +++ b/pkgs/development/libraries/libiodbc/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { meta = { description = "iODBC driver manager"; homepage = http://www.iodbc.org; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libiptcdata/default.nix b/pkgs/development/libraries/libiptcdata/default.nix index 158962d32940..8e1ca68a69e7 100644 --- a/pkgs/development/libraries/libiptcdata/default.nix +++ b/pkgs/development/libraries/libiptcdata/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { description = "Library for reading and writing the IPTC metadata in images and other files"; homepage = http://libiptcdata.sourceforge.net/; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libisoburn/default.nix b/pkgs/development/libraries/libisoburn/default.nix index 20a779b8050e..e113d62c5f7d 100644 --- a/pkgs/development/libraries/libisoburn/default.nix +++ b/pkgs/development/libraries/libisoburn/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { description = "Enables creation and expansion of ISO-9660 filesystems on CD/DVD/BD "; license = licenses.gpl2Plus; maintainers = with maintainers; [ vrthra ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/libisofs/default.nix b/pkgs/development/libraries/libisofs/default.nix index e680e6ae51e2..85e32cc1af1f 100644 --- a/pkgs/development/libraries/libisofs/default.nix +++ b/pkgs/development/libraries/libisofs/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { description = "A library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet"; license = licenses.gpl2Plus; maintainers = with maintainers; [ abbradar vrthra ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/libixp-hg/default.nix b/pkgs/development/libraries/libixp-hg/default.nix index 80fe974fcf28..6245a810c1de 100644 --- a/pkgs/development/libraries/libixp-hg/default.nix +++ b/pkgs/development/libraries/libixp-hg/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { maintainers = with stdenv.lib.maintainers; [ kovirobi ]; license = stdenv.lib.licenses.mit; inherit version; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/libjpeg/62.nix b/pkgs/development/libraries/libjpeg/62.nix index fb92fe995b66..40e2ae62de7f 100644 --- a/pkgs/development/libraries/libjpeg/62.nix +++ b/pkgs/development/libraries/libjpeg/62.nix @@ -26,4 +26,8 @@ stdenv.mkDerivation { md5 = "092a12aeb0c386dd7dae059109d950ba"; }) ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libjpeg/default.nix b/pkgs/development/libraries/libjpeg/default.nix index 025be2009599..1529daa77bf0 100644 --- a/pkgs/development/libraries/libjpeg/default.nix +++ b/pkgs/development/libraries/libjpeg/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation { homepage = http://www.ijg.org/; description = "A library that implements the JPEG image file format"; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libjreen/default.nix b/pkgs/development/libraries/libjreen/default.nix index 04e37fd14f16..dec800da1694 100644 --- a/pkgs/development/libraries/libjreen/default.nix +++ b/pkgs/development/libraries/libjreen/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "C++ Jabber library using Qt framework"; homepage = "https://qutim.org/jreen/"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libjson/default.nix b/pkgs/development/libraries/libjson/default.nix index a22ae64dfde5..bc23e1f2958f 100644 --- a/pkgs/development/libraries/libjson/default.nix +++ b/pkgs/development/libraries/libjson/default.nix @@ -15,5 +15,6 @@ in stdenv.mkDerivation rec { homepage = "http://libjson.sourceforge.net/"; description = "A JSON reader and writer"; longDescription = "A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language."; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libkate/default.nix b/pkgs/development/libraries/libkate/default.nix index 1100c03e08f0..aee95b1f1af0 100644 --- a/pkgs/development/libraries/libkate/default.nix +++ b/pkgs/development/libraries/libkate/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { them.''; homepage = http://code.google.com/p/libkate; maintainers = [ stdenv.lib.maintainers.urkud ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmatchbox/default.nix b/pkgs/development/libraries/libmatchbox/default.nix index 6cb7defb097f..fcecd3a9d132 100644 --- a/pkgs/development/libraries/libmatchbox/default.nix +++ b/pkgs/development/libraries/libmatchbox/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "Library of the matchbox X window manager"; homepage = http://matchbox-project.org/; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmcs/default.nix b/pkgs/development/libraries/libmcs/default.nix index 5d13aa9a3cf2..23f333562dc5 100644 --- a/pkgs/development/libraries/libmcs/default.nix +++ b/pkgs/development/libraries/libmcs/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { meta = { description = "A library and set of userland tools which abstract the storage of configuration settings away from userland applications"; homepage = http://www.atheme.org/projects/mcs.shtml; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmhash/default.nix b/pkgs/development/libraries/libmhash/default.nix index 565340ac271f..d3f30a752732 100644 --- a/pkgs/development/libraries/libmhash/default.nix +++ b/pkgs/development/libraries/libmhash/default.nix @@ -1,6 +1,19 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { + pname = "mhash"; + version = "0.9.9.9"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; + sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; + }; + + dontDisableStatic = true; + + patches = [ ./autotools-define-conflict-debian-fix.patch ]; + meta = { description = "Hash algorithms library"; longDescription = '' @@ -11,18 +24,6 @@ stdenv.mkDerivation rec { ''; homepage = http://mhash.sourceforge.net; license = "LGPL"; + platforms = stdenv.lib.platforms.unix; }; - - pname = "mhash"; - version = "0.9.9.9"; - name = "${pname}-${version}"; - - dontDisableStatic = true; - - src = fetchurl { - url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; - sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; - }; - - patches = [ ./autotools-define-conflict-debian-fix.patch ]; } diff --git a/pkgs/development/libraries/libmicrohttpd/default.nix b/pkgs/development/libraries/libmicrohttpd/default.nix index 7ee0cbe1bd94..af1be85f592b 100644 --- a/pkgs/development/libraries/libmicrohttpd/default.nix +++ b/pkgs/development/libraries/libmicrohttpd/default.nix @@ -32,5 +32,6 @@ stdenv.mkDerivation rec { homepage = http://www.gnu.org/software/libmicrohttpd/; maintainers = [ maintainers.eelco maintainers.vrthra ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libmilter/default.nix b/pkgs/development/libraries/libmilter/default.nix index 23083ec77ac3..a5db2d235728 100644 --- a/pkgs/development/libraries/libmilter/default.nix +++ b/pkgs/development/libraries/libmilter/default.nix @@ -31,4 +31,8 @@ stdenv.mkDerivation rec { patches = [ ./install.patch ./sharedlib.patch]; buildInputs = [m4]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libmkv/default.nix b/pkgs/development/libraries/libmkv/default.nix index 84e484fcc3df..ab451fcd5fde 100644 --- a/pkgs/development/libraries/libmkv/default.nix +++ b/pkgs/development/libraries/libmkv/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/saintdev/libmkv; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.wmertens ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmng/default.nix b/pkgs/development/libraries/libmng/default.nix index b97ee6a4ced0..931db8bdf422 100644 --- a/pkgs/development/libraries/libmng/default.nix +++ b/pkgs/development/libraries/libmng/default.nix @@ -18,6 +18,6 @@ stdenv.mkDerivation rec { homepage = http://www.libmng.com; license = licenses.zlib; maintainers = with maintainers; [ marcweber urkud ]; - hydraPlatforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libmowgli/default.nix b/pkgs/development/libraries/libmowgli/default.nix index 71611e2ad5bc..06a98bcdcebf 100644 --- a/pkgs/development/libraries/libmowgli/default.nix +++ b/pkgs/development/libraries/libmowgli/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation rec { meta = { description = "A development framework for C providing high performance and highly flexible algorithms"; homepage = http://www.atheme.org/projects/mowgli.shtml; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmpcdec/default.nix b/pkgs/development/libraries/libmpcdec/default.nix index 2916b00eea7c..64cf460d75a0 100644 --- a/pkgs/development/libraries/libmpcdec/default.nix +++ b/pkgs/development/libraries/libmpcdec/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2; md5 = "7f7a060e83b4278acf4b77d7a7b9d2c0"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libmpeg2/default.nix b/pkgs/development/libraries/libmpeg2/default.nix index 19d912e5523c..dac7cf48aac7 100644 --- a/pkgs/development/libraries/libmpeg2/default.nix +++ b/pkgs/development/libraries/libmpeg2/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { description = "A free library for decoding mpeg-2 and mpeg-1 video streams"; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/libmsgpack/1.4.nix b/pkgs/development/libraries/libmsgpack/1.4.nix new file mode 100644 index 000000000000..2779162feb8a --- /dev/null +++ b/pkgs/development/libraries/libmsgpack/1.4.nix @@ -0,0 +1,12 @@ +{ callPackage, fetchFromGitHub, ... } @ args: + +callPackage ./generic.nix (args // rec { + version = "1.4.2"; + + src = fetchFromGitHub { + owner = "msgpack"; + repo = "msgpack-c"; + rev = "cpp-${version}"; + sha256 = "0zlanifi5hmm303pzykpidq5jbapl891zwkwhkllfn8ab1jvzbaa"; + }; +}) diff --git a/pkgs/development/libraries/libmsn/default.nix b/pkgs/development/libraries/libmsn/default.nix index 77fe3403de77..703c5e36b8b7 100644 --- a/pkgs/development/libraries/libmsn/default.nix +++ b/pkgs/development/libraries/libmsn/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation rec { }; patches = [ ./fix-ftbfs-gcc4.7.diff ]; buildInputs = [ cmake openssl ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libmspack/default.nix b/pkgs/development/libraries/libmspack/default.nix index 1b981edcdcd1..09d41c8bbe94 100644 --- a/pkgs/development/libraries/libmspack/default.nix +++ b/pkgs/development/libraries/libmspack/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation { description = "A de/compression library for various Microsoft formats"; homepage = http://www.cabextract.org.uk/libmspack; license = stdenv.lib.licenses.lgpl2; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libmx/default.nix b/pkgs/development/libraries/libmx/default.nix index ab2a2d2afddd..49760f7fc530 100644 --- a/pkgs/development/libraries/libmx/default.nix +++ b/pkgs/development/libraries/libmx/default.nix @@ -56,5 +56,6 @@ stdenv.mkDerivation rec { file.''; license = licenses.lgpl21; maintainers = with maintainers; [ cstrahan ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/libnfsidmap/default.nix b/pkgs/development/libraries/libnfsidmap/default.nix index 7ffca47fa005..74562ebe1326 100644 --- a/pkgs/development/libraries/libnfsidmap/default.nix +++ b/pkgs/development/libraries/libnfsidmap/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { homepage = http://www.citi.umich.edu/projects/nfsv4/linux/; description = "Library for holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4"; license = "BSD"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libnice/default.nix b/pkgs/development/libraries/libnice/default.nix index 003b2acc9209..a9d07701dd90 100644 --- a/pkgs/development/libraries/libnice/default.nix +++ b/pkgs/development/libraries/libnice/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements.''; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libnih/default.nix b/pkgs/development/libraries/libnih/default.nix index ab6931c63ca3..fdbc2ac88003 100644 --- a/pkgs/development/libraries/libnih/default.nix +++ b/pkgs/development/libraries/libnih/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "A small library for C application development"; homepage = https://launchpad.net/libnih; license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libnotify/default.nix b/pkgs/development/libraries/libnotify/default.nix index 2b82fe2a4bc5..c26a64ec8041 100644 --- a/pkgs/development/libraries/libnotify/default.nix +++ b/pkgs/development/libraries/libnotify/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://galago-project.org/; # very obsolete but found no better description = "A library that sends desktop notifications to a notification daemon"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libnova/default.nix b/pkgs/development/libraries/libnova/default.nix index b56697865a7a..a66a1a88c743 100644 --- a/pkgs/development/libraries/libnova/default.nix +++ b/pkgs/development/libraries/libnova/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation rec { meta = { description = "Celestial Mechanics, Astrometry and Astrodynamics Library"; homepage = http://libnova.sf.net; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libofa/default.nix b/pkgs/development/libraries/libofa/default.nix index 6ffef2140ec2..a59420a7045d 100644 --- a/pkgs/development/libraries/libofa/default.nix +++ b/pkgs/development/libraries/libofa/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { longDescription = '' LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint created and provided by MusicIP''; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/liboggz/default.nix b/pkgs/development/libraries/liboggz/default.nix index 857455fb4f33..0689be2c6216 100644 --- a/pkgs/development/libraries/liboggz/default.nix +++ b/pkgs/development/libraries/liboggz/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec { support the Ogg Vorbis audio format but now used for many free codecs including Dirac, FLAC, Speex and Theora.''; maintainers = [ stdenv.lib.maintainers.urkud ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/liboop/default.nix b/pkgs/development/libraries/liboop/default.nix index a963288e869a..73d51ec49ffc 100644 --- a/pkgs/development/libraries/liboop/default.nix +++ b/pkgs/development/libraries/liboop/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation { description = "Event loop library"; homepage = http://liboop.ofb.net/; license = "LGPL"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libosmpbf/default.nix b/pkgs/development/libraries/libosmpbf/default.nix index 334748d668c4..54ee86f0a39a 100644 --- a/pkgs/development/libraries/libosmpbf/default.nix +++ b/pkgs/development/libraries/libosmpbf/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/scrosby/OSM-binary; description = "C library to read and write OpenStreetMap PBF files"; license = stdenv.lib.licenses.lgpl3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libpaper/default.nix b/pkgs/development/libraries/libpaper/default.nix index ab8e03b89a07..7bc4b316673f 100644 --- a/pkgs/development/libraries/libpaper/default.nix +++ b/pkgs/development/libraries/libpaper/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { description = "Library for handling paper characteristics"; homepage = "http://packages.debian.org/unstable/source/libpaper"; license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libpar2/default.nix b/pkgs/development/libraries/libpar2/default.nix index 89d9a3de02f2..1c88167078f9 100644 --- a/pkgs/development/libraries/libpar2/default.nix +++ b/pkgs/development/libraries/libpar2/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = http://parchive.sourceforge.net/; license = stdenv.lib.licenses.gpl2Plus; description = "A library for using Parchives (parity archive volume sets)"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libpcap/default.nix b/pkgs/development/libraries/libpcap/default.nix index b8985bbed82f..d23d123a99c0 100644 --- a/pkgs/development/libraries/libpcap/default.nix +++ b/pkgs/development/libraries/libpcap/default.nix @@ -32,5 +32,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.tcpdump.org; description = "Packet Capture Library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libpgf/default.nix b/pkgs/development/libraries/libpgf/default.nix index 964896131c93..f8c91df64683 100644 --- a/pkgs/development/libraries/libpgf/default.nix +++ b/pkgs/development/libraries/libpgf/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation { homepage = http://www.libpgf.org/; description = "Progressive Graphics Format"; license = stdenv.lib.licenses.lgpl21Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libpng/12.nix b/pkgs/development/libraries/libpng/12.nix index e52f209dd3c9..e181d680eff9 100644 --- a/pkgs/development/libraries/libpng/12.nix +++ b/pkgs/development/libraries/libpng/12.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { license = licenses.libpng; maintainers = [ maintainers.fuuzetsu ]; branch = "1.2"; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix index 0f0808506398..76452af0c475 100644 --- a/pkgs/development/libraries/libproxy/default.nix +++ b/pkgs/development/libraries/libproxy/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ zlib ] # now some optional deps, but many more are possible ++ [ glib ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libpseudo/default.nix b/pkgs/development/libraries/libpseudo/default.nix index 8d1288f98ce5..34e9bb12754d 100644 --- a/pkgs/development/libraries/libpseudo/default.nix +++ b/pkgs/development/libraries/libpseudo/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { homepage = http://libpseudo.sourceforge.net/; description = "Simple, thread-safe messaging between threads"; license = licenses.gpl2Plus; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libpsl/default.nix b/pkgs/development/libraries/libpsl/default.nix index 2dce91bc0142..e4cb2e61eeb0 100644 --- a/pkgs/development/libraries/libpsl/default.nix +++ b/pkgs/development/libraries/libpsl/default.nix @@ -11,14 +11,14 @@ let owner = "publicsuffix"; }; - libVersion = "0.13.0"; + libVersion = "0.14.0"; in stdenv.mkDerivation rec { name = "libpsl-${version}"; version = "${libVersion}-list-${listVersion}"; src = fetchFromGitHub { - sha256 = "12inl984r2qks51wyrzgll83y7k79q2lbhyc545dpk19qnfvp7gz"; + sha256 = "1nqawm41rxaxddrqnwhxw1cgcpf74q6jw756sh0x8zbsjc73mbfq"; rev = "libpsl-${libVersion}"; repo = "libpsl"; owner = "rockdaboot"; @@ -29,7 +29,7 @@ in stdenv.mkDerivation rec { postPatch = '' substituteInPlace src/psl.c --replace bits/stat.h sys/stat.h - patchShebangs src/make_dafsa.py + patchShebangs src/psl-make-dafsa ''; preAutoreconf = '' diff --git a/pkgs/development/libraries/libpst/default.nix b/pkgs/development/libraries/libpst/default.nix index 78c65d03bfd1..a67395182e1d 100644 --- a/pkgs/development/libraries/libpst/default.nix +++ b/pkgs/development/libraries/libpst/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { description = "A library to read PST (MS Outlook Personal Folders) files"; license = licenses.gpl2; maintainers = [maintainers.tohl]; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libpwquality/default.nix b/pkgs/development/libraries/libpwquality/default.nix index fa272f2ec6f1..3e4fe99df4ca 100644 --- a/pkgs/development/libraries/libpwquality/default.nix +++ b/pkgs/development/libraries/libpwquality/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ cracklib python ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/librdf/redland.nix b/pkgs/development/libraries/librdf/redland.nix index 34eabfe64732..8e6fa005635f 100644 --- a/pkgs/development/libraries/librdf/redland.nix +++ b/pkgs/development/libraries/librdf/redland.nix @@ -35,5 +35,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://librdf.org/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libresample/default.nix b/pkgs/development/libraries/libresample/default.nix index 831292bf1d93..3684fd924f77 100644 --- a/pkgs/development/libraries/libresample/default.nix +++ b/pkgs/development/libraries/libresample/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation { license = stdenv.lib.licenses.lgpl2Plus; homepage = https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html; maintainers = [ stdenv.lib.maintainers.sander ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libressl/2.2.nix b/pkgs/development/libraries/libressl/2.2.nix deleted file mode 100644 index 93d61b6a4bb6..000000000000 --- a/pkgs/development/libraries/libressl/2.2.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ stdenv, fetchurl }: - -stdenv.mkDerivation rec { - name = "libressl-${version}"; - version = "2.2.9"; - - src = fetchurl { - url = "mirror://openbsd/LibreSSL/${name}.tar.gz"; - sha256 = "0i2cbkj07kcs2is8k8wirvywg4az3wk4s3q1slwp4qw3x9vz63vi"; - }; - - enableParallelBuilding = true; - - outputs = [ "dev" "out" "man" "bin" ]; - - meta = with stdenv.lib; { - description = "Free TLS/SSL implementation"; - homepage = "http://www.libressl.org"; - platforms = platforms.all; - maintainers = with maintainers; [ thoughtpolice wkennington fpletz globin ]; - }; -} diff --git a/pkgs/development/libraries/libressl/2.3.nix b/pkgs/development/libraries/libressl/2.3.nix index a143547ca04a..fed460a134be 100644 --- a/pkgs/development/libraries/libressl/2.3.nix +++ b/pkgs/development/libraries/libressl/2.3.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "libressl-${version}"; - version = "2.3.6"; + version = "2.3.7"; src = fetchurl { url = "mirror://openbsd/LibreSSL/${name}.tar.gz"; - sha256 = "1yipsp1ici207nbminbf1knh252kzvqg036v0xpx0fw1wrwlg2im"; + sha256 = "0q08yysyalz0fvzajm3x4wg4k6gn4hhd04qsfv27r1p4kj2mv7zm"; }; enableParallelBuilding = true; diff --git a/pkgs/development/libraries/libressl/2.4.nix b/pkgs/development/libraries/libressl/2.4.nix index e9e0b350473d..332102658f9a 100644 --- a/pkgs/development/libraries/libressl/2.4.nix +++ b/pkgs/development/libraries/libressl/2.4.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "libressl-${version}"; - version = "2.4.1"; + version = "2.4.2"; src = fetchurl { url = "mirror://openbsd/LibreSSL/${name}.tar.gz"; - sha256 = "0xq4x1s91aqzrf8j9d4kf4j093cz2ayg0xrybsl4gkb966qj468j"; + sha256 = "1qyrcyzrrn6r9cqvm66ib72qyr65q4hrdyiq1vb24a6nwmwdg1sz"; }; enableParallelBuilding = true; diff --git a/pkgs/development/libraries/librsvg/default.nix b/pkgs/development/libraries/librsvg/default.nix index 6147e847b33d..d6a527ea3153 100644 --- a/pkgs/development/libraries/librsvg/default.nix +++ b/pkgs/development/libraries/librsvg/default.nix @@ -52,4 +52,8 @@ stdenv.mkDerivation rec { cat ${gdk_pixbuf.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache $GDK_PIXBUF/loaders.cache.tmp > $GDK_PIXBUF/loaders.cache rm $GDK_PIXBUF/loaders.cache.tmp ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/librsync/0.9.nix b/pkgs/development/libraries/librsync/0.9.nix index 76daf7d748bf..9738794b6b17 100644 --- a/pkgs/development/libraries/librsync/0.9.nix +++ b/pkgs/development/libraries/librsync/0.9.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation { homepage = http://librsync.sourceforge.net/; license = stdenv.lib.licenses.lgpl2Plus; description = "Implementation of the rsync remote-delta algorithm"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libshout/default.nix b/pkgs/development/libraries/libshout/default.nix index 956b3148ad79..1cf937586c36 100644 --- a/pkgs/development/libraries/libshout/default.nix +++ b/pkgs/development/libraries/libshout/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ jcumming ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/libsieve/default.nix b/pkgs/development/libraries/libsieve/default.nix index 32fec68ad012..122ece574e63 100644 --- a/pkgs/development/libraries/libsieve/default.nix +++ b/pkgs/development/libraries/libsieve/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { description = "An interpreter for RFC 3028 Sieve and various extensions"; homepage = "http://sodabrew.com/libsieve/"; license = licenses.lgpl21; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libsigcxx/1.2.nix b/pkgs/development/libraries/libsigcxx/1.2.nix index 896b321272a9..842471a263d9 100644 --- a/pkgs/development/libraries/libsigcxx/1.2.nix +++ b/pkgs/development/libraries/libsigcxx/1.2.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { homepage = http://libsigc.sourceforge.net/; description = "A typesafe callback system for standard C++"; branch = "1.2"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libsigsegv/2.5.nix b/pkgs/development/libraries/libsigsegv/2.5.nix index 81b563bb0228..0712ba92f60a 100644 --- a/pkgs/development/libraries/libsigsegv/2.5.nix +++ b/pkgs/development/libraries/libsigsegv/2.5.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { homepage = http://libsigsegv.sf.net; description = "A library for handling page faults in user mode"; branch = "2.5"; + platforms = stdenv.lib.platforms.linux; }; doCheck = true; diff --git a/pkgs/development/libraries/libsigsegv/default.nix b/pkgs/development/libraries/libsigsegv/default.nix index cabdd1385d74..be3cbe39a302 100644 --- a/pkgs/development/libraries/libsigsegv/default.nix +++ b/pkgs/development/libraries/libsigsegv/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; maintainers = [ ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libsixel/default.nix b/pkgs/development/libraries/libsixel/default.nix index 86f6a7f24798..b57247b8fa23 100644 --- a/pkgs/development/libraries/libsixel/default.nix +++ b/pkgs/development/libraries/libsixel/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { homepage = http://saitoha.github.com/libsixel; maintainers = with maintainers; [ vrthra ]; license = licenses.mit; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libspatialindex/default.nix b/pkgs/development/libraries/libspatialindex/default.nix index bd38c37a57b3..660d7e16310f 100644 --- a/pkgs/development/libraries/libspatialindex/default.nix +++ b/pkgs/development/libraries/libspatialindex/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "Extensible spatial index library in C++"; homepage = http://libspatialindex.github.io/; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libspectre/default.nix b/pkgs/development/libraries/libspectre/default.nix index 5c10fff50ad3..a04c5631ecbc 100644 --- a/pkgs/development/libraries/libspectre/default.nix +++ b/pkgs/development/libraries/libspectre/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec { ''; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libsrs2/default.nix b/pkgs/development/libraries/libsrs2/default.nix index 19b490a0f186..a2e94c33ce32 100644 --- a/pkgs/development/libraries/libsrs2/default.nix +++ b/pkgs/development/libraries/libsrs2/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { description = "The next generation SRS library from the original designer of SRS"; license = with lib.licenses; [ gpl2 bsd3 ]; homepage = http://www.libsrs2.org/; + platforms = stdenv.lib.platforms.linux; }; -} \ No newline at end of file +} diff --git a/pkgs/development/libraries/libstroke/default.nix b/pkgs/development/libraries/libstroke/default.nix index 3a09a0de4bfb..29fa8fc339f9 100644 --- a/pkgs/development/libraries/libstroke/default.nix +++ b/pkgs/development/libraries/libstroke/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation { easy to work with, and notably used by FVWM. ''; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libtap/default.nix b/pkgs/development/libraries/libtap/default.nix index a81d5a686bc7..35d3d759ea8f 100644 --- a/pkgs/development/libraries/libtap/default.nix +++ b/pkgs/development/libraries/libtap/default.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec{ homepage = "http://www.shlomifish.org/open-source/projects/libtap/"; license = licenses.bsd3; maintainers = [ maintainers.AndersonTorres ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libtermkey/default.nix b/pkgs/development/libraries/libtermkey/default.nix index bbc7c9a6094a..43c8292a2007 100644 --- a/pkgs/development/libraries/libtermkey/default.nix +++ b/pkgs/development/libraries/libtermkey/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Terminal keypress reading library"; license = licenses.mit; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libtiger/default.nix b/pkgs/development/libraries/libtiger/default.nix index 5461421769ba..58e92f110185 100644 --- a/pkgs/development/libraries/libtiger/default.nix +++ b/pkgs/development/libraries/libtiger/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { homepage = http://code.google.com/p/libtiger/; authors = [ "Vincent Penquerc'h" ]; description = "A rendering library for Kate streams using Pango and Cairo"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libtomcrypt/default.nix b/pkgs/development/libraries/libtomcrypt/default.nix index 896c907bbc85..0c53a3e3dade 100644 --- a/pkgs/development/libraries/libtomcrypt/default.nix +++ b/pkgs/development/libraries/libtomcrypt/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation { meta = { homepage = "http://libtom.org/?page=features&newsitems=5&whatfile=crypt"; description = "A fairly comprehensive, modular and portable cryptographic toolkit"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libtommath/default.nix b/pkgs/development/libraries/libtommath/default.nix index 8e9b79b39d3b..8b7c06b98dca 100644 --- a/pkgs/development/libraries/libtommath/default.nix +++ b/pkgs/development/libraries/libtommath/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation { meta = { homepage = http://math.libtomcrypt.com/; description = "A library for integer-based number-theoretic applications"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libtorrent-rasterbar/generic.nix b/pkgs/development/libraries/libtorrent-rasterbar/generic.nix index e8ccbbee488a..d0b69e0348fc 100644 --- a/pkgs/development/libraries/libtorrent-rasterbar/generic.nix +++ b/pkgs/development/libraries/libtorrent-rasterbar/generic.nix @@ -37,5 +37,6 @@ stdenv.mkDerivation rec { description = "A C++ BitTorrent implementation focusing on efficiency and scalability"; license = licenses.bsd3; maintainers = [ maintainers.phreedom ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libtsm/default.nix b/pkgs/development/libraries/libtsm/default.nix index b1d149a04454..da8fe5075405 100644 --- a/pkgs/development/libraries/libtsm/default.nix +++ b/pkgs/development/libraries/libtsm/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/"; license = licenses.mit; maintainers = with maintainers; [ cstrahan ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libtunepimp/default.nix b/pkgs/development/libraries/libtunepimp/default.nix index e1279a566675..0d929941044c 100644 --- a/pkgs/development/libraries/libtunepimp/default.nix +++ b/pkgs/development/libraries/libtunepimp/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${name}.tar.gz"; sha256 = "0s141zmsxv8xlivcgcmy6xhk9cyjjxmr1fy45xiqfqrqpsh485rl"; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libtxc_dxtn/default.nix b/pkgs/development/libraries/libtxc_dxtn/default.nix index 33e01f86dacf..170af8f172eb 100644 --- a/pkgs/development/libraries/libtxc_dxtn/default.nix +++ b/pkgs/development/libraries/libtxc_dxtn/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://dri.freedesktop.org/wiki/S3TC; repositories.git = git://people.freedesktop.org/~mareko/libtxc_dxtn; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libuchardet/default.nix b/pkgs/development/libraries/libuchardet/default.nix index 4b81152a4329..ea411d73b318 100644 --- a/pkgs/development/libraries/libuchardet/default.nix +++ b/pkgs/development/libraries/libuchardet/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { homepage = https://www.byvoid.com/zht/project/uchardet; license = licenses.mpl11; maintainers = with maintainers; [ cstrahan ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libunique/3.x.nix b/pkgs/development/libraries/libunique/3.x.nix index eea8d70e15da..8d1077ee6a00 100644 --- a/pkgs/development/libraries/libunique/3.x.nix +++ b/pkgs/development/libraries/libunique/3.x.nix @@ -24,5 +24,6 @@ stdenv.mkDerivation rec { description = "A library for writing single instance applications"; license = licenses.lgpl21; maintainers = [ maintainers.AndersonTorres ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libunique/default.nix b/pkgs/development/libraries/libunique/default.nix index f60043f18b17..0cdcbd72bae1 100644 --- a/pkgs/development/libraries/libunique/default.nix +++ b/pkgs/development/libraries/libunique/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = http://live.gnome.org/LibUnique; description = "A library for writing single instance applications"; license = stdenv.lib.licenses.lgpl21; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libusb/default.nix b/pkgs/development/libraries/libusb/default.nix index b1872779b707..d5f08537e5be 100644 --- a/pkgs/development/libraries/libusb/default.nix +++ b/pkgs/development/libraries/libusb/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/libusb/libusb-compat-0.1.5.tar.bz2; sha256 = "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libusbmuxd/default.nix b/pkgs/development/libraries/libusbmuxd/default.nix index 458798f9382a..478052dd5365 100644 --- a/pkgs/development/libraries/libusbmuxd/default.nix +++ b/pkgs/development/libraries/libusbmuxd/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.libimobiledevice.org"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libviper/default.nix b/pkgs/development/libraries/libviper/default.nix index c0880ee896f6..90c1f07da5ae 100644 --- a/pkgs/development/libraries/libviper/default.nix +++ b/pkgs/development/libraries/libviper/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { homepage = http://libviper.sourceforge.net/; description = "Simple window creation and management facilities for the console"; license = licenses.gpl2Plus; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/libwmf/default.nix b/pkgs/development/libraries/libwmf/default.nix index bdede8f18cfd..229563d46af8 100644 --- a/pkgs/development/libraries/libwmf/default.nix +++ b/pkgs/development/libraries/libwmf/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation { meta = { description = "WMF library from wvWare"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libwnck/3.x.nix b/pkgs/development/libraries/libwnck/3.x.nix index a763af96667b..20502e297bf8 100644 --- a/pkgs/development/libraries/libwnck/3.x.nix +++ b/pkgs/development/libraries/libwnck/3.x.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig intltool ]; propagatedBuildInputs = [ libX11 gtk3 ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libwpd/0.8.nix b/pkgs/development/libraries/libwpd/0.8.nix index 536db35fb4e9..49012f8bddf8 100644 --- a/pkgs/development/libraries/libwpd/0.8.nix +++ b/pkgs/development/libraries/libwpd/0.8.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ glib libgsf libxml2 ]; nativeBuildInputs = [ pkgconfig bzip2 ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libwpd/default.nix b/pkgs/development/libraries/libwpd/default.nix index 01ae59efdf41..56c598ca7de9 100644 --- a/pkgs/development/libraries/libwpd/default.nix +++ b/pkgs/development/libraries/libwpd/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "A library for importing and exporting WordPerfect documents"; homepage = http://libwpd.sourceforge.net/; license = licenses.lgpl21; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/libxdg-basedir/default.nix b/pkgs/development/libraries/libxdg-basedir/default.nix index 4b0c4db2d9c8..a8a6200519ee 100644 --- a/pkgs/development/libraries/libxdg-basedir/default.nix +++ b/pkgs/development/libraries/libxdg-basedir/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation rec { homepage = http://n.ethz.ch/student/nevillm/download/libxdg-basedir/; description = "Implementation of the XDG Base Directory specification"; license = "BSD"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/libxkbcommon/default.nix b/pkgs/development/libraries/libxkbcommon/default.nix index 7087142a2aa9..205ebc85a121 100644 --- a/pkgs/development/libraries/libxkbcommon/default.nix +++ b/pkgs/development/libraries/libxkbcommon/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = http://xkbcommon.org; license = licenses.mit; maintainers = with maintainers; [ garbas ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/libxklavier/default.nix b/pkgs/development/libraries/libxklavier/default.nix index f074b31bb682..46fe515faafa 100644 --- a/pkgs/development/libraries/libxklavier/default.nix +++ b/pkgs/development/libraries/libxklavier/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { description = "Library providing high-level API for X Keyboard Extension known as XKB"; homepage = http://freedesktop.org/wiki/Software/LibXklavier; license = licenses.lgpl2Plus; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/lightning/default.nix b/pkgs/development/libraries/lightning/default.nix index 3805e8c1ce84..5868fdf8b63a 100644 --- a/pkgs/development/libraries/lightning/default.nix +++ b/pkgs/development/libraries/lightning/default.nix @@ -28,5 +28,6 @@ stdenv.mkDerivation rec { ''; maintainers = [ maintainers.AndersonTorres ]; license = licenses.lgpl3Plus; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/log4cplus/default.nix b/pkgs/development/libraries/log4cplus/default.nix index fbae5245b6d9..133bc13d1cce 100644 --- a/pkgs/development/libraries/log4cplus/default.nix +++ b/pkgs/development/libraries/log4cplus/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation { homepage = "http://log4cplus.sourceforge.net/"; description = "A port the log4j library from Java to C++"; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/log4cpp/default.nix b/pkgs/development/libraries/log4cpp/default.nix index d4400d840c0b..b5a6ecac9cf2 100644 --- a/pkgs/development/libraries/log4cpp/default.nix +++ b/pkgs/development/libraries/log4cpp/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation rec { homepage = http://log4cpp.sourceforge.net/; description = "A logging framework for C++ patterned after Apache log4j"; license = stdenv.lib.licenses.lgpl21Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/log4cxx/default.nix b/pkgs/development/libraries/log4cxx/default.nix index cae6e5c0a55e..7e5a62e63f4e 100644 --- a/pkgs/development/libraries/log4cxx/default.nix +++ b/pkgs/development/libraries/log4cxx/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { homepage = http://logging.apache.org/log4cxx/index.html; description = "A logging framework for C++ patterned after Apache log4j"; license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/loudmouth/default.nix b/pkgs/development/libraries/loudmouth/default.nix index 1e3ed216f5a8..dfb3077f58ff 100644 --- a/pkgs/development/libraries/loudmouth/default.nix +++ b/pkgs/development/libraries/loudmouth/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { meta = { description = "A lightweight C library for the Jabber protocol"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/luabind/default.nix b/pkgs/development/libraries/luabind/default.nix index e03535ba979e..50baad6a7a0b 100644 --- a/pkgs/development/libraries/luabind/default.nix +++ b/pkgs/development/libraries/luabind/default.nix @@ -26,5 +26,6 @@ stdenv.mkDerivation rec { homepage = https://github.com/luabind/luabind; description = "A library that helps you create bindings between C++ and Lua"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/lucene++/default.nix b/pkgs/development/libraries/lucene++/default.nix index 74c7b5e72613..9f9b6aa44829 100644 --- a/pkgs/development/libraries/lucene++/default.nix +++ b/pkgs/development/libraries/lucene++/default.nix @@ -42,5 +42,6 @@ stdenv.mkDerivation rec { description = "C++ port of the popular Java Lucene search engine"; homepage = "https://github.com/luceneplusplus/LucenePlusPlus"; license = with stdenv.lib.licenses; [ asl20 lgpl3Plus ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/mesa-glu/default.nix b/pkgs/development/libraries/mesa-glu/default.nix index 8d433461d0c5..a0d17666d524 100644 --- a/pkgs/development/libraries/mesa-glu/default.nix +++ b/pkgs/development/libraries/mesa-glu/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "OpenGL utility library"; homepage = http://cgit.freedesktop.org/mesa/glu/; license = stdenv.lib.licenses.sgi-b-20; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/miniball/default.nix b/pkgs/development/libraries/miniball/default.nix index 57fb2cef35ea..791cc9f3f911 100644 --- a/pkgs/development/libraries/miniball/default.nix +++ b/pkgs/development/libraries/miniball/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { homepage = https://www.inf.ethz.ch/personal/gaertner/miniball.html; license = stdenv.lib.licenses.gpl3; maintainers = [ stdenv.lib.maintainers.erikryb ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/minizip/default.nix b/pkgs/development/libraries/minizip/default.nix index 22657cf38993..d9bac46230ac 100644 --- a/pkgs/development/libraries/minizip/default.nix +++ b/pkgs/development/libraries/minizip/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { buildInputs = [ zlib ]; sourceRoot = "zlib-${zlib.version}/contrib/minizip"; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/motif/Add-X.Org-to-bindings-file.patch b/pkgs/development/libraries/motif/Add-X.Org-to-bindings-file.patch new file mode 100644 index 000000000000..84b62dcd4eb0 --- /dev/null +++ b/pkgs/development/libraries/motif/Add-X.Org-to-bindings-file.patch @@ -0,0 +1,7 @@ +--- a/bindings/xmbind.alias ++++ b/bindings/xmbind.alias +@@ -62,3 +62,4 @@ + "Sun Microsystems, Inc." sun + ! "Sun Microsystems, Inc." sun_at + "Tektronix, Inc." tek ++"The X.Org Foundation" tpc diff --git a/pkgs/development/libraries/motif/Do-not-compile-demos.patch b/pkgs/development/libraries/motif/Do-not-compile-demos.patch new file mode 100644 index 000000000000..1b8df94d0077 --- /dev/null +++ b/pkgs/development/libraries/motif/Do-not-compile-demos.patch @@ -0,0 +1,11 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -27,7 +27,6 @@ SUBDIRS = bindings bitmaps \ + include \ + tools \ + clients \ +- doc \ +- demos ++ doc + AUTOMAKE_OPTIONS = 1.4 + ACLOCAL_AMFLAGS = -I . diff --git a/pkgs/development/libraries/motif/Remove-unsupported-weak-refs-on-darwin.patch b/pkgs/development/libraries/motif/Remove-unsupported-weak-refs-on-darwin.patch new file mode 100644 index 000000000000..801310ba41ce --- /dev/null +++ b/pkgs/development/libraries/motif/Remove-unsupported-weak-refs-on-darwin.patch @@ -0,0 +1,12 @@ +--- a/lib/Xm/XmP.h ++++ b/lib/Xm/XmP.h +@@ -1437,7 +1437,7 @@ extern void _XmDestroyParentCallback( + + #endif /* NO_XM_1_2_BC */ + +-#if __GNUC__ ++#if __GNUC__ && ! __APPLE__ + # define XM_DEPRECATED __attribute__((__deprecated__)) + # define XM_ALIAS(sym) __attribute__((__weak__,alias(#sym))) + #else + diff --git a/pkgs/development/libraries/motif/Use-correct-header-for-malloc.patch b/pkgs/development/libraries/motif/Use-correct-header-for-malloc.patch new file mode 100644 index 000000000000..d91e43ba2d3c --- /dev/null +++ b/pkgs/development/libraries/motif/Use-correct-header-for-malloc.patch @@ -0,0 +1,19 @@ +--- a/demos/programs/workspace/xrmLib.c ++++ b/demos/programs/workspace/xrmLib.c +@@ -30,7 +30,14 @@ static char rcsid[] = "$XConsortium: xrmLib.c /main/6 1995/07/14 10:01:41 drk $" + #endif + + #include <stdio.h> +-#include <malloc.h> ++#if defined(__cplusplus) || defined(__STDC__) || defined(__EXTENSIONS__) ++# include <stdlib.h> ++# if defined(HAVE_MALLOC_H) ++# include <malloc.h> ++# elif defined(HAVE_SYS_MALLOC_H) ++# include <sys/malloc.h> ++# endif ++#endif + #include <Xm/Xm.h> + #include "wsm.h" + #include "wsmDebug.h" + diff --git a/pkgs/development/libraries/motif/default.nix b/pkgs/development/libraries/motif/default.nix index 9d50fb3d3d19..08b59deff59d 100644 --- a/pkgs/development/libraries/motif/default.nix +++ b/pkgs/development/libraries/motif/default.nix @@ -17,29 +17,29 @@ stdenv.mkDerivation rec { }; buildInputs = [ - pkgconfig libtool + libtool xlibsWrapper xbitmaps libXrender libXmu libXt expat libjpeg libpng libiconv - ] ++ stdenv.lib.optionals (!demoSupport) [ autoconf automake ]; + ]; - nativeBuildInputs = [ flex ]; + nativeBuildInputs = [ pkgconfig flex ] ++ stdenv.lib.optionals (!demoSupport) [ autoconf automake ]; propagatedBuildInputs = [ libXp libXau ]; makeFlags = [ "CFLAGS=-fno-strict-aliasing" ]; - patchPhase = '' - rm lib/Xm/Xm.h - echo -e '"The X.Org Foundation"\t\t\t\t\tpc' >>bindings/xmbind.alias - '' + stdenv.lib.optionalString (!demoSupport) - '' - sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/[ \t\n\\]*demos//;}' Makefile.am - ''; + prePatch = ''rm lib/Xm/Xm.h''; + + patches = [ ./Remove-unsupported-weak-refs-on-darwin.patch + ./Use-correct-header-for-malloc.patch + ./Add-X.Org-to-bindings-file.patch + ] + ++ stdenv.lib.optional (!demoSupport) ./Do-not-compile-demos.patch; meta = with stdenv.lib; { homepage = http://motif.ics.com; description = "Unix standard widget-toolkit and window-manager"; - platforms = with platforms; linux; + platforms = with platforms; linux ++ darwin; license = with licenses; [ lgpl21 ]; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/development/libraries/msilbc/default.nix b/pkgs/development/libraries/msilbc/default.nix index 5f19fe2d1b25..1e868b79ce66 100644 --- a/pkgs/development/libraries/msilbc/default.nix +++ b/pkgs/development/libraries/msilbc/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation rec { buildInputs = [pkgconfig]; configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/muparser/default.nix b/pkgs/development/libraries/muparser/default.nix index b68f04f642fb..53f348f93f8e 100644 --- a/pkgs/development/libraries/muparser/default.nix +++ b/pkgs/development/libraries/muparser/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { homepage = http://muparser.sourceforge.net; description = "An extensible high performance math expression parser library written in C++"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/neon/0.29.nix b/pkgs/development/libraries/neon/0.29.nix index 1be9f453bb41..fbd0c053f047 100644 --- a/pkgs/development/libraries/neon/0.29.nix +++ b/pkgs/development/libraries/neon/0.29.nix @@ -40,5 +40,6 @@ stdenv.mkDerivation rec { meta = { description = "An HTTP and WebDAV client library"; homepage = http://www.webdav.org/neon/; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/neon/default.nix b/pkgs/development/libraries/neon/default.nix index 0ca64c9bb076..bd27790447a8 100644 --- a/pkgs/development/libraries/neon/default.nix +++ b/pkgs/development/libraries/neon/default.nix @@ -40,5 +40,6 @@ stdenv.mkDerivation rec { meta = { description = "An HTTP and WebDAV client library"; homepage = http://www.webdav.org/neon/; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/netcdf-cxx4/default.nix b/pkgs/development/libraries/netcdf-cxx4/default.nix index 9b2364e7090e..bf7b5397345a 100644 --- a/pkgs/development/libraries/netcdf-cxx4/default.nix +++ b/pkgs/development/libraries/netcdf-cxx4/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { description = "C++ API to manipulate netcdf files"; homepage = "http://www.unidata.ucar.edu/software/netcdf/"; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/netcdf-fortran/default.nix b/pkgs/development/libraries/netcdf-fortran/default.nix index e72155554753..53b2b6358649 100644 --- a/pkgs/development/libraries/netcdf-fortran/default.nix +++ b/pkgs/development/libraries/netcdf-fortran/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { homepage = "http://www.unidata.ucar.edu/software/netcdf/"; license = stdenv.lib.licenses.free; maintainers = stdenv.lib.maintainers.bzizou; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index 70426c00237a..06137bdad1fe 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -28,4 +28,8 @@ in stdenv.mkDerivation rec { "--enable-shared" ] ++ (stdenv.lib.optionals mpiSupport [ "--enable-parallel-tests" ]); + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/ocl-icd/default.nix b/pkgs/development/libraries/ocl-icd/default.nix index ac26ac7126fd..1cb8408416d3 100644 --- a/pkgs/development/libraries/ocl-icd/default.nix +++ b/pkgs/development/libraries/ocl-icd/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { description = "OpenCL ICD Loader"; homepage = https://forge.imag.fr/projects/ocl-icd/; license = licenses.bsd2; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/ode/default.nix b/pkgs/development/libraries/ode/default.nix index e7d2f2984fbe..b67288296606 100644 --- a/pkgs/development/libraries/ode/default.nix +++ b/pkgs/development/libraries/ode/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation rec { meta = { description = "Open Dynamics Engine"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/ogrepaged/default.nix b/pkgs/development/libraries/ogrepaged/default.nix index bff367f750b3..d42677254e35 100644 --- a/pkgs/development/libraries/ogrepaged/default.nix +++ b/pkgs/development/libraries/ogrepaged/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { description = "Paged Geometry for Ogre3D"; homepage = http://code.google.com/p/ogre-paged/; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/oniguruma/default.nix b/pkgs/development/libraries/oniguruma/default.nix index d12423ffc27c..62b0080fce0c 100644 --- a/pkgs/development/libraries/oniguruma/default.nix +++ b/pkgs/development/libraries/oniguruma/default.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation rec { description = "Regular expressions library"; license = stdenv.lib.licenses.bsd2; maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + platforms = with stdenv.lib.platforms; unix; }; } diff --git a/pkgs/development/libraries/opencl-headers/default.nix b/pkgs/development/libraries/opencl-headers/default.nix index 9b931894f66f..228e628aa191 100644 --- a/pkgs/development/libraries/opencl-headers/default.nix +++ b/pkgs/development/libraries/opencl-headers/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { description = "Khronos OpenCL headers"; homepage = https://www.khronos.org/registry/cl/; license = licenses.mit; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/opencl-icd/default.nix b/pkgs/development/libraries/opencl-icd/default.nix index 9f556739ae62..5cf144e198b3 100644 --- a/pkgs/development/libraries/opencl-icd/default.nix +++ b/pkgs/development/libraries/opencl-icd/default.nix @@ -12,4 +12,7 @@ in stdenv.mkDerivation { sha256 = "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc"; }; + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/openh264/default.nix b/pkgs/development/libraries/openh264/default.nix index 71983b30a2cb..8232af3e789e 100644 --- a/pkgs/development/libraries/openh264/default.nix +++ b/pkgs/development/libraries/openh264/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "A codec library which supports H.264 encoding and decoding"; homepage = http://www.openh264.org; license = stdenv.lib.licenses.bsd2; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/pangox-compat/default.nix b/pkgs/development/libraries/pangox-compat/default.nix index 6d79587abcb5..eb3c12023678 100644 --- a/pkgs/development/libraries/pangox-compat/default.nix +++ b/pkgs/development/libraries/pangox-compat/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { homepage = http://www.pango.org/; license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/pangoxsl/default.nix b/pkgs/development/libraries/pangoxsl/default.nix index eeff238fcca4..4a98704559b7 100644 --- a/pkgs/development/libraries/pangoxsl/default.nix +++ b/pkgs/development/libraries/pangoxsl/default.nix @@ -12,4 +12,8 @@ stdenv.mkDerivation { glib pango ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/pdf2xml/default.nix b/pkgs/development/libraries/pdf2xml/default.nix index 4ebb0cbcc260..52c785becc52 100644 --- a/pkgs/development/libraries/pdf2xml/default.nix +++ b/pkgs/development/libraries/pdf2xml/default.nix @@ -29,4 +29,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp exe/* $out/bin ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/physfs/default.nix b/pkgs/development/libraries/physfs/default.nix index 78cfeb13a2c5..a7551afd2126 100644 --- a/pkgs/development/libraries/physfs/default.nix +++ b/pkgs/development/libraries/physfs/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = "http://icculus.org/physfs/"; description = "Library to provide abstract access to various archives"; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/pkcs11helper/default.nix b/pkgs/development/libraries/pkcs11helper/default.nix index 4092783b0c9b..fa373a7e97f4 100644 --- a/pkgs/development/libraries/pkcs11helper/default.nix +++ b/pkgs/development/libraries/pkcs11helper/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper; license = with licenses; [ "BSD" gpl2 ]; description = "Library that simplifies the interaction with PKCS#11 providers"; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/plib/default.nix b/pkgs/development/libraries/plib/default.nix index eba74c0adc1d..51e59fda5ac1 100644 --- a/pkgs/development/libraries/plib/default.nix +++ b/pkgs/development/libraries/plib/default.nix @@ -48,5 +48,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.lgpl2Plus; homepage = http://plib.sourceforge.net/; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/pocketsphinx/default.nix b/pkgs/development/libraries/pocketsphinx/default.nix index 77d3abd4a5e4..ac4041ee9646 100644 --- a/pkgs/development/libraries/pocketsphinx/default.nix +++ b/pkgs/development/libraries/pocketsphinx/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { description = "Voice recognition library written in C"; homepage = http://cmusphinx.sourceforge.net; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/polkit-qt-1/qt-4.nix b/pkgs/development/libraries/polkit-qt-1/qt-4.nix index fa5c77aa27aa..523189c3b2e5 100644 --- a/pkgs/development/libraries/polkit-qt-1/qt-4.nix +++ b/pkgs/development/libraries/polkit-qt-1/qt-4.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation { meta = { description = "A Qt wrapper around PolKit"; maintainers = with stdenv.lib.maintainers; [ ttuegel ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/polkit-qt-1/qt-5.nix b/pkgs/development/libraries/polkit-qt-1/qt-5.nix index bdeb175b89f5..3c69c71d017f 100644 --- a/pkgs/development/libraries/polkit-qt-1/qt-5.nix +++ b/pkgs/development/libraries/polkit-qt-1/qt-5.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation { meta = { description = "A Qt wrapper around PolKit"; maintainers = with stdenv.lib.maintainers; [ ttuegel ]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/popt/default.nix b/pkgs/development/libraries/popt/default.nix index 02d758f89f26..441da25836d3 100644 --- a/pkgs/development/libraries/popt/default.nix +++ b/pkgs/development/libraries/popt/default.nix @@ -15,5 +15,6 @@ stdenv.mkDerivation rec { meta = { description = "Command line option parsing library"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/portmidi/default.nix b/pkgs/development/libraries/portmidi/default.nix index 518eeee92538..6ca35ab3c570 100644 --- a/pkgs/development/libraries/portmidi/default.nix +++ b/pkgs/development/libraries/portmidi/default.nix @@ -50,5 +50,6 @@ stdenv.mkDerivation rec { homepage = "http://portmedia.sourceforge.net/portmidi/"; description = "Platform independent library for MIDI I/O"; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/ppl/default.nix b/pkgs/development/libraries/ppl/default.nix index 96388c3a35a1..d6e699929bac 100644 --- a/pkgs/development/libraries/ppl/default.nix +++ b/pkgs/development/libraries/ppl/default.nix @@ -51,5 +51,6 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl3Plus; maintainers = [ ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/protobuf/generic.nix b/pkgs/development/libraries/protobuf/generic.nix index f67d877cda04..d4b7c77a5fef 100644 --- a/pkgs/development/libraries/protobuf/generic.nix +++ b/pkgs/development/libraries/protobuf/generic.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { license = "mBSD"; homepage = https://developers.google.com/protocol-buffers/; + platforms = stdenv.lib.platforms.unix; }; passthru.version = version; diff --git a/pkgs/development/libraries/pupnp/default.nix b/pkgs/development/libraries/pupnp/default.nix index c5e26c1dfad5..9d47b5575515 100644 --- a/pkgs/development/libraries/pupnp/default.nix +++ b/pkgs/development/libraries/pupnp/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { license = "BSD-style"; homepage = http://pupnp.sourceforge.net/; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/qca-qt5/default.nix b/pkgs/development/libraries/qca-qt5/default.nix index 7ee115916053..9433eb87109f 100644 --- a/pkgs/development/libraries/qca-qt5/default.nix +++ b/pkgs/development/libraries/qca-qt5/default.nix @@ -16,5 +16,6 @@ stdenv.mkDerivation rec { homepage = http://delta.affinix.com/qca; maintainers = with maintainers; [ ttuegel ]; license = licenses.lgpl21Plus; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/qca2/default.nix b/pkgs/development/libraries/qca2/default.nix index 4e6b50502d62..431fd432ecb6 100644 --- a/pkgs/development/libraries/qca2/default.nix +++ b/pkgs/development/libraries/qca2/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { license = "LGPL"; homepage = http://delta.affinix.com/qca; maintainers = [ maintainers.sander maintainers.urkud ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/qhull/default.nix b/pkgs/development/libraries/qhull/default.nix index f98c7bdb97e4..58d11c04fcca 100644 --- a/pkgs/development/libraries/qhull/default.nix +++ b/pkgs/development/libraries/qhull/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { homepage = http://www.qhull.org/; description = "Computes the convex hull, Delaunay triangulation, Voronoi diagram and more"; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/qimageblitz/default.nix b/pkgs/development/libraries/qimageblitz/default.nix index dcf453fd8e1d..4e74e31e3ec8 100644 --- a/pkgs/development/libraries/qimageblitz/default.nix +++ b/pkgs/development/libraries/qimageblitz/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation { description = "Graphical effect and filter library for KDE4"; license = stdenv.lib.licenses.bsd2; homepage = "http://${pn}.sourceforge.net"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/qrupdate/default.nix b/pkgs/development/libraries/qrupdate/default.nix index 89cf865be258..c8b01c460803 100644 --- a/pkgs/development/libraries/qrupdate/default.nix +++ b/pkgs/development/libraries/qrupdate/default.nix @@ -33,4 +33,8 @@ stdenv.mkDerivation { else "install"; buildInputs = [ gfortran openblas ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/qscintilla/default.nix b/pkgs/development/libraries/qscintilla/default.nix index bc44f53fa6ef..d5f4389169b0 100644 --- a/pkgs/development/libraries/qscintilla/default.nix +++ b/pkgs/development/libraries/qscintilla/default.nix @@ -41,5 +41,6 @@ stdenv.mkDerivation rec { ''; homepage = http://www.riverbankcomputing.com/software/qscintilla/intro; license = stdenv.lib.licenses.gpl2; # and gpl3 and commercial + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/qt-3/default.nix b/pkgs/development/libraries/qt-3/default.nix index 3b6d2a3cc699..e7b4b907df99 100644 --- a/pkgs/development/libraries/qt-3/default.nix +++ b/pkgs/development/libraries/qt-3/default.nix @@ -69,4 +69,8 @@ stdenv.mkDerivation { ]; passthru = {inherit mysqlSupport;}; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/qt-mobility/default.nix b/pkgs/development/libraries/qt-mobility/default.nix index 0cb62914b7f6..5cf49450422f 100644 --- a/pkgs/development/libraries/qt-mobility/default.nix +++ b/pkgs/development/libraries/qt-mobility/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { description = "Qt Mobility"; homepage = http://qt.nokia.com/products/qt-addons/mobility; maintainers = with stdenv.lib.maintainers; [qknight]; + platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/qtkeychain/default.nix b/pkgs/development/libraries/qtkeychain/default.nix index 6ab29fa9ac51..329cea9ff2a3 100644 --- a/pkgs/development/libraries/qtkeychain/default.nix +++ b/pkgs/development/libraries/qtkeychain/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { description = "Platform-independent Qt API for storing passwords securely"; homepage = "https://github.com/frankosterfeld/qtkeychain"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/readline/5.x.nix b/pkgs/development/libraries/readline/5.x.nix index 13916040fbaf..9e7c5c1d4e3b 100644 --- a/pkgs/development/libraries/readline/5.x.nix +++ b/pkgs/development/libraries/readline/5.x.nix @@ -13,5 +13,6 @@ stdenv.mkDerivation { patches = stdenv.lib.optional stdenv.isDarwin ./shobj-darwin.patch; meta = { branch = "5"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/readline/6.2.nix b/pkgs/development/libraries/readline/6.2.nix index fd8a0764f49e..65ab4ed24cec 100644 --- a/pkgs/development/libraries/readline/6.2.nix +++ b/pkgs/development/libraries/readline/6.2.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation (rec { maintainers = [ ]; branch = "6.2"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/readosm/default.nix b/pkgs/development/libraries/readosm/default.nix index f5e7f23c1089..cabd89dc9350 100644 --- a/pkgs/development/libraries/readosm/default.nix +++ b/pkgs/development/libraries/readosm/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "An open source library to extract valid data from within an Open Street Map input file"; homepage = https://www.gaia-gis.it/fossil/readosm; license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/rlog/default.nix b/pkgs/development/libraries/rlog/default.nix index aae678688848..f96addffb1ae 100644 --- a/pkgs/development/libraries/rlog/default.nix +++ b/pkgs/development/libraries/rlog/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation { meta = { homepage = http://www.arg0.net/rlog; description = "A C++ logging library used in encfs"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/science/math/arpack/default.nix b/pkgs/development/libraries/science/math/arpack/default.nix index c9f9bcfa9a75..217bf4422e0c 100644 --- a/pkgs/development/libraries/science/math/arpack/default.nix +++ b/pkgs/development/libraries/science/math/arpack/default.nix @@ -33,5 +33,6 @@ stdenv.mkDerivation { ''; license = stdenv.lib.licenses.bsd3; maintainers = [ stdenv.lib.maintainers.ttuegel ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/science/math/blas/default.nix b/pkgs/development/libraries/science/math/blas/default.nix index 376c80962cd0..ce35743e8bc6 100644 --- a/pkgs/development/libraries/science/math/blas/default.nix +++ b/pkgs/development/libraries/science/math/blas/default.nix @@ -50,5 +50,6 @@ stdenv.mkDerivation rec { description = "Basic Linear Algebra Subprograms"; license = stdenv.lib.licenses.publicDomain; homepage = "http://www.netlib.org/blas/"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/science/math/liblbfgs/default.nix b/pkgs/development/libraries/science/math/liblbfgs/default.nix index bb33eed61421..fe90fa2e171d 100644 --- a/pkgs/development/libraries/science/math/liblbfgs/default.nix +++ b/pkgs/development/libraries/science/math/liblbfgs/default.nix @@ -12,5 +12,6 @@ stdenv.mkDerivation { description = "Library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)"; homepage = http://www.chokkan.org/software/liblbfgs/; license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/science/math/suitesparse/4.2.nix b/pkgs/development/libraries/science/math/suitesparse/4.2.nix index 16174a80212f..070e2b1be1f9 100644 --- a/pkgs/development/libraries/science/math/suitesparse/4.2.nix +++ b/pkgs/development/libraries/science/math/suitesparse/4.2.nix @@ -40,5 +40,6 @@ stdenv.mkDerivation rec { description = "A suite of sparse matrix algorithms"; license = with licenses; [ bsd2 gpl2Plus lgpl21Plus ]; maintainers = with maintainers; [ ttuegel ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/science/math/suitesparse/default.nix b/pkgs/development/libraries/science/math/suitesparse/default.nix index 7dc6c32a8dbe..f81df2a6c022 100644 --- a/pkgs/development/libraries/science/math/suitesparse/default.nix +++ b/pkgs/development/libraries/science/math/suitesparse/default.nix @@ -78,5 +78,6 @@ stdenv.mkDerivation { description = "A suite of sparse matrix algorithms"; license = with licenses; [ bsd2 gpl2Plus lgpl21Plus ]; maintainers = with maintainers; [ ttuegel ]; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/sdformat/default.nix b/pkgs/development/libraries/sdformat/default.nix index 0245b47815e5..a81ba17a3f5b 100644 --- a/pkgs/development/libraries/sdformat/default.nix +++ b/pkgs/development/libraries/sdformat/default.nix @@ -20,4 +20,8 @@ stdenv.mkDerivation rec { buildInputs = [ cmake boost ruby ignition.math2 tinyxml ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/serf/default.nix b/pkgs/development/libraries/serf/default.nix index 86212eaeb473..48c70695909e 100644 --- a/pkgs/development/libraries/serf/default.nix +++ b/pkgs/development/libraries/serf/default.nix @@ -37,6 +37,6 @@ stdenv.mkDerivation rec { description = "HTTP client library based on APR"; license = stdenv.lib.licenses.asl20; maintainers = [stdenv.lib.maintainers.raskin]; - hydraPlatforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; }; } diff --git a/pkgs/development/libraries/sfml/default.nix b/pkgs/development/libraries/sfml/default.nix index 480cc81c53c5..934137a8b6de 100644 --- a/pkgs/development/libraries/sfml/default.nix +++ b/pkgs/development/libraries/sfml/default.nix @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { ''; license = licenses.zlib; maintainers = [ maintainers.astsmtl ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/sfsexp/default.nix b/pkgs/development/libraries/sfsexp/default.nix index 57124f575a1e..a9bd719fdc29 100644 --- a/pkgs/development/libraries/sfsexp/default.nix +++ b/pkgs/development/libraries/sfsexp/default.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { homepage = "http://sexpr.sourceforge.net/"; maintainers = with maintainers; [ jb55 ]; license = licenses.gpl3; + platforms = with platforms; unix; }; } diff --git a/pkgs/development/libraries/silgraphite/default.nix b/pkgs/development/libraries/silgraphite/default.nix index f124b313d74c..05db104ecb7f 100644 --- a/pkgs/development/libraries/silgraphite/default.nix +++ b/pkgs/development/libraries/silgraphite/default.nix @@ -16,6 +16,6 @@ stdenv.mkDerivation rec { meta = { description = "An advanced font engine"; maintainers = [ stdenv.lib.maintainers.raskin ]; - hydraPlatforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/silgraphite/graphite2.nix b/pkgs/development/libraries/silgraphite/graphite2.nix index 4e23a36939de..a399db1b71f8 100644 --- a/pkgs/development/libraries/silgraphite/graphite2.nix +++ b/pkgs/development/libraries/silgraphite/graphite2.nix @@ -17,6 +17,6 @@ stdenv.mkDerivation rec { meta = { description = "An advanced font engine"; maintainers = [ stdenv.lib.maintainers.raskin ]; - hydraPlatforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/slib/default.nix b/pkgs/development/libraries/slib/default.nix index 36b6aff8105d..5ab681b21b28 100644 --- a/pkgs/development/libraries/slib/default.nix +++ b/pkgs/development/libraries/slib/default.nix @@ -57,5 +57,6 @@ stdenv.mkDerivation rec { homepage = http://people.csail.mit.edu/jaffer/SLIB; maintainers = [ ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix index 2f300abebbf1..388b34d31e19 100644 --- a/pkgs/development/libraries/smpeg/default.nix +++ b/pkgs/development/libraries/smpeg/default.nix @@ -38,5 +38,6 @@ stdenv.mkDerivation rec { homepage = http://icculus.org/smpeg/; description = "MPEG decoding library"; license = stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/sofia-sip/default.nix b/pkgs/development/libraries/sofia-sip/default.nix index 950d1302dad1..9fe88b771be7 100644 --- a/pkgs/development/libraries/sofia-sip/default.nix +++ b/pkgs/development/libraries/sofia-sip/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [ glib openssl ]; nativeBuildInputs = [ pkgconfig ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/spatialite-tools/default.nix b/pkgs/development/libraries/spatialite-tools/default.nix index 94c3687e2d46..6f7d154bbe83 100644 --- a/pkgs/development/libraries/spatialite-tools/default.nix +++ b/pkgs/development/libraries/spatialite-tools/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { description = "A complete sqlite3-compatible CLI front-end for libspatialite"; homepage = https://www.gaia-gis.it/fossil/spatialite-tools; license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ]; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/t1lib/default.nix b/pkgs/development/libraries/t1lib/default.nix index 5ed773c56d2c..c6f3d68ebd60 100644 --- a/pkgs/development/libraries/t1lib/default.nix +++ b/pkgs/development/libraries/t1lib/default.nix @@ -29,5 +29,7 @@ stdenv.mkDerivation { postInstall = stdenv.lib.optional (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? + meta = { + platforms = stdenv.lib.platforms.unix; + }; } - diff --git a/pkgs/development/libraries/taglib-extras/default.nix b/pkgs/development/libraries/taglib-extras/default.nix index 882116bd3f1b..0059243890d6 100644 --- a/pkgs/development/libraries/taglib-extras/default.nix +++ b/pkgs/development/libraries/taglib-extras/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { preConfigure = '' sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/modules/FindTaglib.cmake ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/tcllib/default.nix b/pkgs/development/libraries/tcllib/default.nix index b2c2f0d0851b..2c1e3a2dfc9e 100644 --- a/pkgs/development/libraries/tcllib/default.nix +++ b/pkgs/development/libraries/tcllib/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { homepage = "http://tcl.activestate.com/software/tcllib/"; description = "Tcl-only library of standard routines for Tcl"; license = stdenv.lib.licenses.tcltk; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/tcltls/default.nix b/pkgs/development/libraries/tcltls/default.nix index 278fed375145..7d445408fa25 100644 --- a/pkgs/development/libraries/tcltls/default.nix +++ b/pkgs/development/libraries/tcltls/default.nix @@ -27,5 +27,6 @@ stdenv.mkDerivation rec { homepage = "http://tls.sourceforge.net/"; description = "An OpenSSL / RSA-bsafe Tcl extension"; license = stdenv.lib.licenses.tcltk; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/tecla/default.nix b/pkgs/development/libraries/tecla/default.nix index 6f30497d870c..ea03795afc8f 100644 --- a/pkgs/development/libraries/tecla/default.nix +++ b/pkgs/development/libraries/tecla/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { description = "Command-line editing library"; license = "as-is"; - hydraPlatforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.peti ]; }; } diff --git a/pkgs/development/libraries/telepathy/farstream/default.nix b/pkgs/development/libraries/telepathy/farstream/default.nix index 88eecd0703cc..aed08435a149 100644 --- a/pkgs/development/libraries/telepathy/farstream/default.nix +++ b/pkgs/development/libraries/telepathy/farstream/default.nix @@ -11,4 +11,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ dbus_glib telepathy_glib farstream ]; nativeBuildInputs = [ pkgconfig ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/telepathy/glib/default.nix b/pkgs/development/libraries/telepathy/glib/default.nix index bb187ce1202b..69d833064edf 100644 --- a/pkgs/development/libraries/telepathy/glib/default.nix +++ b/pkgs/development/libraries/telepathy/glib/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://telepathy.freedesktop.org; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/tinyxml-2/default.nix b/pkgs/development/libraries/tinyxml-2/default.nix index 29fa2739f24d..6c77f6a004a1 100644 --- a/pkgs/development/libraries/tinyxml-2/default.nix +++ b/pkgs/development/libraries/tinyxml-2/default.nix @@ -8,4 +8,8 @@ in stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/tinyxml/2.6.2.nix b/pkgs/development/libraries/tinyxml/2.6.2.nix index 231550cd5571..7fc403f0739d 100644 --- a/pkgs/development/libraries/tinyxml/2.6.2.nix +++ b/pkgs/development/libraries/tinyxml/2.6.2.nix @@ -69,5 +69,6 @@ in stdenv.mkDerivation { description = "Simple, small, C++ XML parser that can be easily integrating into other programs"; homepage = "http://www.grinninglizard.com/tinyxml/index.html"; license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/tnt/default.nix b/pkgs/development/libraries/tnt/default.nix index 51e3ac452674..5e3d16000004 100644 --- a/pkgs/development/libraries/tnt/default.nix +++ b/pkgs/development/libraries/tnt/default.nix @@ -19,5 +19,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://math.nist.gov/tnt/; description = "Template Numerical Toolkit: C++ headers for array and matrices"; + platforms = stdenv.lib.platforms.unix; }; -} \ No newline at end of file +} diff --git a/pkgs/development/libraries/tre/default.nix b/pkgs/development/libraries/tre/default.nix index 97c02fb03972..5700a7d144e4 100644 --- a/pkgs/development/libraries/tre/default.nix +++ b/pkgs/development/libraries/tre/default.nix @@ -7,4 +7,7 @@ stdenv.mkDerivation rec { sha256 = "1pd7qsa7vc3ybdc6h2gr4pm9inypjysf92kab945gg4qa6jp11my"; }; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/tremor/default.nix b/pkgs/development/libraries/tremor/default.nix index aa4a5578691b..fec256e703fe 100644 --- a/pkgs/development/libraries/tremor/default.nix +++ b/pkgs/development/libraries/tremor/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { homepage = http://xiph.org/tremor/; description = "Fixed-point version of the Ogg Vorbis decoder"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/ucl/default.nix b/pkgs/development/libraries/ucl/default.nix index 05acc6f53085..c9133b648466 100644 --- a/pkgs/development/libraries/ucl/default.nix +++ b/pkgs/development/libraries/ucl/default.nix @@ -11,5 +11,6 @@ stdenv.mkDerivation { homepage = http://www.oberhumer.com/opensource/ucl/; description = "Portable lossless data compression library"; license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/uhttpmock/default.nix b/pkgs/development/libraries/uhttpmock/default.nix index 81ca7e750212..6105db73bc74 100644 --- a/pkgs/development/libraries/uhttpmock/default.nix +++ b/pkgs/development/libraries/uhttpmock/default.nix @@ -20,5 +20,6 @@ stdenv.mkDerivation rec { homepage = https://gitlab.com/groups/uhttpmock/; license = licenses.lgpl21; maintainers = with maintainers; [ DamienCassou ]; + platforms = with platforms; linux; }; } diff --git a/pkgs/development/libraries/unittest-cpp/default.nix b/pkgs/development/libraries/unittest-cpp/default.nix index e0ce2ab224e2..bc9035d479b5 100644 --- a/pkgs/development/libraries/unittest-cpp/default.nix +++ b/pkgs/development/libraries/unittest-cpp/default.nix @@ -22,5 +22,6 @@ stdenv.mkDerivation rec { description = "Lightweight unit testing framework for C++"; license = licenses.mit; maintainers = [maintainers.tohl]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/ustr/default.nix b/pkgs/development/libraries/ustr/default.nix index 9a7475969c69..b0a4cc07bc63 100644 --- a/pkgs/development/libraries/ustr/default.nix +++ b/pkgs/development/libraries/ustr/default.nix @@ -39,5 +39,6 @@ stdenv.mkDerivation rec { description = "Micro String API for C language"; license = licenses.bsd2; maintainers = [ maintainers.phreedom ]; + platforms = platforms.linux; }; } diff --git a/pkgs/development/libraries/vaapi-vdpau/default.nix b/pkgs/development/libraries/vaapi-vdpau/default.nix index 02a4155947f2..c7b8ddd8d6f0 100644 --- a/pkgs/development/libraries/vaapi-vdpau/default.nix +++ b/pkgs/development/libraries/vaapi-vdpau/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { homepage = http://cgit.freedesktop.org/vaapi/vdpau-driver/; license = stdenv.lib.licenses.gpl2Plus; description = "VDPAU driver for the VAAPI library"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/vrpn/default.nix b/pkgs/development/libraries/vrpn/default.nix index d07c1d550472..ce0fd3273046 100644 --- a/pkgs/development/libraries/vrpn/default.nix +++ b/pkgs/development/libraries/vrpn/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation { license = stdenv.lib.licenses.boost; # see # <http://www.cs.unc.edu/Research/vrpn/obtaining_vrpn.html> + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/wavpack/default.nix b/pkgs/development/libraries/wavpack/default.nix index 3bdb1392bd97..efe645818935 100644 --- a/pkgs/development/libraries/wavpack/default.nix +++ b/pkgs/development/libraries/wavpack/default.nix @@ -2,29 +2,15 @@ stdenv.mkDerivation rec { name = "wavpack-${version}"; - version = "4.75.0"; + version = "4.80.0"; enableParallelBuilding = true; buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv; - patches = [ - # backported from - # https://github.com/dbry/WavPack/commit/12867b33e2de3e95b88d7cb6f449ce0c5c87cdd5 - ./wavpack_clang.patch - ]; - - preConfigure = '' - sed -i '2iexec_prefix=@exec_prefix@' wavpack.pc.in - ''; - - # --disable-asm is required for clang - # https://github.com/dbry/WavPack/issues/3 - configureFlags = lib.optionalString stdenv.cc.isClang "--disable-asm"; - src = fetchurl { url = "http://www.wavpack.com/${name}.tar.bz2"; - sha256 = "0bmgwcvch3cjcivk7pyasqysj0s81wkg40j3zfrcd7bl0qhmqgn6"; + sha256 = "1sbbwvqixg87h02avg0d5r64mpjz8cmhcc6j3s9wmlbvbykjw63r"; }; meta = with stdenv.lib; { diff --git a/pkgs/development/libraries/wavpack/wavpack_clang.patch b/pkgs/development/libraries/wavpack/wavpack_clang.patch deleted file mode 100644 index dfbe47181431..000000000000 --- a/pkgs/development/libraries/wavpack/wavpack_clang.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ru -x '*~' wavpack-4.75.0_orig/src/wavpack_local.h wavpack-4.75.0/src/wavpack_local.h ---- wavpack-4.75.0_orig/src/wavpack_local.h 2015-05-21 06:50:26.000000000 +0900 -+++ wavpack-4.75.0/src/wavpack_local.h 2015-09-14 21:48:09.000000000 +0900 -@@ -650,9 +650,9 @@ - void scan_word (WavpackStream *wps, int32_t *samples, uint32_t num_samples, int dir); - void update_error_limit (WavpackStream *wps); - --const uint32_t bitset [32]; --const uint32_t bitmask [32]; --const char nbits_table [256]; -+extern const uint32_t bitset [32]; -+extern const uint32_t bitmask [32]; -+extern const char nbits_table [256]; - - int log2s (int32_t value); - int32_t exp2s (int log); -@@ -734,7 +734,7 @@ - /////////////////////////////////// common utilities //////////////////////////////////// - // module: common_utils.c - --const uint32_t sample_rates [16]; -+extern const uint32_t sample_rates [16]; - uint32_t WavpackGetLibraryVersion (void); - const char *WavpackGetLibraryVersionString (void); - uint32_t WavpackGetSampleRate (WavpackContext *wpc); diff --git a/pkgs/development/libraries/wcslib/default.nix b/pkgs/development/libraries/wcslib/default.nix index 08258f677a40..6bbc77056710 100644 --- a/pkgs/development/libraries/wcslib/default.nix +++ b/pkgs/development/libraries/wcslib/default.nix @@ -23,5 +23,6 @@ stdenv.mkDerivation rec { astronomy.''; license = stdenv.lib.licenses.lgpl3Plus; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/2.10.nix index cf22eb3aadde..a76a19ad41d3 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/2.10.nix @@ -13,7 +13,7 @@ assert stdenv.isDarwin -> !enableCredentialStorage; with stdenv.lib; stdenv.mkDerivation rec { name = "webkitgtk-${version}"; - version = "2.10.4"; + version = "2.10.9"; meta = { description = "Web content rendering engine, GTK+ port"; @@ -28,17 +28,11 @@ stdenv.mkDerivation rec { src = fetchurl { url = "http://webkitgtk.org/releases/${name}.tar.xz"; - sha256 = "0mghsbfnmmf6nsf7cb3ah76s77aigkzf3k6kw96wgh6all6jdy6v"; + sha256 = "0sg935wpkgyd5ypd5fj25vd7ri8s6sbrmssb53xbgcc02xs8vcdv"; }; patches = [ ./finding-harfbuzz-icu.patch - (fetchpatch { - name = "glibc-isnan.patch"; - url = "http://trac.webkit.org/changeset/194518/trunk/Source/JavaScriptCore" - + "/runtime/Options.cpp?format=diff&new=194518"; - sha256 = "0pzdv1zmlym751n9d310cx3yp752yzsc49cysbvgnrib4dh68nbm"; - }) ] ++ optional stdenv.isDarwin ./adding-libintl.patch; cmakeFlags = [ diff --git a/pkgs/development/libraries/websocket++/default.nix b/pkgs/development/libraries/websocket++/default.nix index 7146ec4bb5b5..ebd9d51208a3 100644 --- a/pkgs/development/libraries/websocket++/default.nix +++ b/pkgs/development/libraries/websocket++/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation rec { homepage = "http://www.zaphoyd.com/websocketpp/"; description = "C++/Boost Asio based websocket client/server library"; license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/xapian/bindings/default.nix b/pkgs/development/libraries/xapian/bindings/default.nix index ed7c1e046d55..eeb480e6847b 100644 --- a/pkgs/development/libraries/xapian/bindings/default.nix +++ b/pkgs/development/libraries/xapian/bindings/default.nix @@ -69,5 +69,6 @@ composableDerivation.composableDerivation {} rec { homepage = xapian.meta.homepage; license = stdenv.lib.licenses.gpl2Plus; maintainers = [ stdenv.lib.maintainers.chaoflow ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix index 8a09d835f3da..7c4b699e6152 100644 --- a/pkgs/development/libraries/xapian/default.nix +++ b/pkgs/development/libraries/xapian/default.nix @@ -18,5 +18,6 @@ stdenv.mkDerivation rec { homepage = http://xapian.org/; license = stdenv.lib.licenses.gpl2Plus; maintainers = [ stdenv.lib.maintainers.chaoflow ]; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/xine-lib/default.nix b/pkgs/development/libraries/xine-lib/default.nix index 3a37afc1cbec..83c75dcfa8a1 100644 --- a/pkgs/development/libraries/xine-lib/default.nix +++ b/pkgs/development/libraries/xine-lib/default.nix @@ -29,5 +29,6 @@ stdenv.mkDerivation rec { meta = { homepage = http://www.xine-project.org/; description = "A high-performance, portable and reusable multimedia playback engine"; + platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/xlibs-wrapper/default.nix b/pkgs/development/libraries/xlibs-wrapper/default.nix index ffc58d9ad4b9..049c54d792b4 100644 --- a/pkgs/development/libraries/xlibs-wrapper/default.nix +++ b/pkgs/development/libraries/xlibs-wrapper/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { } // { # For compatability with XFree86. buildClientLibs = true; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/zeromq/2.x.nix b/pkgs/development/libraries/zeromq/2.x.nix index 59a7ed171100..dd7404486d36 100644 --- a/pkgs/development/libraries/zeromq/2.x.nix +++ b/pkgs/development/libraries/zeromq/2.x.nix @@ -14,5 +14,6 @@ stdenv.mkDerivation rec { branch = "2"; homepage = "http://www.zeromq.org"; description = "The Intelligent Transport Layer"; + platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/libraries/zeromq/3.x.nix b/pkgs/development/libraries/zeromq/3.x.nix index 50eba33670f9..54265d2f095a 100644 --- a/pkgs/development/libraries/zeromq/3.x.nix +++ b/pkgs/development/libraries/zeromq/3.x.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { homepage = "http://www.zeromq.org"; description = "The Intelligent Transport Layer"; license = licenses.gpl3; - platform = platforms.all; + platforms = platforms.all; maintainers = with maintainers; [ wkennington ]; }; } diff --git a/pkgs/development/libraries/zimlib/default.nix b/pkgs/development/libraries/zimlib/default.nix index c0b50c490ffb..24cbc818cddb 100644 --- a/pkgs/development/libraries/zimlib/default.nix +++ b/pkgs/development/libraries/zimlib/default.nix @@ -17,5 +17,6 @@ stdenv.mkDerivation { homepage = http://www.openzim.org/wiki/Zimlib; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ robbinch ]; + platforms = with stdenv.lib.platforms; linux; }; } |