pkgs/development/libraries: stdenv.lib -> lib
commit66e44425c6dfecbea68a5d6dc221ccd56561d4f1
authorBen Siraphob <bensiraphob@gmail.com>
dateFri 22 Jan 2021, 00:00 (6 years ago)
parent046d244
1770 files changed+4913−4912
pkgs/development/libraries/AntTweakBar/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, xorg, libGLU, libGL }:
1+{ lib, stdenv, fetchurl, unzip, xorg, libGLU, libGL }:
22
33stdenv.mkDerivation {
44 name = "AntTweakBar-1.16";
@@ -26,8 +26,8 @@ stdenv.mkDerivation {
2626 to interactively tweak parameters on-screen
2727 '';
2828 homepage = "http://anttweakbar.sourceforge.net/";
29− license = stdenv.lib.licenses.zlib;
30− maintainers = [ stdenv.lib.maintainers.razvan ];
31− platforms = stdenv.lib.platforms.linux;
29+ license = lib.licenses.zlib;
30+ maintainers = [ lib.maintainers.razvan ];
31+ platforms = lib.platforms.linux;
3232 };
3333}
pkgs/development/libraries/CGAL/4.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
22
33stdenv.mkDerivation rec {
44 version = "4.14.2";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 doCheck = false;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Computational Geometry Algorithms Library";
2323 homepage = "http://cgal.org";
2424 license = with licenses; [ gpl3Plus lgpl3Plus];
pkgs/development/libraries/CGAL/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, boost
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 doCheck = false;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Computational Geometry Algorithms Library";
3131 homepage = "http://cgal.org";
3232 license = with licenses; [ gpl3Plus lgpl3Plus];
pkgs/development/libraries/CoinMP/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "CoinMP";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 hardeningDisable = [ "format" ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://projects.coin-or.org/CoinMP/";
1616 description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL";
1717 platforms = platforms.unix;
pkgs/development/libraries/LAStools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "LAStools";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 cmake
2424 ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Software for rapid LiDAR processing";
2828 homepage = http://lastools.org/;
2929 license = licenses.unfree;
pkgs/development/libraries/LASzip/LASzip2.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "2.2.0";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ cmake ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
1616 homepage = "https://laszip.org";
1717 license = licenses.lgpl2;
pkgs/development/libraries/LASzip/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "3.4.3";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
2020 homepage = "https://laszip.org";
21− license = stdenv.lib.licenses.lgpl2;
22− maintainers = [ stdenv.lib.maintainers.michelk ];
23− platforms = stdenv.lib.platforms.unix;
21+ license = lib.licenses.lgpl2;
22+ maintainers = [ lib.maintainers.michelk ];
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/libraries/NSPlist/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation {
44 name = "NSPlist-713decf";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212
1313 nativeBuildInputs = [ cmake ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 maintainers = with maintainers; [ matthewbauer ];
1717 description = "Parses .plist files";
1818 license = licenses.mit;
pkgs/development/libraries/PlistCpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, NSPlist, pugixml }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, NSPlist, pugixml }:
22
33stdenv.mkDerivation {
44 name = "PlistCpp-11615d";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 nativeBuildInputs = [ cmake ];
1414 buildInputs = [ boost NSPlist pugixml ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 maintainers = with maintainers; [ matthewbauer ];
1818 description = "CPP bindings for Plist";
1919 license = licenses.mit;
pkgs/development/libraries/SDL/default.nix+4−4
@@ -1,5 +1,5 @@
1−{ stdenv, config, fetchurl, fetchpatch, pkg-config, audiofile, libcap, libiconv
2−, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
1+{ lib, stdenv, config, fetchurl, fetchpatch, pkg-config, audiofile, libcap, libiconv
2+, libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
33, openglSupport ? libGLSupported, libGL, libGLU
44, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
55, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
@@ -11,7 +11,7 @@
1111# NOTE: When editing this expression see if the same change applies to
1212# SDL2 expression too
1313
14−with stdenv.lib;
14+with lib;
1515
1616let
1717 extraPropagatedBuildInputs = [ ]
@@ -124,7 +124,7 @@ stdenv.mkDerivation rec {
124124
125125 enableParallelBuilding = true;
126126
127− meta = with stdenv.lib; {
127+ meta = with lib; {
128128 description = "A cross-platform multimedia library";
129129 homepage = "http://www.libsdl.org/";
130130 maintainers = with maintainers; [ lovek323 ];
pkgs/development/libraries/SDL2/default.nix+4−4
@@ -1,5 +1,5 @@
1−{ stdenv, config, fetchurl, pkg-config
2−, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
1+{ lib, stdenv, config, fetchurl, pkg-config
2+, libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
33, openglSupport ? libGLSupported, libGL
44, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
55, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
@@ -21,7 +21,7 @@
2121# NOTE: When editing this expression see if the same change applies to
2222# SDL expression too
2323
24−with stdenv.lib;
24+with lib;
2525
2626stdenv.mkDerivation rec {
2727 pname = "SDL2";
@@ -126,7 +126,7 @@ stdenv.mkDerivation rec {
126126
127127 passthru = { inherit openglSupport; };
128128
129− meta = with stdenv.lib; {
129+ meta = with lib; {
130130 description = "A cross-platform multimedia library";
131131 homepage = "http://www.libsdl.org/";
132132 license = licenses.zlib;
pkgs/development/libraries/SDL2_gfx/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, darwin, fetchurl, SDL2 }:
1+{ lib, stdenv, darwin, fetchurl, SDL2 }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL2_gfx";
@@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 buildInputs = [ SDL2 ]
13− ++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
13+ ++ lib.optional stdenv.isDarwin darwin.libobjc;
1414
1515 configureFlags = [(if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx")]
16− ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
16+ ++ lib.optional stdenv.isDarwin "--disable-sdltest";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "SDL graphics drawing primitives and support functions";
2020
2121 longDescription = ''
pkgs/development/libraries/SDL2_image/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libwebp, libXpm, zlib, Foundation }:
1+{ lib, stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libwebp, libXpm, zlib, Foundation }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL2_image";
@@ -10,14 +10,14 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 buildInputs = [ SDL2 libpng libjpeg libtiff libungif libwebp libXpm zlib ]
13− ++ stdenv.lib.optional stdenv.isDarwin Foundation;
13+ ++ lib.optional stdenv.isDarwin Foundation;
1414
1515
16− configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
16+ configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "SDL image library";
2222 homepage = "http://www.libsdl.org/projects/SDL_image/";
2323 platforms = platforms.unix;
pkgs/development/libraries/SDL2_mixer/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, AudioToolbox
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 nativeBuildInputs = [ pkg-config ];
2828
29− buildInputs = stdenv.lib.optionals stdenv.isDarwin [
29+ buildInputs = lib.optionals stdenv.isDarwin [
3030 AudioToolbox
3131 AudioUnit
3232 CoreServices
@@ -51,12 +51,12 @@ stdenv.mkDerivation rec {
5151 "--disable-music-mp3-mpg123-shared"
5252 "--disable-music-opus-shared"
5353 "--disable-music-midi-fluidsynth-shared"
54− ] ++ stdenv.lib.optionals stdenv.isDarwin [
54+ ] ++ lib.optionals stdenv.isDarwin [
5555 "--disable-sdltest"
5656 "--disable-smpegtest"
5757 ];
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 description = "SDL multi-channel audio mixer library";
6161 platforms = platforms.unix;
6262 homepage = "https://www.libsdl.org/projects/SDL_mixer/";
pkgs/development/libraries/SDL2_net/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, darwin, fetchurl, SDL2 }:
1+{ lib, stdenv, darwin, fetchurl, SDL2 }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL2_net";
@@ -9,13 +9,13 @@ stdenv.mkDerivation rec {
99 sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
1010 };
1111
12− buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
12+ buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
1313
14− configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
14+ configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
1515
1616 propagatedBuildInputs = [ SDL2 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "SDL multiplatform networking library";
2020 homepage = "https://www.libsdl.org/projects/SDL_net";
2121 license = licenses.zlib;
pkgs/development/libraries/SDL2_ttf/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, darwin, fetchurl, SDL2, freetype, libGL }:
1+{ lib, stdenv, darwin, fetchurl, SDL2, freetype, libGL }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL2_ttf";
@@ -9,12 +9,12 @@ stdenv.mkDerivation rec {
99 sha256 = "0cyd48dipc0m399qy8s03lci8b0bpiy8xlkvrm2ia7wcv0dfpv59";
1010 };
1111
12− configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
12+ configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
1313
1414 buildInputs = [ SDL2 freetype libGL ]
15− ++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
15+ ++ lib.optional stdenv.isDarwin darwin.libobjc;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "SDL TrueType library";
1919 platforms = platforms.unix;
2020 license = licenses.zlib;
pkgs/development/libraries/SDL_Pango/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchpatch, fetchurl, SDL, autoreconfHook, pango, pkg-config }:
1+{ lib, stdenv, fetchpatch, fetchurl, SDL, autoreconfHook, pango, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_Pango";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 nativeBuildInputs = [ pkg-config autoreconfHook ];
2323 buildInputs = [ SDL pango ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Connects the Pango rendering engine to SDL";
2727 license = licenses.lgpl21Plus;
2828 platforms = platforms.all;
pkgs/development/libraries/SDL_gfx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, SDL }:
1+{ lib, stdenv, fetchurl, SDL }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_gfx";
@@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
1212 buildInputs = [ SDL ] ;
1313
1414 configureFlags = [ "--disable-mmx" ]
15− ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
15+ ++ lib.optional stdenv.isDarwin "--disable-sdltest";
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "SDL graphics drawing primitives and support functions";
1919
2020 longDescription = ''
pkgs/development/libraries/SDL_gpu/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, SDL2, libGLU }:
1+{ lib, stdenv, fetchFromGitHub, cmake, SDL2, libGLU }:
22
33stdenv.mkDerivation {
44 pname = "SDL_gpu-unstable";
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
2626 sed -ie '213s#''${OUTPUT_DIR}/lib#''${CMAKE_INSTALL_LIBDIR}#' src/CMakeLists.txt
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A library for high-performance, modern 2D graphics with SDL written in C";
3131 homepage = "https://github.com/grimfang4/sdl-gpu";
3232 license = licenses.mit;
pkgs/development/libraries/SDL_image/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, libungif, libXpm }:
1+{ lib, stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, libungif, libXpm }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_image";
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
2222 "--disable-jpg-shared"
2323 "--disable-png-shared"
2424 "--disable-tif-shared"
25− ] ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
25+ ] ++ lib.optional stdenv.isDarwin "--disable-sdltest";
2626
2727 buildInputs = [ SDL libpng libjpeg libtiff libungif libXpm ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "SDL image library";
3131 homepage = "http://www.libsdl.org/projects/SDL_image/";
3232 maintainers = with maintainers; [ lovek323 ];
pkgs/development/libraries/SDL_mixer/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 ++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl"
1616 ++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "SDL multi-channel audio mixer library";
2020 homepage = "http://www.libsdl.org/projects/SDL_mixer/";
2121 maintainers = with maintainers; [ lovek323 ];
pkgs/development/libraries/SDL_net/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, SDL }:
1+{ lib, stdenv, fetchurl, SDL }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_net";
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
99 sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
1010 };
1111
12− configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
12+ configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
1313
1414 propagatedBuildInputs = [ SDL ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "SDL networking library";
1818 platforms = platforms.unix;
1919 license = licenses.zlib;
pkgs/development/libraries/SDL_sixel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, libsixel }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, libsixel }:
22
33stdenv.mkDerivation {
44 pname = "SDL_sixel";
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616 nativeBuildInputs = [ pkg-config ];
1717 buildInputs = [ libsixel ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A cross-platform multimedia library, that supports sixel graphics on consoles";
2121 homepage = "https://github.com/saitoha/SDL1.2-SIXEL";
2222 maintainers = with maintainers; [ vrthra ];
pkgs/development/libraries/SDL_stretch/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, SDL }:
1+{ lib, stdenv, fetchurl, SDL }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_stretch";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ SDL ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Stretch Functions For SDL";
1616 homepage = "http://sdl-stretch.sourceforge.net/";
1717 license = licenses.lgpl2;
pkgs/development/libraries/SDL_ttf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, SDL, freetype }:
1+{ lib, stdenv, fetchurl, fetchpatch, SDL, freetype }:
22
33stdenv.mkDerivation rec {
44 pname = "SDL_ttf";
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
2121
2222 buildInputs = [ SDL freetype ];
2323
24− configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
24+ configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "SDL TrueType library";
2828 license = licenses.zlib;
2929 platforms = platforms.all;
pkgs/development/libraries/Xaw3d/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, imake, gccmakedep, bison, flex, pkg-config
33, xlibsWrapper, libXmu, libXpm, libXp }:
44
@@ -13,9 +13,9 @@ stdenv.mkDerivation {
1313 buildInputs = [ libXpm libXp ];
1414 propagatedBuildInputs = [ xlibsWrapper libXmu ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "3D widget set based on the Athena Widget set";
18− platforms = stdenv.lib.platforms.unix;
18+ platforms = lib.platforms.unix;
1919 license = licenses.mit;
2020 };
2121}
pkgs/development/libraries/a52dec/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 pname = "a52dec";
@@ -15,11 +15,11 @@ stdenv.mkDerivation rec {
1515
1616 # fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686
1717 # which can also be fixed with
18− # hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic";
18+ # hardeningDisable = lib.optional stdenv.isi686 "pic";
1919 # but it's better to disable tests than loose ASLR on i686
2020 doCheck = !stdenv.isi686;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "ATSC A/52 stream decoder";
2424 homepage = "https://liba52.sourceforge.net/";
2525 platforms = platforms.unix;
pkgs/development/libraries/aalib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ncurses, automake}:
1+{lib, stdenv, fetchurl, ncurses, automake}:
22
33stdenv.mkDerivation {
44 name = "aalib-1.4rc5";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 outputs = [ "bin" "dev" "out" "man" "info" ];
1212 setOutputFlags = false; # Doesn't support all the flags
1313
14− patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin.patch ];
14+ patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ];
1515
1616 # The fuloong2f is not supported by aalib still
1717 preConfigure = ''
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535
3636 meta = {
3737 description = "ASCII art graphics library";
38− platforms = stdenv.lib.platforms.unix;
39− license = stdenv.lib.licenses.lgpl2;
38+ platforms = lib.platforms.unix;
39+ license = lib.licenses.lgpl2;
4040 };
4141}
pkgs/development/libraries/abseil-cpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "abseil-cpp";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "An open-source collection of C++ code designed to augment the C++ standard library";
1818 homepage = "https://abseil.io/";
1919 license = licenses.asl20;
pkgs/development/libraries/accountsservice/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, substituteAll
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
8484 })
8585 ];
8686
87− meta = with stdenv.lib; {
87+ meta = with lib; {
8888 description = "D-Bus interface for user account query and manipulation";
8989 homepage = "https://www.freedesktop.org/wiki/Software/AccountsService";
9090 license = licenses.gpl3;
pkgs/development/libraries/ace/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libtool, perl }:
1+{ lib, stdenv, fetchurl, pkg-config, libtool, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "ace";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 > include/makeinclude/platform_macros.GNU
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "ADAPTIVE Communication Environment";
3535 homepage = "http://www.dre.vanderbilt.edu/~schmidt/ACE.html";
3636 license = licenses.doc;
pkgs/development/libraries/acl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gettext, attr }:
1+{ lib, stdenv, fetchurl, gettext, attr }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 patchShebangs .
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 homepage = "https://savannah.nongnu.org/projects/acl";
3232 description = "Library and tools for manipulating access control lists";
3333 platforms = platforms.linux;
pkgs/development/libraries/afflib/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
1+{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
22, autoreconfHook, python3
33}:
44
@@ -15,14 +15,14 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ autoreconfHook ];
1717 buildInputs = [ zlib curl expat openssl python3 ]
18− ++ stdenv.lib.optionals stdenv.isLinux [ fuse ];
18+ ++ lib.optionals stdenv.isLinux [ fuse ];
1919
2020 meta = {
2121 homepage = "http://afflib.sourceforge.net/";
2222 description = "Advanced forensic format library";
23− platforms = stdenv.lib.platforms.unix;
24− license = stdenv.lib.licenses.bsdOriginal;
25− maintainers = [ stdenv.lib.maintainers.raskin ];
23+ platforms = lib.platforms.unix;
24+ license = lib.licenses.bsdOriginal;
25+ maintainers = [ lib.maintainers.raskin ];
2626 inherit version;
2727 downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
2828 };
pkgs/development/libraries/aften/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "aften";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "An audio encoder which generates compressed audio streams based on ATSC A/52 specification";
1717 homepage = "http://aften.sourceforge.net/";
18− license = stdenv.lib.licenses.lgpl2;
18+ license = lib.licenses.lgpl2;
1919 platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
2020 };
2121}
pkgs/development/libraries/agda/agda-prelude/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, mkDerivation, fetchFromGitHub }:
1+{ lib, stdenv, mkDerivation, fetchFromGitHub }:
22
33mkDerivation rec {
44 version = "compat-2.6.1";
@@ -18,11 +18,11 @@ mkDerivation rec {
1818 cd ..
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://github.com/UlfNorell/agda-prelude";
2323 description = "Programming library for Agda";
24− license = stdenv.lib.licenses.mit;
25− platforms = stdenv.lib.platforms.unix;
24+ license = lib.licenses.mit;
25+ platforms = lib.platforms.unix;
2626 maintainers = with maintainers; [ mudri alexarice turion ];
2727 };
2828}
pkgs/development/libraries/agda/functional-linear-algebra/default.nix+1−1
@@ -13,7 +13,7 @@ mkDerivation rec {
1313 sha256 = "09ri3jmgp9jjwi1mzv4c3w6rvcmyx6spa2qxpwlcn0f4bmfva6wm";
1414 };
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
1818 description = ''
1919 Formalizing linear algebra in Agda by representing matrices as functions
pkgs/development/libraries/agda/iowa-stdlib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, mkDerivation, fetchFromGitHub }:
1+{ lib, stdenv, mkDerivation, fetchFromGitHub }:
22
33mkDerivation (rec {
44 version = "1.5.0";
@@ -22,10 +22,10 @@ mkDerivation (rec {
2222 meta = {
2323 homepage = "https://github.com/cedille/ial";
2424 description = "Agda standard library developed at Iowa";
25− license = stdenv.lib.licenses.free;
26− platforms = stdenv.lib.platforms.unix;
25+ license = lib.licenses.free;
26+ platforms = lib.platforms.unix;
2727 # broken since Agda 2.6.1
2828 broken = true;
29− maintainers = with stdenv.lib.maintainers; [ alexarice turion ];
29+ maintainers = with lib.maintainers; [ alexarice turion ];
3030 };
3131})
pkgs/development/libraries/agda/standard-library/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, mkDerivation, fetchFromGitHub, ghcWithPackages }:
1+{ lib, stdenv, mkDerivation, fetchFromGitHub, ghcWithPackages }:
22
33mkDerivation rec {
44 pname = "standard-library";
@@ -16,11 +16,11 @@ mkDerivation rec {
1616 runhaskell GenerateEverything.hs
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://wiki.portal.chalmers.se/agda/pmwiki.php?n=Libraries.StandardLibrary";
2121 description = "A standard library for use with the Agda compiler";
22− license = stdenv.lib.licenses.mit;
23− platforms = stdenv.lib.platforms.unix;
22+ license = lib.licenses.mit;
23+ platforms = lib.platforms.unix;
2424 maintainers = with maintainers; [ jwiegley mudri alexarice turion ];
2525 };
2626}
pkgs/development/libraries/agg/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool, pkg-config
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkg-config
22, freetype, SDL, libX11 }:
33
44stdenv.mkDerivation rec {
@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
4040 of course, AGG can do much more than that.
4141 '';
4242
43− license = stdenv.lib.licenses.gpl2Plus;
43+ license = lib.licenses.gpl2Plus;
4444 homepage = "http://www.antigrain.com/";
45− platforms = stdenv.lib.platforms.linux;
45+ platforms = lib.platforms.linux;
4646 };
4747}
pkgs/development/libraries/alembic/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, unzip, cmake, openexr, hdf5-threadsafe }:
1+{ lib, stdenv, fetchFromGitHub, unzip, cmake, openexr, hdf5-threadsafe }:
22
33stdenv.mkDerivation rec
44{
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec
3434 mv $out/include $dev/
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "An open framework for storing and sharing scene data";
3939 homepage = "http://alembic.io/";
4040 license = licenses.bsd3;
pkgs/development/libraries/allegro/5.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, texinfo, libXext, xorgproto, libX11
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, texinfo, libXext, xorgproto, libX11
22, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
33, libXxf86dga, libXxf86misc
44, libXxf86vm, openal, libGLU, libGL, libjpeg, flac
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A game programming library";
3939 homepage = "https://liballeg.org/";
4040 license = licenses.zlib;
pkgs/development/libraries/allegro/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, texinfo6_5, libXext, xorgproto, libX11
1+{ lib, stdenv, fetchurl, texinfo6_5, libXext, xorgproto, libX11
22, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
33, libXxf86dga, libXxf86misc
44, libXxf86vm, openal, libGLU, libGL }:
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A game programming library";
3232 homepage = "https://liballeg.org/";
3333 license = licenses.free; # giftware
pkgs/development/libraries/alure/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, openal }:
1+{ lib, stdenv, fetchurl, cmake, openal }:
22
33stdenv.mkDerivation rec {
44 pname = "alure";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ cmake ];
1313 buildInputs = [ openal ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A utility library to help manage common tasks with OpenAL applications";
1717 homepage = "https://kcat.strangesoft.net/alure.html";
1818 license = licenses.mit;
pkgs/development/libraries/alure2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, openal, libvorbis, opusfile, libsndfile }:
1+{ lib, stdenv, fetchFromGitHub, cmake, openal, libvorbis, opusfile, libsndfile }:
22
33stdenv.mkDerivation rec {
44 pname = "alure2";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ openal libvorbis opusfile libsndfile ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A utility library for OpenAL, providing a C++ API and managing common tasks that include file loading, caching, and streaming";
1919 homepage = "https://github.com/kcat/alure";
2020 license = licenses.zlib;
pkgs/development/libraries/amdvlk/default.nix+2−2
@@ -66,7 +66,7 @@ in stdenv.mkDerivation rec {
6666 cmakeDir = "../drivers/xgl";
6767
6868 # LTO is disabled in gcc for i686 as of #66528
69− cmakeFlags = stdenv.lib.optionals stdenv.is32bit ["-DXGL_ENABLE_LTO=OFF"];
69+ cmakeFlags = lib.optionals stdenv.is32bit ["-DXGL_ENABLE_LTO=OFF"];
7070
7171 installPhase = ''
7272 install -Dm755 -t $out/lib icd/amdvlk${suffix}.so
@@ -83,7 +83,7 @@ in stdenv.mkDerivation rec {
8383 # Keep the rpath, otherwise vulkaninfo and vkcube segfault
8484 dontPatchELF = true;
8585
86− meta = with stdenv.lib; {
86+ meta = with lib; {
8787 description = "AMD Open Source Driver For Vulkan";
8888 homepage = "https://github.com/GPUOpen-Drivers/AMDVLK";
8989 changelog = "https://github.com/GPUOpen-Drivers/AMDVLK/releases/tag/v-${version}";
pkgs/development/libraries/aml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, pkg-config, ninja }:
1+{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja }:
22
33stdenv.mkDerivation rec {
44 pname = "aml";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ meson pkg-config ninja ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Another main loop";
1818 inherit (src.meta) homepage;
1919 license = licenses.isc;
pkgs/development/libraries/amrnb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{lib, stdenv, fetchurl, unzip}:
22
33stdenv.mkDerivation {
44 name = "amrnb-11.0.0.0";
@@ -26,6 +26,6 @@ stdenv.mkDerivation {
2626 # The wrapper code is free, but not the libraries from 3gpp.
2727 # It's a source code reference implementation with patents and licenses on
2828 # some countries, not redistributable.
29− license = stdenv.lib.licenses.unfree;
29+ license = lib.licenses.unfree;
3030 };
3131}
pkgs/development/libraries/amrwb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 pname = "amrwb";
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
2828 # The wrapper code is free, but not the libraries from 3gpp.
2929 # It's a source code reference implementation with patents and licenses on
3030 # some countries, not redistributable.
31− license = stdenv.lib.licenses.unfree;
31+ license = lib.licenses.unfree;
3232 };
3333}
pkgs/development/libraries/amtk/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, gtk3
44, pkg-config
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 version = "5.2.0";
1414
1515 src = fetchurl {
16− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
16+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1717 sha256 = "0y3hmmflw4i0y0yb9a8rlihbv3cbwnvdcf1n5jycwzpq9jxla1c2";
1818 };
1919
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737
3838 passthru.updateScript = gnome3.updateScript { packageName = pname; };
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 homepage = "https://wiki.gnome.org/Projects/Amtk";
4242 description = "Actions, Menus and Toolbars Kit for GTK applications";
4343 maintainers = [ maintainers.manveru ];
pkgs/development/libraries/apache-activemq/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "apache-activemq";
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 homepage = "http://activemq.apache.org/";
2525 description = "Messaging and Integration Patterns server written in Java";
26− license = stdenv.lib.licenses.asl20;
27− platforms = stdenv.lib.platforms.unix;
26+ license = lib.licenses.asl20;
27+ platforms = lib.platforms.unix;
2828 };
2929
3030}
pkgs/development/libraries/appstream-glib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, substituteAll
44, docbook_xml_dtd_42
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 src = fetchFromGitHub {
3232 owner = "hughsie";
3333 repo = "appstream-glib";
34− rev = stdenv.lib.replaceStrings [ "." "-" ] [ "_" "_" ] name;
34+ rev = lib.replaceStrings [ "." "-" ] [ "_" "_" ] name;
3535 sha256 = "12s7d3nqjs1fldnppbg2mkjg4280f3h8yzj3q1hiz3chh1w0vjbx";
3636 };
3737
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
8484 moveToOutput "share/installed-tests" "$installedTests"
8585 '';
8686
87− meta = with stdenv.lib; {
87+ meta = with lib; {
8888 description = "Objects and helper methods to read and write AppStream metadata";
8989 homepage = "https://people.freedesktop.org/~hughsient/appstream-glib/";
9090 license = licenses.lgpl2Plus;
pkgs/development/libraries/appstream/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja, pkg-config, gettext
1+{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, gettext
22, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
33, libstemmer, glib, xapian, libxml2, libyaml, gobject-introspection
44, pcre, itstool, gperf, vala, lmdb, libsoup
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 "-Dvapi=true"
4040 ];
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Software metadata handling library";
4444 homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
4545 longDescription = ''
pkgs/development/libraries/apr-util/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, apr, expat, gnused
1+{ lib, stdenv, fetchurl, makeWrapper, apr, expat, gnused
22, sslSupport ? true, openssl
33, bdbSupport ? true, db
44, ldapSupport ? !stdenv.isCygwin, openldap
@@ -10,7 +10,7 @@ assert sslSupport -> openssl != null;
1010assert bdbSupport -> db != null;
1111assert ldapSupport -> openldap != null;
1212
13−with stdenv.lib;
13+with lib;
1414
1515stdenv.mkDerivation rec {
1616 name = "apr-util-1.6.1";
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
6161 inherit sslSupport bdbSupport ldapSupport;
6262 };
6363
64− meta = with stdenv.lib; {
64+ meta = with lib; {
6565 homepage = "http://apr.apache.org/";
6666 description = "A companion library to APR, the Apache Portable Runtime";
6767 maintainers = [ maintainers.eelco ];
pkgs/development/libraries/apr/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "apr-1.7.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "1spp6r2a3xcl5yajm9safhzyilsdzgagc2dadif8x6z9nbq4iqg2";
99 };
1010
11− patches = stdenv.lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];
11+ patches = lib.optionals stdenv.isDarwin [ ./is-this-a-compiler-bug.patch ];
1212
1313 # This test needs the net
1414 postPatch = ''
@@ -23,22 +23,22 @@ stdenv.mkDerivation rec {
2323 configureFlagsArray+=("--with-installbuilddir=$dev/share/build")
2424 '';
2525
26− configureFlags = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
26+ configureFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
2727 "ac_cv_file__dev_zero=yes"
2828 "ac_cv_func_setpgrp_void=0"
2929 "apr_cv_process_shared_works=1"
3030 "apr_cv_tcp_nodelay_with_cork=1"
31− ] ++ stdenv.lib.optionals (stdenv.hostPlatform.system == "i686-cygwin") [
31+ ] ++ lib.optionals (stdenv.hostPlatform.system == "i686-cygwin") [
3232 # Including the Windows headers breaks unistd.h.
3333 # Based on ftp://sourceware.org/pub/cygwin/release/libapr1/libapr1-1.3.8-2-src.tar.bz2
3434 "ac_cv_header_windows_h=no"
3535 ];
3636
37− CPPFLAGS=stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-DAPR_IOVEC_DEFINED";
37+ CPPFLAGS=lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-DAPR_IOVEC_DEFINED";
3838
3939 enableParallelBuilding = true;
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 homepage = "http://apr.apache.org/";
4343 description = "The Apache Portable Runtime library";
4444 platforms = platforms.all;
pkgs/development/libraries/aqbanking/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
1+{ lib, stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
22, pkg-config, gettext, xmlsec, zlib
33}:
44
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
2727
2828 nativeBuildInputs = [ pkg-config gettext ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "An interface to banking tasks, file formats and country information";
3232 homepage = "https://www.aquamaniac.de/";
3333 hydraPlatforms = [];
pkgs/development/libraries/aqbanking/gwenhywfar.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkg-config, gettext
1+{ lib, stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkg-config, gettext
22, which
33
44# GUI support
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
3434 isRelative = path: builtins.substring 0 1 path != "/";
3535 mkSearchPath = path: ''
3636 p; g; s,\<PLUGINDIR\>,"${path}",g;
37− '' + stdenv.lib.optionalString (isRelative path) ''
37+ '' + lib.optionalString (isRelative path) ''
3838 s/AddPath(\(.*\));/AddRelPath(\1, GWEN_PathManager_RelModeHome);/g
3939 '';
4040
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
4242 sed -i -e '/GWEN_PathManager_DefinePath.*GWEN_PM_PLUGINDIR/,/^#endif/ {
4343 /^#if/,/^#endif/ {
4444 H; /^#endif/ {
45− ${stdenv.lib.concatMapStrings mkSearchPath pluginSearchPaths}
45+ ${lib.concatMapStrings mkSearchPath pluginSearchPaths}
4646 }
4747 }
4848 }' src/gwenhywfar.c
@@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
5757
5858 buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ];
5959
60− meta = with stdenv.lib; {
60+ meta = with lib; {
6161 description = "OS abstraction functions used by aqbanking and related tools";
6262 homepage = "http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1";
6363 license = licenses.lgpl21;
pkgs/development/libraries/aqbanking/libchipcard.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
1+{ lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
22
33let
44 inherit ((import ./sources.nix).libchipcard) sha256 releaseId version;
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
1919
2020 configureFlags = [ "--with-gwen-dir=${gwenhywfar}" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Library for access to chipcards";
2424 homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";
2525 license = licenses.lgpl21;
pkgs/development/libraries/aravis/default.nix+18−18
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk-doc, intltool
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk-doc, intltool
22, audit, glib, libusb1, libxml2
33, wrapGAppsHook
44, gstreamer ? null
@@ -19,11 +19,11 @@
1919
2020let
2121 gstreamerAtLeastVersion1 =
22− stdenv.lib.all
23− (pkg: pkg != null && stdenv.lib.versionAtLeast (stdenv.lib.getVersion pkg) "1.0")
22+ lib.all
23+ (pkg: pkg != null && lib.versionAtLeast (stdenv.lib.getVersion pkg) "1.0")
2424 [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ];
2525in
26− assert enableGstPlugin -> stdenv.lib.all (pkg: pkg != null) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ];
26+ assert enableGstPlugin -> lib.all (pkg: pkg != null) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ];
2727 assert enableViewer -> enableGstPlugin;
2828 assert enableViewer -> libnotify != null;
2929 assert enableViewer -> gnome3 != null;
@@ -49,26 +49,26 @@ in
4949 pkg-config
5050 intltool
5151 gtk-doc
52− ] ++ stdenv.lib.optional enableViewer wrapGAppsHook;
52+ ] ++ lib.optional enableViewer wrapGAppsHook;
5353
5454 buildInputs =
5555 [ glib libxml2 ]
56− ++ stdenv.lib.optional enableUsb libusb1
57− ++ stdenv.lib.optional enablePacketSocket audit
58− ++ stdenv.lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]
59− ++ stdenv.lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
56+ ++ lib.optional enableUsb libusb1
57+ ++ lib.optional enablePacketSocket audit
58+ ++ lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]
59+ ++ lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
6060
6161 preAutoreconf = ''./autogen.sh'';
6262
6363 configureFlags =
64− stdenv.lib.optional enableUsb "--enable-usb"
65− ++ stdenv.lib.optional enablePacketSocket "--enable-packet-socket"
66− ++ stdenv.lib.optional enableViewer "--enable-viewer"
67− ++ stdenv.lib.optional enableGstPlugin
64+ lib.optional enableUsb "--enable-usb"
65+ ++ lib.optional enablePacketSocket "--enable-packet-socket"
66+ ++ lib.optional enableViewer "--enable-viewer"
67+ ++ lib.optional enableGstPlugin
6868 (if gstreamerAtLeastVersion1 then "--enable-gst-plugin" else "--enable-gst-0.10-plugin")
69− ++ stdenv.lib.optional enableCppTest "--enable-cpp-test"
70− ++ stdenv.lib.optional enableFastHeartbeat "--enable-fast-heartbeat"
71− ++ stdenv.lib.optional enableAsan "--enable-asan";
69+ ++ lib.optional enableCppTest "--enable-cpp-test"
70+ ++ lib.optional enableFastHeartbeat "--enable-fast-heartbeat"
71+ ++ lib.optional enableAsan "--enable-asan";
7272
7373 postPatch = ''
7474 ln -s ${gtk-doc}/share/gtk-doc/data/gtk-doc.make .
@@ -82,9 +82,9 @@ in
8282 Implements the gigabit ethernet and USB3 protocols used by industrial cameras.
8383 '';
8484 homepage = "https://aravisproject.github.io/docs/aravis-0.5";
85− license = stdenv.lib.licenses.lgpl2;
85+ license = lib.licenses.lgpl2;
8686 maintainers = [];
87− platforms = stdenv.lib.platforms.unix;
87+ platforms = lib.platforms.unix;
8888 };
8989 }
9090
pkgs/development/libraries/arb/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
1+{lib, stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
22stdenv.mkDerivation rec {
33 pname = "arb";
44 version = "2.17.0";
@@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
1616 "--with-flint=${flint}"
1717 ];
1818 doCheck = true;
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A library for arbitrary-precision interval arithmetic";
2121 homepage = "https://arblib.org/";
22− license = stdenv.lib.licenses.lgpl21Plus;
22+ license = lib.licenses.lgpl21Plus;
2323 maintainers = teams.sage.members;
24− platforms = stdenv.lib.platforms.unix;
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/libraries/argp-standalone/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch }:
1+{ lib, stdenv, fetchurl, fetchpatch }:
22
33let
44 patch-argp-fmtstream = fetchpatch {
@@ -28,12 +28,12 @@ stdenv.mkDerivation {
2828 };
2929
3030 patches =
31− stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ patch-argp-fmtstream ]
32− ++ stdenv.lib.optionals stdenv.hostPlatform.isLinux [ patch-throw-in-funcdef patch-shared ];
31+ lib.optionals stdenv.hostPlatform.isDarwin [ patch-argp-fmtstream ]
32+ ++ lib.optionals stdenv.hostPlatform.isLinux [ patch-throw-in-funcdef patch-shared ];
3333
34− patchFlags = stdenv.lib.optional stdenv.hostPlatform.isDarwin "-p0";
34+ patchFlags = lib.optional stdenv.hostPlatform.isDarwin "-p0";
3535
36− preConfigure = stdenv.lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline'";
36+ preConfigure = lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline'";
3737
3838 postInstall = ''
3939 mkdir -p $out/lib $out/include
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
4747
4848 enableParallelBuilding = true;
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 homepage = "https://www.lysator.liu.se/~nisse/misc/";
5252 description = "Standalone version of arguments parsing functions from GLIBC";
5353 platforms = with platforms; darwin ++ linux;
pkgs/development/libraries/argtable/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44}:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 patchShebangs tools/build
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://argtable.org";
2626 description = "A single-file, ANSI C command-line parsing library";
2727 longDescription = ''
pkgs/development/libraries/arguments/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "arguments";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 doCheck = false;
2222 # internal_volume_io.h: No such file or directory
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://github.com/${owner}/${pname}";
2626 description = "Library for argument handling for MINC programs";
2727 maintainers = with maintainers; [ bcdarwin ];
pkgs/development/libraries/aribb25/default.nix+1−1
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
4747 buildFlags =
4848 lib.optional stdenv.isDarwin "pcsclite_CFLAGS=-I${PCSC}/Library/Frameworks/PCSC.framework/Headers";
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 homepage = "https://code.videolan.org/videolan/aribb25";
5252 description = "Sample implementation of the ARIB STD-B25 standard";
5353 platforms = platforms.all;
pkgs/development/libraries/armadillo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, blas, lapack, superlu, hdf5 }:
1+{ lib, stdenv, fetchurl, cmake, blas, lapack, superlu, hdf5 }:
22
33stdenv.mkDerivation rec {
44 pname = "armadillo";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 patches = [ ./use-unix-config-on-OS-X.patch ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "C++ linear algebra library";
2424 homepage = "http://arma.sourceforge.net";
2525 license = licenses.asl20;
pkgs/development/libraries/arrayfire/default.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config
1+{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkg-config
22, opencl-clhpp, ocl-icd, fftw, fftwFloat
33, blas, lapack, boost, mesa, libGLU, libGL
44, freeimage, python, clfft, clblas
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 "-DAF_BUILD_OPENCL=OFF"
2020 "-DAF_BUILD_EXAMPLES=OFF"
2121 "-DBUILD_TESTING=OFF"
22− ] ++ stdenv.lib.optional cudaSupport "-DCMAKE_LIBRARY_PATH=${cudatoolkit}/lib/stubs";
22+ ] ++ lib.optional cudaSupport "-DCMAKE_LIBRARY_PATH=${cudatoolkit}/lib/stubs";
2323
2424 patches = [ ./no-download.patch ];
2525
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 cp -R --no-preserve=mode,ownership ${opencl-clhpp}/include/CL/cl2.hpp ./build/include/CL/cl2.hpp
3333 '';
3434
35− preBuild = stdenv.lib.optionalString cudaSupport ''
35+ preBuild = lib.optionalString cudaSupport ''
3636 export CUDA_PATH="${cudatoolkit}"
3737 '';
3838
@@ -48,11 +48,11 @@ stdenv.mkDerivation rec {
4848 libGLU libGL
4949 mesa freeimage
5050 boost.out boost.dev
51− ] ++ (stdenv.lib.optional stdenv.isLinux ocl-icd)
52− ++ (stdenv.lib.optional cudaSupport cudatoolkit)
53− ++ (stdenv.lib.optional buildDocs doxygen);
51+ ] ++ (lib.optional stdenv.isLinux ocl-icd)
52+ ++ (lib.optional cudaSupport cudatoolkit)
53+ ++ (lib.optional buildDocs doxygen);
5454
55− meta = with stdenv.lib; {
55+ meta = with lib; {
5656 description = "A general-purpose library for parallel and massively-parallel computations";
5757 longDescription = ''
5858 A general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices.";
pkgs/development/libraries/asio/generic.nix+3−3
@@ -1,8 +1,8 @@
1−{stdenv, fetchurl, boost, openssl
1+{lib, stdenv, fetchurl, boost, openssl
22, version, sha256, ...
33}:
44
5−with stdenv.lib;
5+with lib;
66
77stdenv.mkDerivation {
88 pname = "asio";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 homepage = "http://asio.sourceforge.net/";
2222 description = "Cross-platform C++ library for network and low-level I/O programming";
2323 license = licenses.boost;
24− broken = stdenv.isDarwin && stdenv.lib.versionOlder version "1.16.1";
24+ broken = stdenv.isDarwin && lib.versionOlder version "1.16.1";
2525 platforms = platforms.unix;
2626 };
2727}
pkgs/development/libraries/aspell/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, fetchzip, perl
1+{ lib, stdenv, fetchurl, fetchpatch, fetchzip, perl
22, searchNixProfiles ? true
33}:
44
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 sha256 = "1wi60ankalmh8ds7nplz434jd7j94gdvbahdwsr539rlad8pxdzr";
2424 };
2525
26− patches = stdenv.lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
26+ patches = lib.optional searchNixProfiles ./data-dirs-from-nix-profiles.patch;
2727
2828 postPatch = ''
2929 patch interfaces/cc/aspell.h < ${./clang.patch}
@@ -51,8 +51,8 @@ stdenv.mkDerivation rec {
5151 meta = {
5252 description = "Spell checker for many languages";
5353 homepage = "http://aspell.net/";
54− license = stdenv.lib.licenses.lgpl2Plus;
54+ license = lib.licenses.lgpl2Plus;
5555 maintainers = [ ];
56− platforms = with stdenv.lib.platforms; all;
56+ platforms = with lib.platforms; all;
5757 };
5858}
pkgs/development/libraries/aspell/dictionaries.nix+1−1
@@ -49,7 +49,7 @@ let
4949
5050 meta = {
5151 description = "Aspell dictionary for ${fullName}";
52− platforms = stdenv.lib.platforms.all;
52+ platforms = lib.platforms.all;
5353 } // (args.meta or {});
5454 } // removeAttrs args [ "meta" ]);
5555
pkgs/development/libraries/assimp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, zlib }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "assimp";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ boost zlib ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A library to import various 3D model formats";
1919 homepage = "http://assimp.sourceforge.net/";
2020 license = licenses.bsd3;
pkgs/development/libraries/at-spi2-atk/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33
44, meson
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 version = "2.38.0";
2020
2121 src = fetchurl {
22− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
22+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2323 sha256 = "z6AIpa+CKzauYofxgYLEDJHdaZxV+qOGBYge0XXKRk8=";
2424 };
2525
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 };
3535 };
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
3939 homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk";
4040 license = licenses.lgpl21Plus;
pkgs/development/libraries/at-spi2-core/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33
44, meson
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 version = "2.38.0";
2424
2525 src = fetchurl {
26− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
26+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2727 sha256 = "hONsP+ZoYhM/X+Ipdyt2qiUm4Q3lAUo3ePL6Rs5VDaU=";
2828 };
2929
@@ -51,11 +51,11 @@ stdenv.mkDerivation rec {
5151 postFixup = ''
5252 # Cannot use wrapGAppsHook'due to a dependency cycle
5353 wrapProgram $out/libexec/at-spi-bus-launcher \
54− --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
54+ --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
5555 --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
5656 '';
5757
58− meta = with stdenv.lib; {
58+ meta = with lib; {
5959 description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
6060 homepage = "https://gitlab.gnome.org/GNOME/at-spi2-core";
6161 license = licenses.lgpl21Plus;
pkgs/development/libraries/atk/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, gettext, pkg-config, glib
1+{ lib, stdenv, fetchurl, meson, ninja, gettext, pkg-config, glib
22, fixDarwinDylibNames, gobject-introspection, gnome3
33}:
44
@@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
1111 name = "${pname}-${version}";
1212
1313 src = fetchurl {
14− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
14+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1515 sha256 = "1217cmmykjgkkim0zr1lv5j13733m4w5vipmy4ivw0ll6rz28xpv";
1616 };
1717
1818 outputs = [ "out" "dev" ];
1919
2020 nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection glib ]
21− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
21+ ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
2222
2323 propagatedBuildInputs = [
2424 # Required by atk.pc
@@ -52,10 +52,10 @@ stdenv.mkDerivation rec {
5252
5353 homepage = "http://library.gnome.org/devel/atk/";
5454
55− license = stdenv.lib.licenses.lgpl2Plus;
55+ license = lib.licenses.lgpl2Plus;
5656
57− maintainers = with stdenv.lib.maintainers; [ raskin ];
58− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
57+ maintainers = with lib.maintainers; [ raskin ];
58+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
5959 };
6060
6161}
pkgs/development/libraries/atkmm/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, atk, glibmm, pkg-config, gnome3 }:
1+{ lib, stdenv, fetchurl, atk, glibmm, pkg-config, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "atkmm";
55 version = "2.28.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "0fnxrspxkhhbrjphqrpvl3zjm66n50s4cywrrrwkhbflgy8zqk2c";
1010 };
1111
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
2525
2626 meta = {
2727 description = "C++ wrappers for ATK accessibility toolkit";
28− license = stdenv.lib.licenses.lgpl21Plus;
28+ license = lib.licenses.lgpl21Plus;
2929 homepage = "https://gtkmm.org";
30− platforms = stdenv.lib.platforms.unix;
30+ platforms = lib.platforms.unix;
3131 };
3232}
pkgs/development/libraries/attr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gettext }:
1+{ lib, stdenv, fetchurl, gettext }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 done
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 homepage = "https://savannah.nongnu.org/projects/attr/";
3333 description = "Library and tools for manipulating extended attributes";
3434 platforms = platforms.linux;
pkgs/development/libraries/aubio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
1+{ lib, stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
22, libsndfile, pkg-config, python, wafHook
33}:
44
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ pkg-config python wafHook ];
1414 buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Library for audio labelling";
1818 homepage = "https://aubio.org/";
1919 license = licenses.gpl2;
pkgs/development/libraries/audiality2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 jack2
2929 ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "A realtime scripted modular audio engine for video games and musical applications";
3333 homepage = "http://audiality.org";
3434 license = licenses.zlib;
pkgs/development/libraries/audio/libbass/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, unzip, fetchurl }:
1+{ lib, stdenv, unzip, fetchurl }:
22
33# Upstream changes files in-place, to update:
44# 1. Check latest version at http://www.un4seen.com/
@@ -55,7 +55,7 @@ let
5555 install -m644 -t $out/include/ ${bass.h}
5656 '';
5757
58− meta = with stdenv.lib; {
58+ meta = with lib; {
5959 description = "Shareware audio library";
6060 homepage = "https://www.un4seen.com/";
6161 license = licenses.unfreeRedistributable;
@@ -63,4 +63,4 @@ let
6363 };
6464 };
6565
66−in stdenv.lib.mapAttrs dropBass allBass
66+in lib.mapAttrs dropBass allBass
pkgs/development/libraries/audio/libbs2b/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libsndfile }:
1+{ lib, stdenv, fetchurl, pkg-config, libsndfile }:
22
33stdenv.mkDerivation rec {
44 pname = "libbs2b";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 homepage = "http://bs2b.sourceforge.net/";
1919 description = "Bauer stereophonic-to-binaural DSP library";
20− license = stdenv.lib.licenses.mit;
21− platforms = stdenv.lib.platforms.unix;
20+ license = lib.licenses.mit;
21+ platforms = lib.platforms.unix;
2222 };
2323}
pkgs/development/libraries/audio/libgme/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchFromBitbucket, cmake, removeReferencesTo }:
1+{ lib, stdenv, fetchFromBitbucket, cmake, removeReferencesTo }:
22let
33 version = "0.6.3";
44in stdenv.mkDerivation {
55 pname = "libgme";
66 inherit version;
77
8− meta = with stdenv.lib; {
8+ meta = with lib; {
99 description = "A collection of video game music chip emulators";
1010 homepage = "https://bitbucket.org/mpyne/game-music-emu/overview";
1111 license = licenses.lgpl21;
@@ -26,7 +26,7 @@ in stdenv.mkDerivation {
2626 # it doesn't.
2727 disallowedReferences = [ stdenv.cc.cc ];
2828
29− postFixup = stdenv.lib.optionalString stdenv.isLinux ''
29+ postFixup = lib.optionalString stdenv.isLinux ''
3030 remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)"
3131 '';
3232}
pkgs/development/libraries/audio/libinstpatch/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
22
33stdenv.mkDerivation rec {
44 pname = "libinstpatch";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 "-DLIB_SUFFIX=" # Install in $out/lib.
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "http://www.swamiproject.org/";
2424 description = "MIDI instrument patch files support library";
2525 license = licenses.lgpl21;
pkgs/development/libraries/audio/libmysofa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, zlib }:
1+{ lib, stdenv, fetchFromGitHub, cmake, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "libmysofa";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCODE_COVERAGE=OFF" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Reader for AES SOFA files to get better HRTFs";
2121 homepage = "https://github.com/hoene/libmysofa";
2222 license = licenses.bsd3;
pkgs/development/libraries/audio/libsmf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
1+{ lib, stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "1.3";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ autoreconfHook pkg-config ];
1212 buildInputs = [ glib ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "A C library for reading and writing Standard MIDI Files";
1616 homepage = "https://github.com/stump/libsmf";
1717 license = licenses.bsd2;
pkgs/development/libraries/audio/lilv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook }:
1+{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "lilv";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 buildInputs = [ serd sord sratom ];
1616 propagatedBuildInputs = [ lv2 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "http://drobilla.net/software/lilv";
2020 description = "A C library to make the use of LV2 plugins";
2121 license = licenses.mit;
pkgs/development/libraries/audio/lv2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
1+{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "lv2";
@@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config wafHook ];
1313 buildInputs = [ gtk2 libsndfile python3 ];
1414
15− wafConfigureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
15+ wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://lv2plug.in";
1919 description = "A plugin standard for audio systems";
2020 license = licenses.mit;
pkgs/development/libraries/audio/lvtk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python, wafHook }:
1+{ lib, stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "lvtk";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 "--boost-libs=${boost.out}/lib"
2525 ];
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "A set C++ wrappers around the LV2 C API";
2929 homepage = "https://lvtk.org/";
3030 license = licenses.gpl3;
pkgs/development/libraries/audio/mbelib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "mbelib";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "P25 Phase 1 and ProVoice vocoder";
2424 homepage = https://github.com/szechyjs/mbelib;
2525 license = licenses.isc;
pkgs/development/libraries/audio/ntk/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python2, wafHook }:
1+{ lib, stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python2, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "ntk";
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919 description = "Fork of FLTK 1.3.0 with additional functionality";
2020 version = version;
2121 homepage = "http://non.tuxfamily.org/";
22− license = stdenv.lib.licenses.lgpl21;
23− maintainers = with stdenv.lib.maintainers; [ magnetophon nico202 ];
24− platforms = stdenv.lib.platforms.linux;
22+ license = lib.licenses.lgpl21;
23+ maintainers = with lib.maintainers; [ magnetophon nico202 ];
24+ platforms = lib.platforms.linux;
2525 };
2626}
pkgs/development/libraries/audio/qm-dsp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, kissfft
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343
4444 NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A C++ library of functions for DSP and Music Informatics purposes";
4848 homepage = "https://code.soundsoftware.ac.uk/projects/qm-dsp";
4949 license = licenses.gpl2Plus;
pkgs/development/libraries/audio/raul/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, boost, gtk2, pkg-config, python, wafHook }:
1+{ lib, stdenv, fetchgit, boost, gtk2, pkg-config, python, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "raul";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ pkg-config wafHook ];
1616 buildInputs = [ boost gtk2 python ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A C++ utility library primarily aimed at audio/musical applications";
2020 homepage = "http://drobilla.net/software/raul";
2121 license = licenses.gpl3;
pkgs/development/libraries/audio/rtaudio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
22
33stdenv.mkDerivation rec {
44 version = "5.1.0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 ./configure
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
2727 homepage = "http://www.music.mcgill.ca/~gary/rtaudio/";
2828 license = licenses.mit;
pkgs/development/libraries/audio/rtmidi/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "4.0.0";
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
2626 homepage = "http://www.music.mcgill.ca/~gary/rtmidi/";
27− license = stdenv.lib.licenses.mit;
28− maintainers = [ stdenv.lib.maintainers.magnetophon ];
29− platforms = with stdenv.lib.platforms; linux ++ darwin;
27+ license = lib.licenses.mit;
28+ maintainers = [ lib.maintainers.magnetophon ];
29+ platforms = with lib.platforms; linux ++ darwin;
3030 };
3131}
pkgs/development/libraries/audio/sratom/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, wafHook }:
1+{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "sratom";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config wafHook python3 ];
1313 buildInputs = [ lv2 serd sord ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://drobilla.net/software/sratom";
1717 description = "A library for serialising LV2 atoms to/from RDF";
1818 license = licenses.mit;
pkgs/development/libraries/audio/suil/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 ++ (lib.optionals withQt4 [ qt4 ])
2323 ++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "http://drobilla.net/software/suil";
2727 description = "A lightweight C library for loading and wrapping LV2 plugin UIs";
2828 license = licenses.mit;
pkgs/development/libraries/audio/vamp-plugin-sdk/default.nix+2−2
@@ -1,7 +1,7 @@
11# set VAMP_PATH ?
22# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses)
33
4−{ stdenv, fetchFromGitHub, pkg-config, libsndfile }:
4+{ lib, stdenv, fetchFromGitHub, pkg-config, libsndfile }:
55
66stdenv.mkDerivation rec {
77 pname = "vamp-plugin-sdk";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Audio processing plugin system for plugins that extract descriptive information from audio data";
2424 homepage = "https://vamp-plugins.org/";
2525 license = licenses.bsd3;
pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl , alsaLib, }:
1+{ lib, stdenv, fetchurl , alsaLib, }:
22
33stdenv.mkDerivation rec {
44 pname = "zita-alsa-pcmi";
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
5757 description = "The successor of clalsadrv, provides easy access to ALSA PCM devices";
5858 version = version;
5959 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
60− license = stdenv.lib.licenses.gpl3;
61− maintainers = [ stdenv.lib.maintainers.magnetophon ];
62− platforms = stdenv.lib.platforms.linux;
60+ license = lib.licenses.gpl3;
61+ maintainers = [ lib.maintainers.magnetophon ];
62+ platforms = lib.platforms.linux;
6363 };
6464}
pkgs/development/libraries/audio/zita-convolver/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fftwFloat }:
1+{ lib, stdenv, fetchurl, fftwFloat }:
22
33stdenv.mkDerivation rec {
44 pname = "zita-convolver";
@@ -22,15 +22,15 @@ stdenv.mkDerivation rec {
2222
2323 postInstall = ''
2424 # create lib link for building apps
25− ln -s $out/lib/libzita-convolver.so.${version} $out/lib/libzita-convolver.so.${stdenv.lib.versions.major version}
25+ ln -s $out/lib/libzita-convolver.so.${version} $out/lib/libzita-convolver.so.${lib.versions.major version}
2626 '';
2727
2828 meta = {
2929 description = "Convolution library by Fons Adriaensen";
3030 version = version;
3131 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
32− license = stdenv.lib.licenses.gpl2;
33− maintainers = [ stdenv.lib.maintainers.magnetophon ];
34− platforms = stdenv.lib.platforms.linux;
32+ license = lib.licenses.gpl2;
33+ maintainers = [ lib.maintainers.magnetophon ];
34+ platforms = lib.platforms.linux;
3535 };
3636}
pkgs/development/libraries/audio/zita-resampler/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "zita-resampler";
@@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
2626 description = "Resample library by Fons Adriaensen";
2727 version = version;
2828 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
29− license = stdenv.lib.licenses.gpl2;
30− maintainers = [ stdenv.lib.maintainers.magnetophon ];
31− platforms = stdenv.lib.platforms.linux;
29+ license = lib.licenses.gpl2;
30+ maintainers = [ lib.maintainers.magnetophon ];
31+ platforms = lib.platforms.linux;
3232 };
3333}
pkgs/development/libraries/audiofile/default.nix+3−3
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
1414 name = "audiofile-0.3.6";
1515
1616 buildInputs =
17− stdenv.lib.optionals stdenv.isLinux [
17+ lib.optionals stdenv.isLinux [
1818 alsaLib
19− ] ++ stdenv.lib.optionals stdenv.isDarwin [
19+ ] ++ lib.optionals stdenv.isDarwin [
2020 CoreServices AudioUnit
2121 ];
2222
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
8484 })
8585 ];
8686
87− meta = with stdenv.lib; {
87+ meta = with lib; {
8888 description = "Library for reading and writing audio files in various formats";
8989 homepage = "http://www.68k.org/~michael/audiofile/";
9090 license = licenses.lgpl21Plus;
pkgs/development/libraries/avahi/default.nix+13−13
@@ -1,4 +1,4 @@
1−{ fetchurl, fetchpatch, stdenv, pkg-config, libdaemon, dbus, perlPackages
1+{ fetchurl, fetchpatch, lib, stdenv, pkg-config, libdaemon, dbus, perlPackages
22, expat, gettext, intltool, glib, libiconv, writeShellScriptBin, libevent
33, gtk3Support ? false, gtk3 ? null
44, qt4 ? null
@@ -17,7 +17,7 @@ let
1717in
1818
1919stdenv.mkDerivation rec {
20− name = "avahi${stdenv.lib.optionalString withLibdnssdCompat "-compat"}-${version}";
20+ name = "avahi${lib.optionalString withLibdnssdCompat "-compat"}-${version}";
2121 version = "0.8";
2222
2323 src = fetchurl {
@@ -36,32 +36,32 @@ stdenv.mkDerivation rec {
3636
3737 buildInputs = [ libdaemon dbus glib expat libiconv libevent ]
3838 ++ (with perlPackages; [ perl XMLParser ])
39− ++ (stdenv.lib.optional gtk3Support gtk3)
40− ++ (stdenv.lib.optional qt4Support qt4)
41− ++ (stdenv.lib.optional qt5Support qt5);
39+ ++ (lib.optional gtk3Support gtk3)
40+ ++ (lib.optional qt4Support qt4)
41+ ++ (lib.optional qt5Support qt5);
4242
4343 propagatedBuildInputs =
44− stdenv.lib.optionals withPython (with python.pkgs; [ python pygobject3 dbus-python ]);
44+ lib.optionals withPython (with python.pkgs; [ python pygobject3 dbus-python ]);
4545
4646 nativeBuildInputs = [ pkg-config pkg-config-helper gettext intltool glib ];
4747
4848 configureFlags =
4949 [ "--disable-qt3" "--disable-gdbm" "--disable-mono"
5050 "--disable-gtk" "--with-dbus-sys=${placeholder "out"}/share/dbus-1/system.d"
51− (stdenv.lib.enableFeature gtk3Support "gtk3")
51+ (lib.enableFeature gtk3Support "gtk3")
5252 "--${if qt4Support then "enable" else "disable"}-qt4"
5353 "--${if qt5Support then "enable" else "disable"}-qt5"
54− (stdenv.lib.enableFeature withPython "python")
54+ (lib.enableFeature withPython "python")
5555 "--localstatedir=/var" "--with-distro=none"
5656 # A systemd unit is provided by the avahi-daemon NixOS module
5757 "--with-systemdsystemunitdir=no" ]
58− ++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
58+ ++ lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
5959 # autoipd won't build on darwin
60− ++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
60+ ++ lib.optional stdenv.isDarwin "--disable-autoipd";
6161
6262 NIX_CFLAGS_COMPILE = "-DAVAHI_SERVICE_DIR=\"/etc/avahi/services\"";
6363
64− preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
64+ preBuild = lib.optionalString stdenv.isDarwin ''
6565 sed -i '20 i\
6666 #define __APPLE_USE_RFC_2292' \
6767 avahi-core/socket.c
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
6969
7070 postInstall =
7171 # Maintain compat for mdnsresponder and howl
72− stdenv.lib.optionalString withLibdnssdCompat ''
72+ lib.optionalString withLibdnssdCompat ''
7373 ln -s avahi-compat-libdns_sd/dns_sd.h "$out/include/dns_sd.h"
7474 '';
7575 /* # these don't exist (anymore?)
@@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
7777 ln -s avahi-compat-howl.pc $out/lib/pkgconfig/howl.pc
7878 */
7979
80− meta = with stdenv.lib; {
80+ meta = with lib; {
8181 description = "mDNS/DNS-SD implementation";
8282 homepage = "http://avahi.org";
8383 license = licenses.lgpl2Plus;
pkgs/development/libraries/avro-c++/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, boost, python2}:
1+{ lib, stdenv, fetchurl, cmake, boost, python2}:
22
33let version = "1.8.2"; in
44
@@ -22,8 +22,8 @@ stdenv.mkDerivation {
2222 meta = {
2323 description = "A C++ library which implements parts of the Avro Specification";
2424 homepage = "https://avro.apache.org/";
25− license = stdenv.lib.licenses.asl20;
26− maintainers = with stdenv.lib.maintainers; [ rasendubi ];
27− platforms = stdenv.lib.platforms.all;
25+ license = lib.licenses.asl20;
26+ maintainers = with lib.maintainers; [ rasendubi ];
27+ platforms = lib.platforms.all;
2828 };
2929}
pkgs/development/libraries/avro-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, fetchurl, pkg-config, jansson, zlib }:
1+{ lib, stdenv, cmake, fetchurl, pkg-config, jansson, zlib }:
22
33let
44 version = "1.9.1";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
1919
2020 buildInputs = [ jansson zlib ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A C library which implements parts of the Avro Specification";
2424 homepage = "https://avro.apache.org/";
2525 license = licenses.asl20;
pkgs/development/libraries/ayatana-ido/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, pkg-config, autoreconfHook
33, gtk3, gobject-introspection, gtk-doc, vala
44}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 buildInputs = [ gtk3 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Ayatana Display Indicator Objects";
2323 homepage = "https://github.com/AyatanaIndicators/ayatana-ido";
2424 changelog = "https://github.com/AyatanaIndicators/ayatana-ido/blob/${version}/ChangeLog";
pkgs/development/libraries/babl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 outputs = [ "out" "dev" ];
1616
1717 src = fetchurl {
18− url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
18+ url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1919 sha256 = "sha256-5+OLhEH3f+udyCMctDSoYZCiHy82ksKBRX6Z016cNOo=";
2020 };
2121
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 lcms2
3232 ];
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "Image pixel format conversion library";
3636 homepage = "https://gegl.org/babl/";
3737 license = licenses.lgpl3Plus;
pkgs/development/libraries/bamf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, pantheon
33, autoconf
44, automake
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
9090 # glib-2.62 deprecations
9191 NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
9292
93− meta = with stdenv.lib; {
93+ meta = with lib; {
9494 description = "Application matching framework";
9595 longDescription = ''
9696 Removes the headache of applications matching
pkgs/development/libraries/bcg729/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, cmake
44}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [ cmake ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Opensource implementation of both encoder and decoder of the ITU G729 Annex A/B speech codec";
2323 homepage = "https://linphone.org/technical-corner/bcg729";
2424 changelog = "https://gitlab.linphone.org/BC/public/bcg729/raw/${version}/NEWS";
pkgs/development/libraries/bctoolbox/default.nix+2−2
@@ -2,7 +2,7 @@
22, cmake
33, fetchFromGitLab
44, mbedtls
5−, stdenv
5+, lib, stdenv
66}:
77
88stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 inherit version;
3131 description = "Utilities library for Linphone";
3232 homepage = "https://gitlab.linphone.org/BC/public/bctoolbox";
pkgs/development/libraries/beecrypt/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, m4}:
1+{lib, stdenv, fetchurl, m4}:
22
33stdenv.mkDerivation {
44 name = "beecrypt-4.2.1";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 configureFlags = [ "--disable-optimized" "--enable-static" ];
1111
1212 meta = {
13− platforms = stdenv.lib.platforms.linux;
14− license = stdenv.lib.licenses.lgpl2;
13+ platforms = lib.platforms.linux;
14+ license = lib.licenses.lgpl2;
1515 };
1616}
pkgs/development/libraries/beignet/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
9696 '';
9797 };
9898
99− meta = with stdenv.lib; {
99+ meta = with lib; {
100100 homepage = "https://cgit.freedesktop.org/beignet/";
101101 description = "OpenCL Library for Intel Ivy Bridge and newer GPUs";
102102 longDescription = ''
pkgs/development/libraries/belcard/default.nix+2−2
@@ -2,7 +2,7 @@
22, belr
33, cmake
44, fetchFromGitLab
5−, stdenv
5+, lib, stdenv
66}:
77
88stdenv.mkDerivation rec {
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 # Do not build static libraries
2525 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "C++ library to manipulate VCard standard format";
2929 homepage = "https://gitlab.linphone.org/BC/public/belcard";
3030 license = licenses.gpl3Plus;
pkgs/development/libraries/belle-sip/default.nix+2−2
@@ -4,7 +4,7 @@
44, fetchFromGitLab
55, libantlr3c
66, mbedtls
7−, stdenv
7+, lib, stdenv
88, zlib
99}:
1010
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 propagatedBuildInputs = [ libantlr3c mbedtls bctoolbox ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 homepage = "https://linphone.org/technical-corner/belle-sip";
4141 description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers";
4242 license = licenses.gpl3Plus;
pkgs/development/libraries/belr/default.nix+2−2
@@ -1,7 +1,7 @@
11{ bctoolbox
22, cmake
33, fetchFromGitLab
4−, stdenv
4+, lib, stdenv
55}:
66
77stdenv.mkDerivation rec {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 # Do not build static libraries
2424 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Belledonne Communications' language recognition library";
2828 homepage = "https://gitlab.linphone.org/BC/public/belr";
2929 license = licenses.gpl3Plus;
pkgs/development/libraries/biblesync/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, cmake, libuuid }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, libuuid }:
22
33stdenv.mkDerivation rec {
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ pkg-config cmake ];
1616 buildInputs = [ libuuid ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://wiki.crosswire.org/BibleSync";
2020 description = "A multicast protocol to Bible software shared conavigation";
2121 longDescription = ''
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
2929 '';
3030 license = licenses.publicDomain;
3131 maintainers = [ maintainers.AndersonTorres ];
32− platforms = stdenv.lib.platforms.linux;
32+ platforms = lib.platforms.linux;
3333 };
3434}
pkgs/development/libraries/bobcat/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, icmake
1+{ lib, stdenv, fetchFromGitLab, icmake
22, libmilter, libX11, openssl, readline
33, util-linux, yodl }:
44
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 ./build install x
3636 '';
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "Brokken's Own Base Classes And Templates";
4040 homepage = "https://fbb-git.gitlab.io/bobcat/";
4141 license = licenses.gpl3;
pkgs/development/libraries/boehm-gc/7.6.6.nix+2−2
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 outputs = [ "out" "dev" "doc" ];
2121 separateDebugInfo = stdenv.isLinux;
2222
23− preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
23+ preConfigure = lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
2424 export NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
2525 '';
2626
@@ -69,6 +69,6 @@ stdenv.mkDerivation rec {
6969 license = "https://hboehm.info/gc/license.txt";
7070
7171 maintainers = [ ];
72− platforms = stdenv.lib.platforms.all;
72+ platforms = lib.platforms.all;
7373 };
7474}
pkgs/development/libraries/boehm-gc/default.nix+2−2
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 outputs = [ "out" "dev" "doc" ];
1919 separateDebugInfo = stdenv.isLinux && stdenv.hostPlatform.libc != "musl";
2020
21− preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
21+ preConfigure = lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
2222 export NIX_CFLAGS_COMPILE+=" -D_GNU_SOURCE -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
2323 '';
2424
@@ -64,6 +64,6 @@ stdenv.mkDerivation rec {
6464 license = "https://hboehm.info/gc/license.txt";
6565
6666 maintainers = [ ];
67− platforms = stdenv.lib.platforms.all;
67+ platforms = lib.platforms.all;
6868 };
6969}
pkgs/development/libraries/boolstuff/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config }:
1+{ lib, stdenv, fetchurl, pkg-config }:
22
33let baseurl = "https://perso.b2b2c.ca/~sarrazip/dev"; in
44
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 description = "Library for operations on boolean expression binary trees";
1717 homepage = "${baseurl}/boolstuff.html";
1818 license = "GPL";
19− maintainers = [ stdenv.lib.maintainers.marcweber ];
20− platforms = stdenv.lib.platforms.linux;
19+ maintainers = [ lib.maintainers.marcweber ];
20+ platforms = lib.platforms.linux;
2121 };
2222}
pkgs/development/libraries/boost-process/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation {
44 name = "boost-process-0.5";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 cp -r boost $out/include
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "http://www.highscore.de/boost/process0.5/";
2626 description = "Library to manage system processes";
2727 license = licenses.boost;
pkgs/development/libraries/boost/1.67.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
1+{ lib, stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
22
33callPackage ./generic.nix (args // {
44 version = "1.67.0";
@@ -9,7 +9,7 @@ callPackage ./generic.nix (args // {
99 sha256 = "0x65nkwzv8fdacj8sw5njl3v63jj19dirrpklbwy6qpsncw7fc7h";
1010 stripLen = 1;
1111 })
12− ] ++ stdenv.lib.optionals stdenv.cc.isClang [
12+ ] ++ lib.optionals stdenv.cc.isClang [
1313 # Fixes https://github.com/boostorg/atomic/issues/15
1414 (fetchpatch {
1515 url = "https://github.com/boostorg/atomic/commit/6e14ca24dab50ad4c1fa8c27c7dd6f1cb791b534.patch";
pkgs/development/libraries/boost/generic.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
1+{ lib, stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
22, fetchpatch
33, which
44, buildPackages
@@ -30,9 +30,9 @@ assert enablePython -> stdenv.hostPlatform == stdenv.buildPlatform;
3030assert enableNumpy -> enablePython;
3131
3232# Boost <1.69 can't be build with clang >8, because pth was removed
33−assert with stdenv.lib; ((toolset == "clang" && !(versionOlder stdenv.cc.version "8.0.0")) -> !(versionOlder version "1.69"));
33+assert with lib; ((toolset == "clang" && !(versionOlder stdenv.cc.version "8.0.0")) -> !(versionOlder version "1.69"));
3434
35−with stdenv.lib;
35+with lib;
3636let
3737
3838 variant = concatStringsSep ","
@@ -150,7 +150,7 @@ stdenv.mkDerivation {
150150 EOF
151151 '';
152152
153− NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.isDarwin
153+ NIX_CFLAGS_LINK = lib.optionalString stdenv.isDarwin
154154 "-headerpad_max_install_names";
155155
156156 enableParallelBuilding = true;
pkgs/development/libraries/bootil/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, premake4 }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, premake4 }:
22
33stdenv.mkDerivation {
44 name = "bootil-unstable-2015-12-17";
@@ -7,9 +7,9 @@ stdenv.mkDerivation {
77 description = "Garry Newman's personal utility library";
88 homepage = "https://github.com/garrynewman/bootil";
99 # License unsure - see https://github.com/garrynewman/bootil/issues/21
10− license = stdenv.lib.licenses.free;
11− maintainers = [ stdenv.lib.maintainers.abigailbuccaneer ];
12− platforms = stdenv.lib.platforms.all;
10+ license = lib.licenses.free;
11+ maintainers = [ lib.maintainers.abigailbuccaneer ];
12+ platforms = lib.platforms.all;
1313 # Build uses `-msse` and `-mfpmath=sse`
1414 badPlatforms = [ "aarch64-linux" ];
1515 };
pkgs/development/libraries/boringssl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, cmake, perl, go }:
1+{ lib, stdenv, fetchgit, cmake, perl, go }:
22
33# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
44stdenv.mkDerivation {
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
2929
3030 outputs = [ "out" "bin" ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Free TLS/SSL implementation";
3434 homepage = "https://boringssl.googlesource.com";
3535 platforms = platforms.all;
pkgs/development/libraries/botan/generic.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
1+{ lib, stdenv, fetchurl, python, bzip2, zlib, gmp, openssl, boost
22# Passed by version specific builders
33, baseVersion, revision, sha256
44, sourceExtension ? "tar.xz"
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 inherit postPatch;
2525
2626 buildInputs = [ python bzip2 zlib gmp openssl boost ]
27− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
27+ ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
2828
2929 configurePhase = ''
3030 python configure.py --prefix=$out --with-bzip2 --with-zlib ${if openssl != null then "--with-openssl" else ""} ${extraConfigureFlags}${if stdenv.cc.isClang then " --cc=clang" else "" }
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 ln -s botan-*.pc botan.pc || true
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 inherit version;
4848 description = "Cryptographic algorithms library";
4949 maintainers = with maintainers; [ raskin ];
pkgs/development/libraries/box2d/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto
1+{ lib, stdenv, fetchurl, unzip, cmake, libGLU, libGL, freeglut, libX11, xorgproto
22, libXi, pkg-config }:
33
44stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 --replace 'b2_maxPolygonVertices 8' 'b2_maxPolygonVertices 15'
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "2D physics engine";
3131 homepage = "https://box2d.org/";
3232 maintainers = [ maintainers.raskin ];
pkgs/development/libraries/boxfort/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja, python37Packages }:
1+{ lib, stdenv, fetchFromGitHub, meson, ninja, python37Packages }:
22
33stdenv.mkDerivation rec {
44 version = "unstable-2019-10-09";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 outputs = [ "dev" "out" ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Convenient & cross-platform sandboxing C library";
2828 homepage = "https://github.com/Snaipe/BoxFort";
2929 license = licenses.mit;
pkgs/development/libraries/brigand/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation {
44 pname = "brigand";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Instant compile time C++ 11 metaprogramming library";
1818 longDescription = ''
1919 Brigand is a light-weight, fully functional, instant-compile time C++ 11 meta-programming library.
pkgs/development/libraries/buddy/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bison }:
1+{ lib, stdenv, fetchurl, bison }:
22
33stdenv.mkDerivation rec {
44 name = "buddy-2.4";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 description = "Binary decision diagram package";
2020 license = "as-is";
2121
22− platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
23− maintainers = [ stdenv.lib.maintainers.peti ];
22+ platforms = lib.platforms.unix; # Once had cygwin problems
23+ maintainers = [ lib.maintainers.peti ];
2424 };
2525}
pkgs/development/libraries/bullet/default.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
1+{ lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
22, Cocoa, OpenGL
33}:
44
@@ -14,12 +14,12 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 nativeBuildInputs = [ cmake ];
17− buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
18− ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
17+ buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
18+ ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
1919
2020 patches = [ ./gwen-narrowing.patch ];
2121
22− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
22+ postPatch = lib.optionalString stdenv.isDarwin ''
2323 sed -i 's/FIND_PACKAGE(OpenGL)//' CMakeLists.txt
2424 sed -i 's/FIND_LIBRARY(COCOA_LIBRARY Cocoa)//' CMakeLists.txt
2525 '';
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 "-DBUILD_SHARED_LIBS=ON"
2929 "-DBUILD_CPU_DEMOS=OFF"
3030 "-DINSTALL_EXTRA_LIBS=ON"
31− ] ++ stdenv.lib.optionals stdenv.isDarwin [
31+ ] ++ lib.optionals stdenv.isDarwin [
3232 "-DOPENGL_FOUND=true"
3333 "-DOPENGL_LIBRARIES=${OpenGL}/Library/Frameworks/OpenGL.framework"
3434 "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks/OpenGL.framework"
@@ -38,10 +38,10 @@ stdenv.mkDerivation rec {
3838 "-DBUILD_UNIT_TESTS=OFF"
3939 ];
4040
41− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang
41+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
4242 "-Wno-error=argument-outside-range -Wno-error=c++11-narrowing";
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 description = "A professional free 3D Game Multiphysics Library";
4646 longDescription = ''
4747 Bullet 3D Game Multiphysics Library provides state of the art collision
pkgs/development/libraries/bullet/roboschool-fork.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
1+{ lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
22, Cocoa, OpenGL
33}:
44
@@ -18,12 +18,12 @@ stdenv.mkDerivation {
1818 };
1919
2020 nativeBuildInputs = [ cmake ];
21− buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
22− ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
21+ buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
22+ ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
2323
2424 patches = [ ./gwen-narrowing.patch ];
2525
26− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
26+ postPatch = lib.optionalString stdenv.isDarwin ''
2727 sed -i 's/FIND_PACKAGE(OpenGL)//' CMakeLists.txt
2828 sed -i 's/FIND_LIBRARY(COCOA_LIBRARY Cocoa)//' CMakeLists.txt
2929 '';
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
3232 "-DBUILD_SHARED_LIBS=ON"
3333 "-DBUILD_CPU_DEMOS=OFF"
3434 "-DINSTALL_EXTRA_LIBS=ON"
35− ] ++ stdenv.lib.optionals stdenv.isDarwin [
35+ ] ++ lib.optionals stdenv.isDarwin [
3636 "-DOPENGL_FOUND=true"
3737 "-DOPENGL_LIBRARIES=${OpenGL}/Library/Frameworks/OpenGL.framework"
3838 "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks/OpenGL.framework"
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
4242 "-DBUILD_UNIT_TESTS=OFF"
4343 ];
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "A professional free 3D Game Multiphysics Library";
4747 longDescription = ''
4848 Bullet 3D Game Multiphysics Library provides state of the art collision
pkgs/development/libraries/bulletml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchpatch, fetchurl, bison, perl }:
1+{ lib, stdenv, fetchpatch, fetchurl, bison, perl }:
22
33let
44 version = "0.0.6";
@@ -58,7 +58,7 @@ in stdenv.mkDerivation {
5858 install -m 644 README.en "$out"/share/licenses/libbulletml
5959 '';
6060
61− meta = with stdenv.lib; {
61+ meta = with lib; {
6262 description = "C++ library to handle BulletML easily";
6363 longDescription = ''
6464 BulletML is the Bullet Markup Language. BulletML can describe the barrage
pkgs/development/libraries/bwidget/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, tcl }:
1+{ lib, stdenv, fetchurl, tcl }:
22
33stdenv.mkDerivation rec {
44 pname = "bwidget";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 meta = {
2626 homepage = "https://sourceforge.net/projects/tcllib";
2727 description = "High-level widget set for Tcl/Tk";
28− license = stdenv.lib.licenses.tcltk;
29− platforms = stdenv.lib.platforms.linux;
28+ license = lib.licenses.tcltk;
29+ platforms = lib.platforms.linux;
3030 };
3131}
pkgs/development/libraries/bzrtp/default.nix+2−2
@@ -2,7 +2,7 @@
22, cmake
33, fetchFromGitLab
44, sqlite
5−, stdenv
5+, lib, stdenv
66}:
77
88stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "An opensource implementation of ZRTP keys exchange protocol";
3131 homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
3232 license = licenses.gpl3Plus;
pkgs/development/libraries/c-ares/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, writeTextDir }:
1+{ lib, stdenv, fetchurl, writeTextDir }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 sha256 = "0h7wjfnk2092glqcp9mqaax7xx0s13m501z1gi0gsjl2vvvd0gfp";
1616 };
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A C library for asynchronous DNS requests";
2020 homepage = "https://c-ares.haxx.se";
2121 license = licenses.mit;
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 set_target_properties(c-ares::cares PROPERTIES
3535 INTERFACE_INCLUDE_DIRECTORIES "${self}/include"
36− ${stdenv.lib.optionalString stdenv.isLinux ''INTERFACE_LINK_LIBRARIES "nsl;rt"''}
36+ ${lib.optionalString stdenv.isLinux ''INTERFACE_LINK_LIBRARIES "nsl;rt"''}
3737 )
3838 set_property(TARGET c-ares::cares APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
3939 set_target_properties(c-ares::cares PROPERTIES
pkgs/development/libraries/c-blosc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "c-blosc";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A blocking, shuffling and loss-less compression library";
1818 homepage = "https://www.blosc.org";
1919 license = licenses.bsd3;
pkgs/development/libraries/caf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, openssl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "actor-framework";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "An open source implementation of the actor model in C++";
3131 homepage = "http://actor-framework.org/";
3232 license = licenses.bsd3;
pkgs/development/libraries/cairo/default.nix+7−7
@@ -1,9 +1,9 @@
1−{ config, stdenv, fetchurl, fetchpatch, pkg-config, libiconv
1+{ config, lib, stdenv, fetchurl, fetchpatch, pkg-config, libiconv
22, libintl, expat, zlib, libpng, pixman, fontconfig, freetype
33, x11Support? !stdenv.isDarwin, libXext, libXrender
44, gobjectSupport ? true, glib
55, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
6−, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
6+, libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
77, glSupport ? x11Support && config.cairo.gl or (libGLSupported && stdenv.isLinux)
88, libGL ? null # libGLU libGL is no longer a big dependency
99, pdfSupport ? true
@@ -14,13 +14,13 @@ assert glSupport -> x11Support && libGL != null;
1414
1515let
1616 version = "1.16.0";
17− inherit (stdenv.lib) optional optionals;
17+ inherit (lib) optional optionals;
1818in stdenv.mkDerivation rec {
1919 pname = "cairo";
2020 inherit version;
2121
2222 src = fetchurl {
23− url = "https://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz";
23+ url = "https://cairographics.org/${if lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz";
2424 sha256 = "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy";
2525 };
2626
@@ -78,7 +78,7 @@ in stdenv.mkDerivation rec {
7878
7979 preConfigure =
8080 # On FreeBSD, `-ldl' doesn't exist.
81− stdenv.lib.optionalString stdenv.isFreeBSD
81+ lib.optionalString stdenv.isFreeBSD
8282 '' for i in "util/"*"/Makefile.in" boilerplate/Makefile.in
8383 do
8484 cat "$i" | sed -es/-ldl//g > t
@@ -98,9 +98,9 @@ in stdenv.mkDerivation rec {
9898
9999 doCheck = false; # fails
100100
101− postInstall = stdenv.lib.optionalString stdenv.isDarwin glib.flattenInclude;
101+ postInstall = lib.optionalString stdenv.isDarwin glib.flattenInclude;
102102
103− meta = with stdenv.lib; {
103+ meta = with lib; {
104104 description = "A 2D graphics library with support for multiple output devices";
105105
106106 longDescription = ''
pkgs/development/libraries/cairomm/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, darwin, cairo, fontconfig, freetype, libsigcxx }:
1+{ fetchurl, lib, stdenv, pkg-config, darwin, cairo, fontconfig, freetype, libsigcxx }:
22stdenv.mkDerivation rec {
33 pname = "cairomm";
44 version = "1.12.2";
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 src = fetchurl {
77 url = "https://www.cairographics.org/releases/${pname}-${version}.tar.gz";
88 # gnome doesn't have the latest version ATM; beware: same name but different hash
9− #url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ #url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25";
1111 };
1212
@@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ pkg-config ];
1616 propagatedBuildInputs = [ cairo libsigcxx ];
1717 buildInputs = [ fontconfig freetype ]
18− ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
18+ ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
1919 ApplicationServices
2020 ]);
2121
2222 doCheck = true;
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "A 2D graphics library with support for multiple output devices";
2626
2727 longDescription = ''
pkgs/development/libraries/capnproto/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "capnproto";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "03f1862ljdshg7d0rg3j7jzgm3ip55kzd2y91q7p0racax3hxx6i";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 homepage = "http://kentonv.github.io/capnproto";
1414 description = "Cap'n Proto cerealization protocol";
1515 longDescription = ''
pkgs/development/libraries/capstone/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config }:
1+{ lib, stdenv, fetchurl, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "capstone";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 # replace faulty macos detection
13− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
13+ postPatch = lib.optionalString stdenv.isDarwin ''
1414 sed -i 's/^IS_APPLE := .*$/IS_APPLE := 1/' Makefile
1515 '';
1616
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 make check
2525 '';
2626
27− installPhase = (stdenv.lib.optionalString stdenv.isDarwin "HOMEBREW_CAPSTONE=1 ")
27+ installPhase = (lib.optionalString stdenv.isDarwin "HOMEBREW_CAPSTONE=1 ")
2828 + "PREFIX=$out ./make.sh install";
2929
3030 nativeBuildInputs = [
@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
3636 meta = {
3737 description = "Advanced disassembly library";
3838 homepage = "http://www.capstone-engine.org";
39− license = stdenv.lib.licenses.bsd3;
40− platforms = stdenv.lib.platforms.unix;
41− maintainers = with stdenv.lib.maintainers; [ thoughtpolice ris ];
39+ license = lib.licenses.bsd3;
40+ platforms = lib.platforms.unix;
41+ maintainers = with lib.maintainers; [ thoughtpolice ris ];
4242 };
4343}
pkgs/development/libraries/catch/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "catch";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 doCheck = true;
1818 checkTarget = "test";
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
2222 homepage = "http://catch-lib.net";
2323 license = licenses.boost;
pkgs/development/libraries/catch2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "catch2";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 cmakeFlags = [ "-H.." ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
2020 homepage = "http://catch-lib.net";
2121 license = licenses.boost;
pkgs/development/libraries/ccrtp/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, ucommon, openssl, libgcrypt }:
1+{ lib, stdenv, fetchurl, pkg-config, ucommon, openssl, libgcrypt }:
22
33stdenv.mkDerivation rec {
44 name = "ccrtp-2.1.2";
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 description = "An implementation of the IETF real-time transport protocol (RTP)";
2222 homepage = "https://www.gnu.org/software/ccrtp/";
23− license = stdenv.lib.licenses.gpl2;
24− maintainers = with stdenv.lib.maintainers; [ marcweber ];
25− platforms = stdenv.lib.platforms.linux;
23+ license = lib.licenses.gpl2;
24+ maintainers = with lib.maintainers; [ marcweber ];
25+ platforms = lib.platforms.linux;
2626 };
2727}
pkgs/development/libraries/cctz/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, darwin }:
1+{ lib, stdenv, fetchFromGitHub, darwin }:
22
33stdenv.mkDerivation rec {
44 pname = "cctz";
@@ -13,17 +13,17 @@ stdenv.mkDerivation rec {
1313
1414 makeFlags = [ "PREFIX=$(out)" ];
1515
16− buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation;
16+ buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation;
1717
1818 installTargets = [ "install_hdrs" "install_shared_lib" ];
1919
20− postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
20+ postInstall = lib.optionalString stdenv.isDarwin ''
2121 install_name_tool -id $out/lib/libcctz.so $out/lib/libcctz.so
2222 '';
2323
2424 enableParallelBuilding = true;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "https://github.com/google/cctz";
2828 description = "C++ library for translating between absolute and civil times";
2929 license = licenses.asl20;
pkgs/development/libraries/cddlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, gmp
44, autoreconfHook
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 # No actual checks yet (2018-05-05), but maybe one day.
2323 # Requested here: https://github.com/cddlib/cddlib/issues/25
2424 doCheck = true;
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 inherit version;
2727 description = "An implementation of the Double Description Method for generating all vertices of a convex polyhedron";
2828 license = licenses.gpl2Plus;
pkgs/development/libraries/cdk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses }:
1+{ lib, stdenv, fetchurl, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "cdk";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 sha256 = "sha256-xBbJh793tPGycD18XkM7qUWMi+Uma/RUy/gBrYfnKTY=";
1717 };
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Curses development kit";
2121 license = licenses.bsdOriginal ;
2222 maintainers = [ maintainers.raskin ];
pkgs/development/libraries/cdo/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, curl, hdf5, netcdf
1+{ lib, stdenv, fetchurl, curl, hdf5, netcdf
22, # build, install and link to a CDI library [default=no]
33 enable_cdi_lib ? false
44, # build a completely statically linked CDO binary
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
2222 # Configure phase
2323 configureFlags = [
2424 "--with-netcdf=${netcdf}" "--with-hdf5=${hdf5}"]
25− ++ stdenv.lib.optional (enable_cdi_lib) "--enable-cdi-lib"
26− ++ stdenv.lib.optional (enable_all_static) "--enable-all-static"
27− ++ stdenv.lib.optional (enable_cxx) "--enable-cxx";
25+ ++ lib.optional (enable_cdi_lib) "--enable-cdi-lib"
26+ ++ lib.optional (enable_all_static) "--enable-all-static"
27+ ++ lib.optional (enable_cxx) "--enable-cxx";
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data";
3131 longDescription = ''
3232 Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG.
pkgs/development/libraries/cegui/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, ogre, freetype, boost, expat }:
1+{ lib, stdenv, fetchurl, cmake, ogre, freetype, boost, expat }:
22
33stdenv.mkDerivation rec {
44 pname = "cegui";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ cmake ];
1313 buildInputs = [ ogre freetype boost expat ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://cegui.org.uk/";
1717 description = "C++ Library for creating GUIs";
1818 license = licenses.mit;
pkgs/development/libraries/celt/generic.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, version, src
1+{ lib, stdenv, version, src
22, liboggSupport ? true, libogg ? null # if disabled only the library will be built
33, prePatch ? ""
44, ...
@@ -15,11 +15,11 @@ stdenv.mkDerivation {
1515 inherit prePatch;
1616
1717 buildInputs = []
18− ++ stdenv.lib.optional liboggSupport libogg;
18+ ++ lib.optional liboggSupport libogg;
1919
2020 doCheck = false; # fails
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Ultra-low delay audio codec";
2424 homepage = "http://www.celt-codec.org/";
2525 license = licenses.bsd2;
pkgs/development/libraries/cereal/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22stdenv.mkDerivation rec {
33 pname = "cereal";
44 version = "1.3.0";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 cmakeFlagsArray = [ "-DJUST_INSTALL_CEREAL=yes" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A header-only C++11 serialization library";
1919 homepage = "https://uscilab.github.io/cereal/";
2020 platforms = platforms.all;
pkgs/development/libraries/ceres-solver/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, eigen
33, fetchurl
44, cmake
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 nativeBuildInputs = [ cmake ];
2323 buildInputs = [ eigen glog ]
24− ++ stdenv.lib.optional runTests gflags;
24+ ++ lib.optional runTests gflags;
2525
2626 # The Basel BUILD file conflicts with the cmake build directory on
2727 # case-insensitive filesystems, eg. darwin.
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 checkTarget = "test";
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 description = "C++ library for modeling and solving large, complicated optimization problems";
3838 license = licenses.bsd3;
3939 homepage = "http://ceres-solver.org";
pkgs/development/libraries/cfitsio/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv
1+{ fetchurl, lib, stdenv
22
33# Optional dependencies
44, bzip2 ? null }:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 patches = [ ./darwin-rpath-universal.patch ];
1717
18− configureFlags = stdenv.lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}";
18+ configureFlags = lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}";
1919
2020 hardeningDisable = [ "format" ];
2121
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://heasarc.gsfc.nasa.gov/fitsio/";
2929 description = "Library for reading and writing FITS data files";
3030 longDescription =
pkgs/development/libraries/cgui/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, texinfo, allegro, perl, libX11 }:
1+{ lib, stdenv, fetchurl, texinfo, allegro, perl, libX11 }:
22
33stdenv.mkDerivation rec {
44 pname = "cgui";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 makeFlags = [ "SYSTEM_DIR=$(out)" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A multiplatform basic GUI library";
2424 maintainers = [ maintainers.raskin ];
2525 platforms = platforms.linux;
pkgs/development/libraries/check/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv
1+{ fetchurl, lib, stdenv
22, CoreServices
33}:
44
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
1414 # Test can randomly fail: https://hydra.nixos.org/build/7243912
1515 doCheck = false;
1616
17− buildInputs = stdenv.lib.optional stdenv.isDarwin CoreServices;
17+ buildInputs = lib.optional stdenv.isDarwin CoreServices;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Unit testing framework for C";
2121
2222 longDescription =
pkgs/development/libraries/chipmunk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
1+{ lib, stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
22, libXi, libXmu, fetchpatch, libXrandr
33}:
44
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 cp demo/chipmunk_demos $out/bin
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "A fast and lightweight 2D game physics library";
3333 homepage = "http://chipmunk2d.net/";
3434 license = licenses.mit;
pkgs/development/libraries/chmlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "chmlib-0.40a";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 meta = {
1616 homepage = "http://www.jedrea.com/chmlib";
17− license = stdenv.lib.licenses.lgpl2;
17+ license = lib.licenses.lgpl2;
1818 description = "A library for dealing with Microsoft ITSS/CHM format files";
1919 platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux"];
2020 };
pkgs/development/libraries/chromaprint/default.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 cmakeFlags = [ "-DBUILD_EXAMPLES=ON" "-DBUILD_TOOLS=ON" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://acoustid.org/chromaprint";
2121 description = "AcoustID audio fingerprinting library";
2222 maintainers = with maintainers; [ ehmry ];
pkgs/development/libraries/cimg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "cimg";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 outputs = [ "out" "doc" ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A small, open source, C++ toolkit for image processing";
2727 longDescription = ''
2828 CImg stands for Cool Image. It is easy to use, efficient and is intended
pkgs/development/libraries/civetweb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33}:
44
@@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
3636 meta = {
3737 description = "Embedded C/C++ web server";
3838 homepage = "https://github.com/civetweb/civetweb";
39− license = [ stdenv.lib.licenses.mit ];
39+ license = [ lib.licenses.mit ];
4040 };
4141}
pkgs/development/libraries/cl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, rebar, erlang, opencl-headers, ocl-icd }:
1+{lib, stdenv, fetchFromGitHub, rebar, erlang, opencl-headers, ocl-icd }:
22
33stdenv.mkDerivation rec {
44 version = "1.2.4";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 cp -ruv c_src doc ebin include priv src $DIR
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://github.com/tonyrog/cl";
3030 description = "OpenCL binding for Erlang";
3131 license = licenses.mit;
pkgs/development/libraries/classads/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pcre }:
1+{ lib, stdenv, fetchurl, pcre }:
22
33let version = "1.0.10"; in
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 meta = {
2121 homepage = "http://www.cs.wisc.edu/condor/classad/";
2222 description = "The Classified Advertisements library provides a generic means for matching resources";
23− license = stdenv.lib.licenses.asl20;
24− platforms = stdenv.lib.platforms.unix;
23+ license = lib.licenses.asl20;
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/libraries/clearsilver/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, python }:
1+{ lib, stdenv, fetchurl, fetchpatch, python }:
22
33stdenv.mkDerivation rec {
44 name = "clearsilver-0.10.5";
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 })
3636 ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "Fast, powerful, and language-neutral HTML template system";
4040 homepage = "http://www.clearsilver.net/";
4141 license = licenses.free;
pkgs/development/libraries/clfft/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost166, opencl-clhpp, ocl-icd }:
1+{ lib, stdenv, fetchFromGitHub, cmake, fftw, fftwFloat, boost166, opencl-clhpp, ocl-icd }:
22
33let
44 version = "2.12.2";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
1919
2020 buildInputs = [ fftw fftwFloat boost166 opencl-clhpp ocl-icd ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Library containing FFT functions written in OpenCL";
2424 longDescription = ''
2525 clFFT is a software library containing FFT functions written in OpenCL.
pkgs/development/libraries/clipp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "clipp";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 --subst-var version
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Easy to use, powerful and expressive command line argument handling for C++11/14/17";
2525 homepage = "https://github.com/muellan/clipp";
2626 license = licenses.mit;
pkgs/development/libraries/clipper/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, ninja, unzip }:
1+{ lib, stdenv, fetchurl, cmake, ninja, unzip }:
22
33stdenv.mkDerivation rec {
44 version = "6.4.2";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 nativeBuildInputs = [ cmake ninja unzip ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A polygon and line clipping and offsetting library (C++, C#, Delphi)";
1919 longDescription = ''
2020 The Clipper library performs line & polygon clipping - intersection, union, difference & exclusive-or,
pkgs/development/libraries/cln/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33stdenv.mkDerivation rec {
44 pname = "cln";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ gmp ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "C/C++ library for numbers, a part of GiNaC";
1616 homepage = "https://www.ginac.de/CLN/";
1717 license = licenses.gpl2;
pkgs/development/libraries/cloog-ppl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, ppl, autoreconfHook }:
1+{ fetchurl, lib, stdenv, ppl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "cloog-ppl-0.15.11";
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 # CLooG-PPL is actually a port of GLooG from PolyLib to PPL.
4343 homepage = "http://www.cloog.org/";
4444
45− license = stdenv.lib.licenses.gpl2Plus;
45+ license = lib.licenses.gpl2Plus;
4646
4747 maintainers = [ ];
4848
@@ -65,6 +65,6 @@ stdenv.mkDerivation rec {
6565 make[3]: *** [Box.lo] Error 1
6666
6767 */
68− platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
68+ platforms = lib.platforms.unix; # Once had cygwin problems
6969 };
7070}
pkgs/development/libraries/cloog/0.18.0.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, gmp, isl }:
1+{ fetchurl, lib, stdenv, gmp, isl }:
22
33stdenv.mkDerivation rec {
44 name = "cloog-0.18.0";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737
3838 homepage = "http://www.cloog.org/";
3939
40− license = stdenv.lib.licenses.gpl2Plus;
40+ license = lib.licenses.gpl2Plus;
4141
4242 /* Leads to an ICE on Cygwin:
4343
@@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
5858 make[3]: *** [Box.lo] Error 1
5959
6060 */
61− platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
61+ platforms = lib.platforms.unix; # Once had cygwin problems
6262 };
6363}
pkgs/development/libraries/cloog/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, gmp, isl }:
1+{ fetchurl, lib, stdenv, gmp, isl }:
22
33stdenv.mkDerivation rec {
44 name = "cloog-0.18.4";
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838
3939 homepage = "http://www.cloog.org/";
4040
41− license = stdenv.lib.licenses.gpl2Plus;
41+ license = lib.licenses.gpl2Plus;
4242
4343 /* Leads to an ICE on Cygwin:
4444
@@ -59,6 +59,6 @@ stdenv.mkDerivation rec {
5959 make[3]: *** [Box.lo] Error 1
6060
6161 */
62− platforms = stdenv.lib.platforms.unix; # Once had cygwin problems
62+ platforms = lib.platforms.unix; # Once had cygwin problems
6363 };
6464}
pkgs/development/libraries/clucene-core/2.x.nix+5−5
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, cmake, boost, zlib}:
1+{lib, stdenv, fetchurl, cmake, boost, zlib}:
22
33stdenv.mkDerivation rec {
44 name = "clucene-core-2.3.3.4";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 "-DBUILD_CONTRIBS=ON"
1717 "-DBUILD_CONTRIBS_LIB=ON"
1818 "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON"
19− ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
19+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2020 "-D_CL_HAVE_GCC_ATOMIC_FUNCTIONS=0"
2121 "-D_CL_HAVE_NAMESPACES_EXITCODE=0"
2222 "-D_CL_HAVE_NO_SNPRINTF_BUG_EXITCODE=0"
@@ -30,15 +30,15 @@ stdenv.mkDerivation rec {
3030 [ ./Fix-pkgconfig-file-by-adding-clucene-shared-library.patch
3131 ./Fixing_ZLIB_configuration_in_shared_CMakeLists.patch
3232 ./Install-contribs-lib.patch
33− ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./fix-darwin.patch ];
33+ ] ++ lib.optionals stdenv.isDarwin [ ./fix-darwin.patch ];
3434
3535 # fails with "Unable to find executable:
3636 # /build/clucene-core-2.3.3.4/build/bin/cl_test"
3737 doCheck = false;
3838
39− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
39+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "Core library for full-featured text search engine";
4343 longDescription = ''
4444 CLucene is a high-performance, scalable, cross platform, full-featured,
pkgs/development/libraries/clucene-core/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "clucene-core-0.9.21b";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 patches = [ ./gcc6.patch ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 description = "Core library for full-featured text search engine";
1515 longDescription = ''
1616 CLucene is a high-performance, scalable, cross platform, full-featured,
pkgs/development/libraries/clutter-gst/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, clutter, gtk3, glib, cogl, gnome3, gdk-pixbuf }:
1+{ fetchurl, lib, stdenv, pkg-config, clutter, gtk3, glib, cogl, gnome3, gdk-pixbuf }:
22
33stdenv.mkDerivation rec {
44 pname = "clutter-gst";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
1212 };
1313
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
2727
2828 homepage = "http://www.clutter-project.org/";
2929
30− license = stdenv.lib.licenses.lgpl2Plus;
30+ license = lib.licenses.lgpl2Plus;
3131
32− maintainers = with stdenv.lib.maintainers; [ lethalman ];
33− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
32+ maintainers = with lib.maintainers; [ lethalman ];
33+ platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
3434 };
3535}
pkgs/development/libraries/clutter-gtk/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, meson, ninja
1+{ fetchurl, lib, stdenv, pkg-config, meson, ninja
22, gobject-introspection, clutter, gtk3, gnome3 }:
33
44let
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 name = "${pname}-${version}";
1111
1212 src = fetchurl {
13− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
13+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1414 sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
1515 };
1616
@@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
3030 meta = {
3131 description = "Clutter-GTK";
3232 homepage = "http://www.clutter-project.org/";
33− license = stdenv.lib.licenses.lgpl2Plus;
34− maintainers = with stdenv.lib.maintainers; [ lethalman ];
35− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
33+ license = lib.licenses.lgpl2Plus;
34+ maintainers = with lib.maintainers; [ lethalman ];
35+ platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
3636 };
3737}
pkgs/development/libraries/clutter/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libGLU, libGL, libX11, libXext, libXfixes
1+{ lib, stdenv, fetchurl, pkg-config, libGLU, libGL, libX11, libXext, libXfixes
22, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib
33, gobject-introspection, gtk3, gnome3, libinput, libgudev, libxkbcommon
44}:
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 name = "${pname}-${version}";
1212
1313 src = fetchurl {
14− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
14+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1515 sha256 = "1rn4cd1an6a9dfda884aqpcwcgq8dgydpqvb19nmagw4b70zlj4b";
1616 };
1717
@@ -52,10 +52,10 @@ stdenv.mkDerivation rec {
5252 specific needs.
5353 '';
5454
55− license = stdenv.lib.licenses.lgpl2Plus;
55+ license = lib.licenses.lgpl2Plus;
5656 homepage = "http://www.clutter-project.org/";
5757
58− maintainers = with stdenv.lib.maintainers; [ lethalman ];
59− platforms = stdenv.lib.platforms.mesaPlatforms;
58+ maintainers = with lib.maintainers; [ lethalman ];
59+ platforms = lib.platforms.mesaPlatforms;
6060 };
6161}
pkgs/development/libraries/cm256cc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost } :
1+{ lib, stdenv, fetchFromGitHub, cmake, boost } :
22
33stdenv.mkDerivation rec {
44 pname = "cm256cc";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ boost ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
1919 homepage = "https://github.com/f4exb/cm256cc";
2020 platforms = platforms.linux;
pkgs/development/libraries/cmark-gfm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22stdenv.mkDerivation rec {
33 pname = "cmark-gfm";
44 version = "0.29.0.gfm.0";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 # tests load the library dynamically which for unknown reason failed
1515 doCheck = false;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
1919 homepage = "https://github.com/github/cmark-gfm";
2020 maintainers = with maintainers; [ cyplo ];
pkgs/development/libraries/cmark/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "0.29.0";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 export LD_LIBRARY_PATH=$(readlink -f ./src)
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "CommonMark parsing and rendering library and program in C";
2222 homepage = "https://github.com/jgm/cmark";
2323 maintainers = [ maintainers.michelk ];
pkgs/development/libraries/cminpack/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "cminpack-1.3.6";
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
1818
1919 meta = {
2020 homepage = "http://devernay.free.fr/hacks/cminpack/cminpack.html";
21− license = stdenv.lib.licenses.bsd3;
21+ license = lib.licenses.bsd3;
2222 description = "Software for solving nonlinear equations and nonlinear least squares problems";
23− platforms = stdenv.lib.platforms.linux;
23+ platforms = lib.platforms.linux;
2424 };
2525
2626}
pkgs/development/libraries/cmocka/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, cmake }:
1+{ fetchurl, lib, stdenv, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "cmocka";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ cmake ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Lightweight library to simplify and generalize unit tests for C";
1717
1818 longDescription =
pkgs/development/libraries/cmrt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, libdrm, libva }:
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libdrm, libva }:
22
33stdenv.mkDerivation rec {
44 pname = "cmrt";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ libdrm libva ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://01.org/linuxmedia";
1818 description = "Intel C for Media Runtime";
1919 longDescription = "Media GPU kernel manager for Intel G45 & HD Graphics family";
pkgs/development/libraries/codec2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "codec2";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Speech codec designed for communications quality speech at low data rates";
1818 homepage = "http://www.rowetel.com/blog/?page_id=452";
1919 license = licenses.lgpl21;
pkgs/development/libraries/cogl/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, pkg-config, libGL, glib, gdk-pixbuf, xorg, libintl
1+{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libGL, glib, gdk-pixbuf, xorg, libintl
22, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
33, mesa, automake, autoconf
44, gstreamerSupport ? true, gst_all_1 }:
@@ -10,7 +10,7 @@ in stdenv.mkDerivation rec {
1010 version = "1.22.8";
1111
1212 src = fetchurl {
13− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
13+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1414 sha256 = "0nfph4ai60ncdx7hy6hl1i1cmp761jgnyjfhagzi0iqq36qb41d8";
1515 };
1616
@@ -40,20 +40,20 @@ in stdenv.mkDerivation rec {
4040 "--enable-kms-egl-platform"
4141 "--enable-wayland-egl-platform"
4242 "--enable-wayland-egl-server"
43− ] ++ stdenv.lib.optional gstreamerSupport "--enable-cogl-gst"
44− ++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
43+ ] ++ lib.optional gstreamerSupport "--enable-cogl-gst"
44+ ++ lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
4545
4646 propagatedBuildInputs = with xorg; [
4747 glib gdk-pixbuf gobject-introspection wayland mesa
4848 libGL libXrandr libXfixes libXcomposite libXdamage
4949 ]
50− ++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
50+ ++ lib.optionals gstreamerSupport [ gst_all_1.gstreamer
5151 gst_all_1.gst-plugins-base ];
5252
53− buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];
53+ buildInputs = lib.optionals pangoSupport [ pango cairo ];
5454
5555 COGL_PANGO_DEP_CFLAGS
56− = stdenv.lib.optionalString (stdenv.isDarwin && pangoSupport)
56+ = lib.optionalString (stdenv.isDarwin && pangoSupport)
5757 "-I${pango.dev}/include/pango-1.0 -I${cairo.dev}/include/cairo";
5858
5959 #doCheck = true; # all tests fail (no idea why)
@@ -64,7 +64,7 @@ in stdenv.mkDerivation rec {
6464 };
6565 };
6666
67− meta = with stdenv.lib; {
67+ meta = with lib; {
6868 description = "A small open source library for using 3D graphics hardware for rendering";
6969 maintainers = with maintainers; [ lovek323 ];
7070
pkgs/development/libraries/coin3d/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, boost, cmake, libX11, libGL, libGLU }:
1+{ fetchFromGitHub, lib, stdenv, boost, cmake, libX11, libGL, libGLU }:
22
33stdenv.mkDerivation rec {
44 pname = "coin";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ cmake ];
2020 buildInputs = [ boost libX11 libGL libGLU ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://github.com/coin3d/coin";
2424 license = licenses.bsd3;
2525 description = "High-level, retained-mode toolkit for effective 3D graphics development";
pkgs/development/libraries/comedilib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, flex
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 src = fetchFromGitHub {
1919 owner = "Linux-Comedi";
2020 repo = "comedilib";
21− rev = "r${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
21+ rev = "r${lib.replaceStrings [ "." ] [ "_" ] version}";
2222 sha256 = "0kfs2dw62vjz8j7fgsxq6ky8r8kca726gyklbm6kljvgfh47lyfw";
2323 };
2424
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545
4646 outputs = [ "out" "dev" "man" "doc" ];
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 description = "The Linux Control and Measurement Device Interface Library";
5050 homepage = "https://github.com/Linux-Comedi/comedilib";
5151 license = licenses.lgpl21;
pkgs/development/libraries/concurrencykit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "concurrencykit";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 enableParallelBuilding = true;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A library of safe, high-performance concurrent data structures";
1919 homepage = "http://concurrencykit.org";
2020 license = licenses.bsd2;
pkgs/development/libraries/cpp-hocon/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
22
33stdenv.mkDerivation rec {
44 pname = "cpp-hocon";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [ boost curl leatherman ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 inherit (src.meta) homepage;
2222 description = "A C++ port of the Typesafe Config library";
2323 license = licenses.asl20;
pkgs/development/libraries/cpp-ipfs-api/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
1+{ lib, stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
22
33stdenv.mkDerivation {
44 pname = "cpp-ipfs-api";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 buildInputs = [ curl ];
1616 propagatedBuildInputs = [ nlohmann_json ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "IPFS C++ API client library";
2020 homepage = "https://github.com/vasild/cpp-ipfs-api";
2121 license = licenses.mit;
pkgs/development/libraries/cpp-netlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, openssl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "cpp-netlib";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 # Most tests make network GET requests to various websites
2828 doCheck = false;
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Collection of open-source libraries for high level network programming";
3232 homepage = "https://cpp-netlib.org";
3333 license = licenses.boost;
pkgs/development/libraries/cpp-utilities/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, cmake
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 checkFlagsArray = [ "LD_LIBRARY_PATH=$(PWD)" ];
2323 doCheck = true;
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://github.com/Martchus/cpp-utilities";
2727 description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
2828 license = licenses.gpl2;
pkgs/development/libraries/cppcms/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pcre, zlib, python, openssl }:
1+{ lib, stdenv, fetchurl, cmake, pcre, zlib, python, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "cppcms";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 "--no-warn-unused-cli"
1717 ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "http://cppcms.com";
2121 description = "High Performance C++ Web Framework";
2222 platforms = platforms.linux ;
pkgs/development/libraries/cppdb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, sqlite, libmysqlclient, postgresql, unixODBC }:
1+{ lib, stdenv, fetchurl, cmake, sqlite, libmysqlclient, postgresql, unixODBC }:
22
33stdenv.mkDerivation rec {
44 pname = "cppdb";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 cmakeFlags = [ "--no-warn-unused-cli" ];
1616 NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "http://cppcms.com/sql/cppdb/";
2020 description = "C++ Connectivity library that supports MySQL, PostgreSQL, Sqlite3 databases and generic ODBC drivers";
2121 platforms = platforms.linux ;
pkgs/development/libraries/cpptest/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "cpptest-2.0.0";
@@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
88 sha256 = "0lpy3f2fjx1srh02myanlp6zfi497whlldcrnij39ghfhm0arcnm";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://cpptest.sourceforge.net/";
1313 description = "Simple C++ unit testing framework";
1414 maintainers = with maintainers; [ bosu ];
15− license = stdenv.lib.licenses.lgpl3;
15+ license = lib.licenses.lgpl3;
1616 platforms = with platforms; linux;
1717 };
1818}
pkgs/development/libraries/cppunit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 pname = "cppunit";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "19qpqzy66bq76wcyadmi3zahk5v1ll2kig1nvg96zx9padkcdic9";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 homepage = "https://freedesktop.org/wiki/Software/cppunit/";
1414 description = "C++ unit testing framework";
1515 license = licenses.lgpl21;
pkgs/development/libraries/cpputest/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 version = "4.0";
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
1212 meta = {
1313 homepage = "http://cpputest.github.io/";
1414 description = "Unit testing and mocking framework for C/C++";
15− platforms = stdenv.lib.platforms.linux ;
16− license = stdenv.lib.licenses.bsd3;
17− maintainers = [ stdenv.lib.maintainers.juliendehos ];
15+ platforms = lib.platforms.linux ;
16+ license = lib.licenses.bsd3;
17+ maintainers = [ lib.maintainers.juliendehos ];
1818 };
1919}
pkgs/development/libraries/cppzmq/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, zeromq }:
1+{ lib, stdenv, fetchFromGitHub, cmake, zeromq }:
22
33stdenv.mkDerivation rec {
44 pname = "cppzmq";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 "-DCPPZMQ_BUILD_TESTS=OFF"
2121 ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://github.com/zeromq/cppzmq";
2525 license = licenses.bsd2;
2626 description = "C++ binding for 0MQ";
pkgs/development/libraries/cracklib/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 nativeBuildInputs = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.cracklib;
1919 buildInputs = [ zlib gettext ];
2020
21− postPatch = stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
21+ postPatch = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
2222 chmod +x util/cracklib-format
2323 patchShebangs util
2424
pkgs/development/libraries/crc32c/default.nix+2−2
@@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
1616
1717 nativeBuildInputs = [ cmake ];
1818 buildInputs = [ gflags ];
19− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isAarch64 "-march=armv8-a+crc";
19+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-march=armv8-a+crc";
2020 cmakeFlags = lib.optionals (!staticOnly) [ "-DBUILD_SHARED_LIBS=1" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://github.com/google/crc32c";
2424 description = "CRC32C implementation with support for CPU-specific acceleration instructions";
2525 license = with licenses; [ bsd3 ];
pkgs/development/libraries/crcpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33}:
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 cp inc/CRC.h $out/include
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://github.com/d-bahr/CRCpp";
2525 description = "Easy to use and fast C++ CRC library";
2626 platforms = platforms.all;
pkgs/development/libraries/cre2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook,
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook,
22 libtool, pkg-config, re2, texinfo }:
33
44stdenv.mkDerivation rec {
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 "--enable-maintainer-mode"
2626 ];
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "http://marcomaggi.github.io/docs/cre2.html";
3030 description = "C Wrapper for RE2";
3131 license = licenses.bsd3;
pkgs/development/libraries/criterion/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, boxfort, cmake, libcsptr, pkg-config, gettext
1+{ lib, stdenv, fetchFromGitHub, boxfort, cmake, libcsptr, pkg-config, gettext
22, dyncall , nanomsg, python37Packages }:
33
44stdenv.mkDerivation rec {
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 outputs = [ "dev" "out" ];
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A cross-platform C and C++ unit testing framework for the 21th century";
3939 homepage = "https://github.com/Snaipe/Criterion";
4040 license = licenses.mit;
pkgs/development/libraries/crypto++/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, nasm, which }:
1+{ lib, stdenv, fetchFromGitHub, nasm, which }:
22
3−with stdenv.lib;
3+with lib;
44stdenv.mkDerivation rec {
55 pname = "crypto++";
66 version = "8.2.0";
pkgs/development/libraries/csfml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, sfml }:
1+{ lib, stdenv, fetchFromGitHub, cmake, sfml }:
22
33let
44 version = "2.5";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 buildInputs = [ sfml ];
1818 cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "https://www.sfml-dev.org/";
2222 description = "Simple and fast multimedia library";
2323 longDescription = ''
pkgs/development/libraries/ctl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, ilmbase, libtiff, openexr }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, ilmbase, libtiff, openexr }:
22
33stdenv.mkDerivation rec {
44 pname = "ctl";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 nativeBuildInputs = [ cmake pkg-config ];
2323 buildInputs = [ libtiff ilmbase openexr ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Color Transformation Language";
2727 homepage = "https://github.com/ampas/CTL";
2828 license = "A.M.P.A.S"; # BSD-derivative, free but GPL incompatible
pkgs/development/libraries/ctpl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib }:
22
33stdenv.mkDerivation rec {
44 pname = "ctpl";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ glib ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://ctpl.tuxfamily.org/";
1717 description = "Template engine library written in C";
1818 platforms = platforms.linux;
pkgs/development/libraries/ctpp2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "ctpp2";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 doCheck = false; # fails
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A high performance templating engine";
2323 homepage = "http://ctpp.havoc.ru";
2424 maintainers = [ maintainers.robbinch ];
pkgs/development/libraries/ctypes_sh/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook, pkg-config
44, zlib, libffi, elfutils, libdwarf
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 nativeBuildInputs = [ autoreconfHook pkg-config ];
1919 buildInputs = [ zlib libffi elfutils libdwarf ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A foreign function interface for bash";
2323 homepage = "https://github.com/taviso/ctypes.sh";
2424 license = licenses.mit;
pkgs/development/libraries/cudd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "cudd";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 nativeBuildInputs = [ autoreconfHook ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://davidkebo.com/cudd";
2525 description = "Binary Decision Diagram (BDD) library";
2626 license = licenses.bsd3;
pkgs/development/libraries/curlcpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, curl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, curl }:
22
33stdenv.mkDerivation rec {
44 pname = "curlcpp";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ curl ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://josephp91.github.io/curlcpp/";
1919 description = "Object oriented C++ wrapper for CURL";
2020 platforms = platforms.unix;
pkgs/development/libraries/curlpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, curl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, curl }:
22
33stdenv.mkDerivation rec {
44 pname = "curlpp";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 buildInputs = [ curl ];
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://www.curlpp.org/";
1818 description = "C++ wrapper around libcURL";
1919 license = licenses.mit;
pkgs/development/libraries/cutee/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "cutee";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 cp cutee $out/bin
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "C++ Unit Testing Easy Environment";
2121 homepage = "http://www.codesink.org/cutee_unit_testing.html";
2222 license = licenses.gpl2Plus;
pkgs/development/libraries/cwiid/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, bluez, pkg-config, gtk2 }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, bison, flex, bluez, pkg-config, gtk2 }:
22
33stdenv.mkDerivation rec {
44 name = "cwiid-${version}-git";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 sed -i -e "s/0.6.00/0.6.0/" $out/lib/pkgconfig/cwiid.pc
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Linux Nintendo Wiimote interface";
3535 homepage = "http://cwiid.org";
3636 license = licenses.gpl2Plus;
pkgs/development/libraries/cxx-prettyprint/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "cxx-prettyprint-unstable";
@@ -17,10 +17,10 @@ stdenv.mkDerivation rec {
1717 cp prettyprint.hpp "$out/include"
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Header only C++ library for pretty printing standard containers";
2222 homepage = "https://github.com/louisdx/cxx-prettyprint";
23− license = stdenv.lib.licenses.boost;
23+ license = lib.licenses.boost;
2424 platforms = platforms.all;
2525
2626 # This is a header-only library, no point in hydra building it:
pkgs/development/libraries/cxxtest/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonApplication, fetchFromGitHub }:
1+{ lib, stdenv, buildPythonApplication, fetchFromGitHub }:
22
33buildPythonApplication rec {
44 pname = "cxxtest";
@@ -26,7 +26,7 @@ buildPythonApplication rec {
2626
2727 dontWrapPythonPrograms = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "http://cxxtest.com";
3131 description = "Unit testing framework for C++";
3232 platforms = platforms.unix;
pkgs/development/libraries/cxxtools/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "2.2.1";
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414 meta = {
1515 homepage = "http://www.tntnet.org/cxxtools.html";
1616 description = "Comprehensive C++ class library for Unix and Linux";
17− platforms = stdenv.lib.platforms.linux ;
18− license = stdenv.lib.licenses.lgpl21;
19− maintainers = [ stdenv.lib.maintainers.juliendehos ];
17+ platforms = lib.platforms.linux ;
18+ license = lib.licenses.lgpl21;
19+ maintainers = [ lib.maintainers.juliendehos ];
2020 };
2121}
pkgs/development/libraries/cyrus-sasl/default.nix+1−1
@@ -2,7 +2,7 @@
22, pam, fixDarwinDylibNames, autoreconfHook, enableLdap ? false
33, buildPackages, pruneLibtoolFiles, fetchpatch }:
44
5−with stdenv.lib;
5+with lib;
66stdenv.mkDerivation rec {
77 pname = "cyrus-sasl";
88 version = "2.1.27";
pkgs/development/libraries/czmq/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zeromq }:
1+{ lib, stdenv, fetchurl, zeromq }:
22
33stdenv.mkDerivation rec {
44 version = "4.2.1";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 # Needs to be propagated for the .pc file to work
1313 propagatedBuildInputs = [ zeromq ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://czmq.zeromq.org/";
1717 description = "High-level C Binding for ZeroMQ";
1818 license = licenses.mpl20;
pkgs/development/libraries/dav1d/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab
1+{ lib, stdenv, fetchFromGitLab
22, meson, ninja, nasm, pkg-config
33, withTools ? false # "dav1d" binary
44, withExamples ? false, SDL2 # "dav1dplay" binary
@@ -21,15 +21,15 @@ stdenv.mkDerivation rec {
2121
2222 nativeBuildInputs = [ meson ninja nasm pkg-config ];
2323 # TODO: doxygen (currently only HTML and not build by default).
24− buildInputs = stdenv.lib.optional withExamples SDL2
25− ++ stdenv.lib.optionals useVulkan [ libplacebo vulkan-loader vulkan-headers ];
24+ buildInputs = lib.optional withExamples SDL2
25+ ++ lib.optionals useVulkan [ libplacebo vulkan-loader vulkan-headers ];
2626
2727 mesonFlags= [
28− "-Denable_tools=${stdenv.lib.boolToString withTools}"
29− "-Denable_examples=${stdenv.lib.boolToString withExamples}"
28+ "-Denable_tools=${lib.boolToString withTools}"
29+ "-Denable_examples=${lib.boolToString withExamples}"
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "A cross-platform AV1 decoder focused on speed and correctness";
3434 longDescription = ''
3535 The goal of this project is to provide a decoder for most platforms, and
pkgs/development/libraries/db/db-4.8.nix+1−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ... } @ args:
1+{ lib, stdenv, fetchurl, ... } @ args:
22
33import ./generic.nix (args // {
44 version = "4.8.30";
pkgs/development/libraries/db/db-5.3.nix+1−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ... } @ args:
1+{ lib, stdenv, fetchurl, ... } @ args:
22
33import ./generic.nix (args // {
44 version = "5.3.28";
pkgs/development/libraries/db/db-6.0.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, ... } @ args:
1+{ lib, stdenv, fetchurl, ... } @ args:
22
33import ./generic.nix (args // {
44 version = "6.0.20";
55 sha256 = "00r2aaglq625y8r9xd5vw2y070plp88f1mb2gbq3kqsl7128lsl0";
6− license = stdenv.lib.licenses.agpl3;
6+ license = lib.licenses.agpl3;
77 extraPatches = [ ./clang-6.0.patch ./CVE-2017-10140-cwd-db_config.patch ];
88})
pkgs/development/libraries/db/db-6.2.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, ... } @ args:
1+{ lib, stdenv, fetchurl, ... } @ args:
22
33import ./generic.nix (args // {
44 version = "6.2.23";
55 sha256 = "1isxx4jfmnh913jzhp8hhfngbk6dsg46f4kjpvvc56maj64jqqa7";
6− license = stdenv.lib.licenses.agpl3;
6+ license = lib.licenses.agpl3;
77 extraPatches = [ ./clang-6.0.patch ./CVE-2017-10140-cwd-db_config.patch ];
88})
pkgs/development/libraries/db/generic.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, cxxSupport ? true
33, compat185 ? true
44, dbmSupport ? false
@@ -6,7 +6,7 @@
66# Options from inherited versions
77, version, sha256
88, extraPatches ? [ ]
9−, license ? stdenv.lib.licenses.sleepycat
9+, license ? lib.licenses.sleepycat
1010, drvArgs ? {}
1111}:
1212
@@ -27,8 +27,8 @@ stdenv.mkDerivation (rec {
2727 (if cxxSupport then "--enable-cxx" else "--disable-cxx")
2828 (if compat185 then "--enable-compat185" else "--disable-compat185")
2929 ]
30− ++ stdenv.lib.optional dbmSupport "--enable-dbm"
31− ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
30+ ++ lib.optional dbmSupport "--enable-dbm"
31+ ++ lib.optional stdenv.isFreeBSD "--with-pic";
3232
3333 preConfigure = ''
3434 cd build_unix
@@ -47,7 +47,7 @@ stdenv.mkDerivation (rec {
4747 make examples_c examples_cxx
4848 '';
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 homepage = "http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/index.html";
5252 description = "Berkeley DB";
5353 license = license;
pkgs/development/libraries/dbus-cplusplus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, dbus, glib, pkg-config, expat }:
1+{ lib, stdenv, fetchurl, dbus, glib, pkg-config, expat }:
22
33stdenv.mkDerivation rec {
44 pname = "dbus-cplusplus";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 configureFlags = [ "--disable-ecore" "--disable-tests" ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 homepage = "http://dbus-cplusplus.sourceforge.net";
4141 description = "C++ API for D-BUS";
4242 license = licenses.gpl2Plus;
pkgs/development/libraries/dbus-glib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, buildPackages
1+{ lib, stdenv, fetchurl, buildPackages
22, pkg-config, expat, gettext, libiconv, dbus, glib
33}:
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 propagatedBuildInputs = [ dbus glib ];
2121
2222 configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
23− stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
23+ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
2424 "--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
2525
2626 doCheck = false;
@@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
2929
3030 meta = {
3131 homepage = "https://dbus.freedesktop.org";
32− license = with stdenv.lib.licenses; [ afl21 gpl2 ];
32+ license = with lib.licenses; [ afl21 gpl2 ];
3333 description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism";
3434 maintainers = [ ];
35− platforms = stdenv.lib.platforms.unix;
35+ platforms = lib.platforms.unix;
3636 };
3737}
pkgs/development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mono, dbus-sharp-1_0 }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mono, dbus-sharp-1_0 }:
22
33stdenv.mkDerivation rec {
44 pname = "dbus-sharp-glib";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 dontStrip = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "D-Bus for .NET: GLib integration module";
2222 platforms = platforms.linux;
2323 license = licenses.mit;
pkgs/development/libraries/dbus-sharp-glib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, mono, dbus-sharp-2_0, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, mono, dbus-sharp-2_0, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "dbus-sharp-glib";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 dontStrip = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "D-Bus for .NET: GLib integration module";
2222 platforms = platforms.linux;
2323 license = licenses.mit;
pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, pkg-config, mono, autoreconfHook }:
1+{lib, stdenv, fetchFromGitHub, pkg-config, mono, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "dbus-sharp";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 dontStrip = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "D-Bus for .NET";
2222 platforms = platforms.linux;
2323 license = licenses.mit;
pkgs/development/libraries/dbus-sharp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, pkg-config, mono4, autoreconfHook }:
1+{lib, stdenv, fetchFromGitHub, pkg-config, mono4, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "dbus-sharp";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 dontStrip = true;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "D-Bus for .NET";
2525 platforms = platforms.linux;
2626 license = licenses.mit;
pkgs/development/libraries/dbus/default.nix+1−1
@@ -118,7 +118,7 @@ stdenv.mkDerivation rec {
118118 daemon = dbus.out;
119119 };
120120
121− meta = with stdenv.lib; {
121+ meta = with lib; {
122122 description = "Simple interprocess messaging system";
123123 homepage = "http://www.freedesktop.org/wiki/Software/dbus/";
124124 license = licenses.gpl2Plus; # most is also under AFL-2.1
pkgs/development/libraries/dbxml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, db62, xercesc, xqilla }:
1+{ lib, stdenv, fetchurl, db62, xercesc, xqilla }:
22
33stdenv.mkDerivation rec {
44 pname = "dbxml";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 cd dbxml
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 homepage = "https://www.oracle.com/database/berkeley-db/xml.html";
3939 description = "Embeddable XML database based on Berkeley DB";
4040 license = licenses.agpl3;
pkgs/development/libraries/dclib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, libxml2, openssl, bzip2}:
1+{lib, stdenv, fetchurl, libxml2, openssl, bzip2}:
22
33stdenv.mkDerivation {
44 name = "dclib-0.3.7";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 buildInputs = [libxml2 openssl bzip2];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 description = "Peer-to-Peer file sharing client";
1515 homepage = "http://dcgui.berlios.de";
1616 platforms = platforms.linux;
pkgs/development/libraries/dclxvi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation {
44 name = "dclxvi-2013-01-27";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 patchPhase = ''
1616 substituteInPlace Makefile \
1717 --replace "gcc" "cc"
18− '' + stdenv.lib.optionalString stdenv.isDarwin ''
18+ '' + lib.optionalString stdenv.isDarwin ''
1919 substituteInPlace Makefile \
2020 --replace "-soname=libdclxvipairing.so" "-install_name,libdclxvipairing.so"
2121 '';
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
2626 find . -name \*.so -exec cp {} $out/lib \;
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "https://github.com/agl/dclxvi";
3131 description = "Naehrig, Niederhagen and Schwabe's pairings code, massaged into a shared library";
3232 platforms = platforms.x86_64;
pkgs/development/libraries/dconf/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -22,10 +22,10 @@ stdenv.mkDerivation rec {
2222 version = "0.38.0";
2323
2424 outputs = [ "out" "lib" "dev" ]
25− ++ stdenv.lib.optional (!isCross) "devdoc";
25+ ++ lib.optional (!isCross) "devdoc";
2626
2727 src = fetchurl {
28− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2929 sha256 = "0n2gqkp6d61h7gnnp2xnxp6w5wcl7w9ay58krrf729qd6d0hzxj5";
3030 };
3131
@@ -38,19 +38,19 @@ stdenv.mkDerivation rec {
3838 glib
3939 docbook-xsl-nons
4040 docbook_xml_dtd_42
41− ] ++ stdenv.lib.optional (!isCross) gtk-doc;
41+ ] ++ lib.optional (!isCross) gtk-doc;
4242
4343 buildInputs = [
4444 glib
4545 bash-completion
4646 dbus
47− ] ++ stdenv.lib.optional (!isCross) vala;
47+ ] ++ lib.optional (!isCross) vala;
4848 # Vala cross compilation is broken. For now, build dconf without vapi when cross-compiling.
4949
5050 mesonFlags = [
5151 "--sysconfdir=/etc"
52− "-Dgtk_doc=${stdenv.lib.boolToString (!isCross)}" # gtk-doc does do some gobject introspection, which doesn't yet cross-compile.
53− ] ++ stdenv.lib.optional isCross "-Dvapi=false";
52+ "-Dgtk_doc=${lib.boolToString (!isCross)}" # gtk-doc does do some gobject introspection, which doesn't yet cross-compile.
53+ ] ++ lib.optional isCross "-Dvapi=false";
5454
5555 doCheck = !stdenv.isAarch32 && !stdenv.isAarch64 && !stdenv.isDarwin;
5656
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
6666 };
6767 };
6868
69− meta = with stdenv.lib; {
69+ meta = with lib; {
7070 homepage = "https://wiki.gnome.org/Projects/dconf";
7171 license = licenses.lgpl21Plus;
7272 platforms = platforms.unix;
pkgs/development/libraries/dee/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchgit
33, fetchpatch
44, pkg-config
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757
5858 enableParallelBuilding = true;
5959
60− meta = with stdenv.lib; {
60+ meta = with lib; {
6161 description = "A library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus";
6262 homepage = "https://launchpad.net/dee";
6363 license = licenses.lgpl3;
pkgs/development/libraries/discord-rpc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, rapidjson
@@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
2323
2424 buildInputs = [
2525 rapidjson
26− ] ++ stdenv.lib.optional stdenv.isDarwin AppKit;
26+ ] ++ lib.optional stdenv.isDarwin AppKit;
2727
2828 cmakeFlags = [
2929 "-DBUILD_SHARED_LIBS=true"
30− "-DBUILD_EXAMPLES=${stdenv.lib.boolToString buildExamples}"
30+ "-DBUILD_EXAMPLES=${lib.boolToString buildExamples}"
3131 ];
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Official library to interface with the Discord client";
3535 homepage = "https://github.com/discordapp/discord-rpc";
3636 license = licenses.mit;
pkgs/development/libraries/dleyna-connector-dbus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, pkg-config, fetchFromGitHub, dbus, dleyna-core, glib }:
1+{ lib, stdenv, autoreconfHook, pkg-config, fetchFromGitHub, dbus, dleyna-core, glib }:
22
33stdenv.mkDerivation rec {
44 pname = "dleyna-connector-dbus";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 buildInputs = [ dbus dleyna-core glib ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A D-Bus API for the dLeyna services";
1919 homepage = "https://01.org/dleyna";
2020 maintainers = [ maintainers.jtojnar ];
pkgs/development/libraries/dleyna-core/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, autoreconfHook
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 gupnp
4040 ];
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Library of utility functions that are used by the higher level dLeyna";
4444 homepage = "https://01.org/dleyna";
4545 maintainers = [ maintainers.jtojnar ];
pkgs/development/libraries/dleyna-renderer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, pkg-config
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
5050 --set DLEYNA_CONNECTOR_PATH "$DLEYNA_CONNECTOR_PATH"
5151 '';
5252
53− meta = with stdenv.lib; {
53+ meta = with lib; {
5454 description = "Library to discover and manipulate Digital Media Renderers";
5555 homepage = "https://01.org/dleyna";
5656 maintainers = [ maintainers.jtojnar ];
pkgs/development/libraries/dleyna-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, autoreconfHook
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 --set DLEYNA_CONNECTOR_PATH "$DLEYNA_CONNECTOR_PATH"
5555 '';
5656
57− meta = with stdenv.lib; {
57+ meta = with lib; {
5858 description = "Library to discover, browse and manipulate Digital Media Servers";
5959 homepage = "https://01.org/dleyna";
6060 maintainers = [ maintainers.jtojnar ];
pkgs/development/libraries/dlib/default.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 nativeBuildInputs = [ cmake pkg-config ];
2929 buildInputs = [ libpng libjpeg ] ++ lib.optional guiSupport libX11;
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "A general purpose cross-platform C++ machine learning library";
3333 homepage = "http://www.dlib.net";
3434 license = licenses.boost;
pkgs/development/libraries/docopt_cpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, python }:
1+{ lib, stdenv, fetchFromGitHub, cmake, python }:
22
33stdenv.mkDerivation rec {
44 version = "0.6.3";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 checkPhase = "LD_LIBRARY_PATH=$(pwd) python ./run_tests";
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "C++11 port of docopt";
3030 homepage = "https://github.com/docopt/docopt.cpp";
3131 license = with licenses; [ mit boost ];
pkgs/development/libraries/doctest/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, installShellFiles, cmake }:
1+{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "doctest";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/onqtam/doctest";
1818 description = "The fastest feature-rich C++11/14/17/20 single-header testing framework";
1919 platforms = platforms.linux;
pkgs/development/libraries/dotconf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, autoreconfHook }:
1+{ fetchFromGitHub, lib, stdenv, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "dotconf-" + version;
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook ];
1515 buildInputs = [ ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A configuration parser library";
1919 maintainers = with maintainers; [ pSub ];
2020 homepage = "https://github.com/williamh/dotconf";
pkgs/development/libraries/double-conversion/default.nix+1−1
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 rm BUILD
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Binary-decimal and decimal-binary routines for IEEE doubles";
2525 homepage = "https://github.com/google/double-conversion";
2626 license = licenses.bsd3;
pkgs/development/libraries/dqlite/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libco-canonical
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libco-canonical
22, libuv, raft-canonical, sqlite-replication }:
33
44stdenv.mkDerivation rec {
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 outputs = [ "dev" "out" ];
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = ''
3030 Expose a SQLite database over the network and replicate it across a
3131 cluster of peers
pkgs/development/libraries/draco/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake
1+{ lib, stdenv, fetchFromGitHub, cmake
22}:
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 "-DBUILD_UNITY_PLUGIN=1"
2323 ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Library for compressing and decompressing 3D geometric meshes and point clouds";
2727 homepage = "https://google.github.io/draco/";
2828 license = licenses.asl20;
pkgs/development/libraries/drumstick/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, pkg-config, wrapQtAppsHook
33, alsaLib, fluidsynth, qtbase, qtsvg, libpulseaudio
44}:
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 alsaLib fluidsynth libpulseaudio qtbase qtsvg
3232 ];
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 maintainers = with maintainers; [ solson ];
3636 description = "MIDI libraries for Qt5/C++";
3737 homepage = "http://drumstick.sourceforge.net/";
pkgs/development/libraries/dssi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ladspaH, libjack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
1+{ lib, stdenv, fetchurl, ladspaH, libjack2, liblo, alsaLib, qt4, libX11, libsndfile, libSM
22, libsamplerate, libtool, autoconf, automake, xorgproto, libICE, pkg-config
33}:
44
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 libsamplerate libtool autoconf automake xorgproto libICE pkg-config
1717 ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A plugin SDK for virtual instruments";
2121 maintainers = with maintainers;
2222 [
pkgs/development/libraries/duckdb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44}:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 nativeBuildInputs = [ cmake ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/cwida/duckdb";
2121 description = "Embeddable SQL OLAP Database Management System";
2222 license = licenses.mit;
pkgs/development/libraries/dxflib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, qmake
44}:
@@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
3737 doCheck = true;
3838
3939 meta = {
40− maintainers = with stdenv.lib.maintainers; [raskin];
41− platforms = stdenv.lib.platforms.linux;
40+ maintainers = with lib.maintainers; [raskin];
41+ platforms = lib.platforms.linux;
4242 description = "DXF file format library";
4343 };
4444}
pkgs/development/libraries/dyncall/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 pname = "dyncall";
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727 install -D -t $out/share/man/man3 ./*/*.3
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Highly dynamic multi-platform foreign function call interface library";
3232 homepage = "https://www.dyncall.org";
3333 license = licenses.isc;
pkgs/development/libraries/easyloggingpp/default.nix+5−5
@@ -1,7 +1,7 @@
11# To use this package with a CMake and pkg-config build:
22# pkg_check_modules(EASYLOGGINGPP REQUIRED easyloggingpp)
33# add_executable(main src/main.cpp ${EASYLOGGINGPP_PREFIX}/include/easylogging++.cc)
4−{ stdenv, fetchFromGitHub, cmake, gtest }:
4+{ lib, stdenv, fetchFromGitHub, cmake, gtest }:
55stdenv.mkDerivation rec {
66 pname = "easyloggingpp";
77 version = "9.97.0";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 buildInputs = [gtest];
1717 cmakeFlags = [ "-Dtest=ON" ];
1818 NIX_CFLAGS_COMPILE = "-std=c++11" +
19− stdenv.lib.optionalString stdenv.isLinux " -pthread";
19+ lib.optionalString stdenv.isLinux " -pthread";
2020 postInstall = ''
2121 mkdir -p $out/include
2222 cp ../src/easylogging++.cc $out/include
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "C++ logging library";
2626 homepage = "https://muflihun.github.io/easyloggingpp/";
27− license = stdenv.lib.licenses.mit;
28− maintainers = with stdenv.lib.maintainers; [acowley];
29− platforms = stdenv.lib.platforms.all;
27+ license = lib.licenses.mit;
28+ maintainers = with lib.maintainers; [acowley];
29+ platforms = lib.platforms.all;
3030 };
3131}
pkgs/development/libraries/eccodes/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ fetchurl, stdenv
1+{ fetchurl, lib, stdenv
22, cmake, netcdf, openjpeg, libpng, gfortran
33, enablePython ? false, pythonPackages
44, enablePosixThreads ? false
55, enableOpenMPThreads ? false}:
6−with stdenv.lib;
6+with lib;
77stdenv.mkDerivation rec {
88 pname = "eccodes";
99 version = "2.12.5";
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 doCheck = true;
3939
4040 # Only do tests that don't require downloading 120MB of testdata
41− checkPhase = stdenv.lib.optionalString (stdenv.isDarwin) ''
41+ checkPhase = lib.optionalString (stdenv.isDarwin) ''
4242 substituteInPlace "tests/include.sh" --replace "set -ea" "set -ea; export DYLD_LIBRARY_PATH=$(pwd)/lib"
4343 '' + ''
4444 ctest -R "eccodes_t_(definitions|calendar|unit_tests|md5|uerra|grib_2nd_order_numValues|julian)" -VV
pkgs/development/libraries/eclib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, pari
@@ -29,14 +29,14 @@ stdenv.mkDerivation rec {
2929 pari
3030 ntl
3131 gmp
32− ] ++ stdenv.lib.optionals withFlint [
32+ ] ++ lib.optionals withFlint [
3333 flint
3434 ];
3535 nativeBuildInputs = [
3636 autoreconfHook
3737 ];
3838 doCheck = true;
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 inherit version;
4141 description = "Elliptic curve tools";
4242 homepage = "https://github.com/JohnCremona/eclib";
pkgs/development/libraries/editline/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "editline";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 outputs = [ "out" "dev" "man" "doc" ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://troglobit.com/editline.html";
2727 description = "A readline() replacement for UNIX without termcap (ncurses)";
2828 license = licenses.bsdOriginal;
pkgs/development/libraries/eigen/2.0.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, cmake }:
1+{ lib, stdenv, fetchFromGitLab, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "eigen";
@@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
1818 license = licenses.lgpl3Plus;
1919 homepage = "https://eigen.tuxfamily.org";
20− maintainers = with stdenv.lib.maintainers; [ sander raskin ];
20+ maintainers = with lib.maintainers; [ sander raskin ];
2121 branch = "2";
22− platforms = with stdenv.lib.platforms; unix;
22+ platforms = with lib.platforms; unix;
2323 };
2424}
pkgs/development/libraries/eigen/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, cmake }:
1+{ lib, stdenv, fetchFromGitLab, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "eigen";
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
1717
1818 nativeBuildInputs = [ cmake ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
2222 license = licenses.lgpl3Plus;
2323 homepage = "https://eigen.tuxfamily.org";
2424 platforms = platforms.unix;
25− maintainers = with stdenv.lib.maintainers; [ sander raskin ];
25+ maintainers = with lib.maintainers; [ sander raskin ];
2626 inherit version;
2727 };
2828}
pkgs/development/libraries/embree/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
22openimageio, libjpeg, libpng, libpthreadstubs, libX11
33}:
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717
1818 nativeBuildInputs = [ cmake pkg-config ];
1919 buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "High performance ray tracing kernels from Intel";
2222 homepage = "https://embree.github.io/";
2323 maintainers = with maintainers; [ hodapp ];
pkgs/development/libraries/embree/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 buildInputs = [ tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ]
3232 ++ lib.optionals stdenv.isDarwin [ glib ];
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "High performance ray tracing kernels from Intel";
3636 homepage = "https://embree.github.io/";
3737 maintainers = with maintainers; [ hodapp gebner ];
pkgs/development/libraries/enchant/1.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, aspell, pkg-config, glib, hunspell, hspell }:
1+{ lib, stdenv, fetchurl, aspell, pkg-config, glib, hunspell, hspell }:
22
33stdenv.mkDerivation rec {
44 version = "1.6.1";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ aspell glib hunspell hspell ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Generic spell checking library";
1717 homepage = "https://abiword.github.io/enchant";
1818 platforms = platforms.unix;
pkgs/development/libraries/enchant/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, aspell
44, pkg-config
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646 "--enable-relocatable" # needed for tests
4747 ];
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 description = "Generic spell checking library";
5151 homepage = "https://abiword.github.io/enchant/";
5252 license = licenses.lgpl21Plus; # with extra provision for non-free checkers
pkgs/development/libraries/enet/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "enet-1.3.17";
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
1111 meta = {
1212 homepage = "http://enet.bespin.org/";
1313 description = "Simple and robust network communication layer on top of UDP";
14− license = stdenv.lib.licenses.mit;
15− maintainers = with stdenv.lib.maintainers; [ ];
16− platforms = stdenv.lib.platforms.unix;
14+ license = lib.licenses.mit;
15+ maintainers = with lib.maintainers; [ ];
16+ platforms = lib.platforms.unix;
1717 };
1818}
pkgs/development/libraries/entt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22stdenv.mkDerivation rec {
33 pname = "entt";
44 version = "3.5.2";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ cmake ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://github.com/skypjack/entt";
1717 description = "A header-only, tiny and easy to use library for game programming and much more written in modern C++";
1818 maintainers = with maintainers; [ twey ];
pkgs/development/libraries/epoxy/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, utilmacros, python3
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, utilmacros, python3
22, libGL, libX11
33}:
44
5−with stdenv.lib;
5+with lib;
66
77stdenv.mkDerivation rec {
88 pname = "epoxy";
pkgs/development/libraries/ethash/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, gbenchmark, gtest }:
1+{ lib, stdenv, fetchFromGitHub, cmake, gbenchmark, gtest }:
22
33stdenv.mkDerivation rec {
44 pname = "ethash";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 #"-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake"
3838 ];
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto";
4242 homepage = "https://github.com/ethereum/ethash";
4343 platforms = [ "x86_64-linux" ];
pkgs/development/libraries/eventlog/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "eventlog-0.2.12";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 combination of description and tag/value pairs.
2020 '';
2121 homepage = "https://www.balabit.com/support/community/products/";
22− license = stdenv.lib.licenses.bsd3;
23− platforms = stdenv.lib.platforms.unix;
22+ license = lib.licenses.bsd3;
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/libraries/exempi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:
1+{ lib, stdenv, fetchurl, fetchpatch, expat, zlib, boost, libiconv, darwin }:
22
33stdenv.mkDerivation rec {
44 pname = "exempi";
@@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
1414 ];
1515
1616 buildInputs = [ expat zlib boost ]
17− ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
17+ ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
1818
1919 doCheck = stdenv.isLinux;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "An implementation of XMP (Adobe's Extensible Metadata Platform)";
2323 homepage = "https://libopenraw.freedesktop.org/wiki/Exempi/";
2424 platforms = platforms.linux ++ platforms.darwin;
pkgs/development/libraries/exiv2/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, zlib
@@ -85,13 +85,13 @@ stdenv.mkDerivation rec {
8585 patchShebangs ../test/
8686 mkdir ../test/tmp
8787
88− ${stdenv.lib.optionalString (stdenv.isAarch64 || stdenv.isAarch32) ''
88+ ${lib.optionalString (stdenv.isAarch64 || stdenv.isAarch32) ''
8989 # Fix tests on arm
9090 # https://github.com/Exiv2/exiv2/issues/933
9191 rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
9292 ''}
9393
94− ${stdenv.lib.optionalString stdenv.isDarwin ''
94+ ${lib.optionalString stdenv.isDarwin ''
9595 export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/lib
9696 # Removing tests depending on charset conversion
9797 substituteInPlace ../test/Makefile --replace "conversions.sh" ""
@@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
111111 )
112112 '';
113113
114− meta = with stdenv.lib; {
114+ meta = with lib; {
115115 homepage = "https://www.exiv2.org/";
116116 description = "A library and command-line utility to manage image metadata";
117117 platforms = platforms.all;
pkgs/development/libraries/exosip/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libosip, openssl, pkg-config, fetchpatch }:
1+{ lib, stdenv, fetchurl, libosip, openssl, pkg-config, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "libexosip2";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 })
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 license = licenses.gpl2Plus;
2424 description = "Library that hides the complexity of using the SIP protocol";
2525 platforms = platforms.linux;
pkgs/development/libraries/expat/default.nix+2−2
@@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
1818 outputs = [ "out" "dev" ]; # TODO: fix referrers
1919 outputBin = "dev";
2020
21− configureFlags = stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
21+ configureFlags = lib.optional stdenv.isFreeBSD "--with-pic";
2222
2323 outputMan = "dev"; # tiny page for a dev tool
2424
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929 patchShebangs ./test-driver-wrapper.sh
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 homepage = "http://www.libexpat.org/";
3434 description = "A stream-oriented XML parser library written in C";
3535 platforms = platforms.all;
pkgs/development/libraries/faac/default.nix+2−2
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, autoreconfHook
1+{ lib, stdenv, fetchurl, autoreconfHook
22, mp4v2Support ? true, mp4v2 ? null
33, drmSupport ? false # Digital Radio Mondiale
44}:
55
66assert mp4v2Support -> (mp4v2 != null);
77
8−with stdenv.lib;
8+with lib;
99stdenv.mkDerivation rec {
1010 pname = "faac";
1111 version = "1.30";
pkgs/development/libraries/faad2/default.nix+2−2
@@ -1,8 +1,8 @@
1−{stdenv, fetchFromGitHub, autoreconfHook
1+{lib, stdenv, fetchFromGitHub, autoreconfHook
22, drmSupport ? false # Digital Radio Mondiale
33}:
44
5−with stdenv.lib;
5+with lib;
66stdenv.mkDerivation rec {
77 pname = "faad2";
88 version = "2.10.0";
pkgs/development/libraries/farbfeld/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, makeWrapper, file, libpng, libjpeg }:
1+{ lib, stdenv, fetchgit, makeWrapper, file, libpng, libjpeg }:
22
33stdenv.mkDerivation rec {
44 pname = "farbfeld";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 wrapProgram "$out/bin/2ff" --prefix PATH : "${file}/bin"
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Suckless image format with conversion tools";
2323 license = licenses.isc;
2424 platforms = platforms.linux;
pkgs/development/libraries/farstream/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, libnice
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
5656 gst-libav
5757 ];
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 homepage = "https://www.freedesktop.org/wiki/Software/Farstream";
6161 description = "Audio/Video Communications Framework formely known as farsight";
6262 platforms = platforms.linux;
pkgs/development/libraries/fast-cpp-csv-parser/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "fast-cpp-csv-parser";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 substituteAll ${./fast-cpp-csv-parser.pc.in} $out/lib/pkgconfig/fast-cpp-csv-parser.pc
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A small, easy-to-use and fast header-only library for reading comma separated value (CSV) files";
2222 homepage = "https://github.com/ben-strasser/fast-cpp-csv-parser";
2323 license = licenses.bsd3;
pkgs/development/libraries/fastjson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
1+{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
22
33stdenv.mkDerivation rec {
44 version = "0.99.8";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 sh autogen.sh
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A fast json library for C";
2121 homepage = "https://github.com/rsyslog/libfastjson";
2222 license = licenses.mit;
pkgs/development/libraries/fastpbkdf2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, openssl }:
1+{ lib, stdenv, fetchFromGitHub, openssl }:
22
33stdenv.mkDerivation {
44 name = "fastpbkdf2-1.0.0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
2222 cp fastpbkdf2.h $out/include/fastpbkdf2
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A fast PBKDF2-HMAC-{SHA1,SHA256,SHA512} implementation in C";
2727 homepage = "https://github.com/ctz/fastpbkdf2";
2828 license = licenses.cc0;
pkgs/development/libraries/faudio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, SDL2}:
1+{ lib, stdenv, fetchFromGitHub, cmake, SDL2}:
22
33#TODO: tests
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [ SDL2 ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
2222 homepage = "https://github.com/FNA-XNA/FAudio";
2323 license = licenses.zlib;
pkgs/development/libraries/fcgi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "fcgi";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 postInstall = "ln -s . $out/include/fastcgi";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A language independent, scalable, open extension to CG";
2020 homepage = "http://www.fastcgi.com/";
2121 license = "FastCGI see LICENSE.TERMS";
pkgs/development/libraries/fcppt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, catch2, metal }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, catch2, metal }:
22stdenv.mkDerivation rec {
33 pname = "fcppt";
44 version = "3.5.0";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=false" "-DENABLE_BOOST=true" "-DENABLE_EXAMPLES=true" "-DENABLE_CATCH=true" "-DENABLE_TEST=true" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Freundlich's C++ toolkit";
2020 longDescription = ''
2121 Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on
pkgs/development/libraries/fdk-aac/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, exampleSupport ? false # Example encoding program
33}:
44
5−with stdenv.lib;
5+with lib;
66stdenv.mkDerivation rec {
77 pname = "fdk-aac";
88 version = "2.0.1";
pkgs/development/libraries/fflas-ffpack/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, givaro, pkg-config, blas, lapack
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, givaro, pkg-config, blas, lapack
22, gmpxx
33}:
44
@@ -24,14 +24,14 @@ stdenv.mkDerivation rec {
2424 nativeBuildInputs = [
2525 autoreconfHook
2626 pkg-config
27− ] ++ stdenv.lib.optionals doCheck checkInputs;
27+ ] ++ lib.optionals doCheck checkInputs;
2828
2929 buildInputs = [ givaro blas lapack ];
3030
3131 configureFlags = [
3232 "--with-blas-libs=-lcblas"
3333 "--with-lapack-libs=-llapacke"
34− ] ++ stdenv.lib.optionals stdenv.isx86_64 [
34+ ] ++ lib.optionals stdenv.isx86_64 [
3535 # disable SIMD instructions (which are enabled *when available* by default)
3636 # for now we need to be careful to disable *all* relevant versions of an instruction set explicitly (https://github.com/linbox-team/fflas-ffpack/issues/284)
3737 "--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 ];
4949 doCheck = true;
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 inherit version;
5353 description = "Finite Field Linear Algebra Subroutines";
5454 license = licenses.lgpl21Plus;
pkgs/development/libraries/ffmpeg-full/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, ffmpeg, addOpenGLRunpath, fetchurl, fetchpatch, pkg-config, perl, texinfo, yasm
1+{ lib, stdenv, ffmpeg, addOpenGLRunpath, fetchurl, fetchpatch, pkg-config, perl, texinfo, yasm
22/*
33 * Licensing options (yes some are listed twice, filters and such are not listed)
44 */
@@ -184,7 +184,7 @@
184184
185185let
186186 inherit (stdenv) isCygwin isDarwin isFreeBSD isLinux isAarch64;
187− inherit (stdenv.lib) optional optionals optionalString enableFeature;
187+ inherit (lib) optional optionals optionalString enableFeature;
188188in
189189
190190/*
@@ -260,9 +260,9 @@ stdenv.mkDerivation rec {
260260
261261 prePatch = ''
262262 patchShebangs .
263− '' + stdenv.lib.optionalString stdenv.isDarwin ''
263+ '' + lib.optionalString stdenv.isDarwin ''
264264 sed -i 's/#ifndef __MAC_10_11/#if 1/' ./libavcodec/audiotoolboxdec.c
265− '' + stdenv.lib.optionalString (frei0r != null) ''
265+ '' + lib.optionalString (frei0r != null) ''
266266 substituteInPlace libavfilter/vf_frei0r.c \
267267 --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
268268 substituteInPlace doc/filters.texi \
@@ -467,7 +467,7 @@ stdenv.mkDerivation rec {
467467
468468 enableParallelBuilding = true;
469469
470− meta = with stdenv.lib; {
470+ meta = with lib; {
471471 description = "A complete, cross-platform solution to record, convert and stream audio and video";
472472 homepage = "https://www.ffmpeg.org/";
473473 longDescription = ''
pkgs/development/libraries/ffmpeg-sixel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, libsixel, yasm
1+{ lib, stdenv, fetchFromGitHub, pkg-config, libsixel, yasm
22}:
33
44stdenv.mkDerivation {
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727 mv $out/bin/ffmpeg $out/bin/ffmpeg-sixel
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A complete, cross-platform solution to record, convert and stream audio and video, extended to support console graphics";
3232 homepage = "http://www.ffmpeg.org/";
3333 license = licenses.lgpl3;
pkgs/development/libraries/ffmpeg/generic.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, pkg-config, addOpenGLRunpath, perl, texinfo, yasm
1+{ lib, stdenv, buildPackages, fetchurl, pkg-config, addOpenGLRunpath, perl, texinfo, yasm
22, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
33, libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr
44, x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d
@@ -44,7 +44,7 @@
4444
4545let
4646 inherit (stdenv) isDarwin isFreeBSD isLinux isAarch32;
47− inherit (stdenv.lib) optional optionals optionalString enableFeature filter;
47+ inherit (lib) optional optionals optionalString enableFeature filter;
4848
4949 cmpVer = builtins.compareVersions;
5050 reqMin = requiredVersion: (cmpVer requiredVersion branch != 1);
@@ -211,7 +211,7 @@ stdenv.mkDerivation rec {
211211 inherit vaapiSupport vdpauSupport;
212212 };
213213
214− meta = with stdenv.lib; {
214+ meta = with lib; {
215215 description = "A complete, cross-platform solution to record, convert and stream audio and video";
216216 homepage = "http://www.ffmpeg.org/";
217217 longDescription = ''
pkgs/development/libraries/ffmpegthumbnailer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, ffmpeg_3, cmake, libpng, pkg-config, libjpeg
1+{ fetchFromGitHub, lib, stdenv, ffmpeg_3, cmake, libpng, pkg-config, libjpeg
22}:
33
44stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 buildInputs = [ ffmpeg_3 libpng libjpeg ];
1717 cmakeFlags = [ "-DENABLE_THUMBNAILER=ON" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/dirkvdb/ffmpegthumbnailer";
2121 description = "A lightweight video thumbnailer";
2222 longDescription = "FFmpegthumbnailer is a lightweight video
pkgs/development/libraries/ffms/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, zlib, ffmpeg_3, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, zlib, ffmpeg_3, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "ffms";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 ln -s $out/lib/libffms2.so $out/lib/vapoursynth/libffms2.so
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "https://github.com/FFMS/ffms2/";
2828 description = "Libav/ffmpeg based source library for easy frame accurate access";
2929 license = licenses.mit;
pkgs/development/libraries/fftw/default.nix+1−1
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
4646
4747 checkInputs = [ perl ];
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 description = "Fastest Fourier Transform in the West library";
5151 homepage = "http://www.fftw.org/";
5252 license = licenses.gpl2Plus;
pkgs/development/libraries/filter-audio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "filter-audio";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 makeFlags = [ "PREFIX=$(out)" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Lightweight audio filtering library made from webrtc code";
2020 license = licenses.bsd3;
2121 maintainers = with maintainers; [ ];
pkgs/development/libraries/flann/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, unzip, cmake, python }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, unzip, cmake, python }:
22
33stdenv.mkDerivation {
44 name = "flann-1.9.1";
@@ -22,9 +22,9 @@ stdenv.mkDerivation {
2222
2323 meta = {
2424 homepage = "http://people.cs.ubc.ca/~mariusm/flann/";
25− license = stdenv.lib.licenses.bsd3;
25+ license = lib.licenses.bsd3;
2626 description = "Fast approximate nearest neighbor searches in high dimensional spaces";
27− maintainers = with stdenv.lib.maintainers; [viric];
28− platforms = with stdenv.lib.platforms; linux ++ darwin;
27+ maintainers = with lib.maintainers; [viric];
28+ platforms = with lib.platforms; linux ++ darwin;
2929 };
3030}
pkgs/development/libraries/flatbuffers/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "flatbuffers";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 })
2727 ];
2828
29− preConfigure = stdenv.lib.optional stdenv.buildPlatform.isDarwin ''
29+ preConfigure = lib.optional stdenv.buildPlatform.isDarwin ''
3030 rm BUILD
3131 '';
3232
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 # doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
4040 checkTarget = "test";
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Memory Efficient Serialization Library";
4444 longDescription = ''
4545 FlatBuffers is an efficient cross platform serialization library for
pkgs/development/libraries/flatcc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44}:
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "FlatBuffers Compiler and Library in C for C ";
2626 homepage = "https://github.com/dvidelabs/flatcc";
27− license = [ stdenv.lib.licenses.asl20 ];
27+ license = [ lib.licenses.asl20 ];
2828 };
2929}
pkgs/development/libraries/flatpak/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, autoconf
@@ -196,7 +196,7 @@ stdenv.mkDerivation rec {
196196 in ''
197197 patchShebangs buildutil
198198 patchShebangs tests
199− PATH=${stdenv.lib.makeBinPath [vsc-py]}:$PATH patchShebangs --build variant-schema-compiler/variant-schema-compiler
199+ PATH=${lib.makeBinPath [vsc-py]}:$PATH patchShebangs --build variant-schema-compiler/variant-schema-compiler
200200 '';
201201
202202 preConfigure = ''
@@ -215,7 +215,7 @@ stdenv.mkDerivation rec {
215215 };
216216 };
217217
218− meta = with stdenv.lib; {
218+ meta = with lib; {
219219 description = "Linux application sandboxing and distribution framework";
220220 homepage = "https://flatpak.org/";
221221 license = licenses.lgpl21;
pkgs/development/libraries/flint/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, gmp
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 mpir
2424 mpfr
2525 ntl
26− ] ++ stdenv.lib.optionals withBlas [
26+ ] ++ lib.optionals withBlas [
2727 openblas
2828 ];
2929 propagatedBuildInputs = [
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 "--with-mpir=${mpir}"
3535 "--with-mpfr=${mpfr}"
3636 "--with-ntl=${ntl}"
37− ] ++ stdenv.lib.optionals withBlas [
37+ ] ++ lib.optionals withBlas [
3838 "--with-blas=${openblas}"
3939 ];
4040
@@ -53,9 +53,9 @@ stdenv.mkDerivation rec {
5353 meta = {
5454 inherit version;
5555 description = "Fast Library for Number Theory";
56− license = stdenv.lib.licenses.gpl2Plus;
57− maintainers = [stdenv.lib.maintainers.raskin];
58− platforms = stdenv.lib.platforms.unix;
56+ license = lib.licenses.gpl2Plus;
57+ maintainers = [lib.maintainers.raskin];
58+ platforms = lib.platforms.unix;
5959 homepage = "http://www.flintlib.org/";
6060 downloadPage = "http://www.flintlib.org/downloads.html";
6161 updateWalker = true;
pkgs/development/libraries/flite/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, alsaLib }:
1+{ lib, stdenv, fetchFromGitHub, alsaLib }:
22
33stdenv.mkDerivation rec {
44 pname = "flite";
@@ -11,15 +11,15 @@ stdenv.mkDerivation rec {
1111 sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf";
1212 };
1313
14− buildInputs = stdenv.lib.optionals stdenv.isLinux [ alsaLib ];
14+ buildInputs = lib.optionals stdenv.isLinux [ alsaLib ];
1515
1616 configureFlags = [
1717 "--enable-shared"
18− ] ++ stdenv.lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
18+ ] ++ lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
1919
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A small, fast run-time speech synthesis engine";
2424 homepage = "http://www.festvox.org/flite/";
2525 license = licenses.bsdOriginal;
pkgs/development/libraries/fltk/1.4.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, xlibsWrapper, xorgproto, libXi
1+{ lib, stdenv, fetchurl, pkg-config, xlibsWrapper, xorgproto, libXi
22, freeglut, libGLU, libGL, libjpeg, zlib, libXft, libpng
33, libtiff, freetype, Cocoa, AGL, GLUT
44}:
@@ -16,11 +16,11 @@ stdenv.mkDerivation {
1616 sha256 = "1v8wxvxcbk99i82x2v5fpqg5vj8n7g8a38g30ry7nzcjn5sf3r63";
1717 };
1818
19− patches = stdenv.lib.optionals stdenv.isDarwin [ ./nsosv.patch ];
19+ patches = lib.optionals stdenv.isDarwin [ ./nsosv.patch ];
2020
2121 nativeBuildInputs = [ pkg-config ];
2222 buildInputs = [ libGLU libGL libjpeg zlib libpng libXft ]
23− ++ stdenv.lib.optional stdenv.isDarwin [ AGL Cocoa GLUT ];
23+ ++ lib.optional stdenv.isDarwin [ AGL Cocoa GLUT ];
2424
2525 propagatedBuildInputs = [ xorgproto ]
2626 ++ (if stdenv.isDarwin
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
3939
4040 enableParallelBuilding = true;
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "A C++ cross-platform lightweight GUI library";
4444 homepage = "https://www.fltk.org";
4545 platforms = platforms.linux ++ platforms.darwin;
pkgs/development/libraries/fltk/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, xlibsWrapper, xorgproto, libXi
1+{ lib, stdenv, fetchurl, pkg-config, xlibsWrapper, xorgproto, libXi
22, freeglut, libGL, libGLU, libjpeg, zlib, libXft, libpng
33, libtiff, freetype, Cocoa, AGL, GLUT
44}:
@@ -16,11 +16,11 @@ stdenv.mkDerivation {
1616 sha256 = "00jp24z1818k9n6nn6lx7qflqf2k13g4kxr0p8v1d37kanhb4ac7";
1717 };
1818
19− patches = stdenv.lib.optionals stdenv.isDarwin [ ./nsosv.patch ];
19+ patches = lib.optionals stdenv.isDarwin [ ./nsosv.patch ];
2020
2121 nativeBuildInputs = [ pkg-config ];
2222 buildInputs = [ libGLU libGL libjpeg zlib libpng libXft ]
23− ++ stdenv.lib.optional stdenv.isDarwin [ AGL Cocoa GLUT ];
23+ ++ lib.optional stdenv.isDarwin [ AGL Cocoa GLUT ];
2424
2525 propagatedBuildInputs = [ xorgproto ]
2626 ++ (if stdenv.isDarwin
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
3737
3838 enableParallelBuilding = true;
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A C++ cross-platform lightweight GUI library";
4242 homepage = "https://www.fltk.org";
4343 platforms = platforms.linux ++ platforms.darwin;
pkgs/development/libraries/fmt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake
22, enableShared ? !stdenv.hostPlatform.isStatic
33}:
44
@@ -28,7 +28,7 @@ let
2828
2929 doCheck = true;
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Small, safe and fast formatting library";
3333 longDescription = ''
3434 fmt (formerly cppformat) is an open-source formatting library. It can be
pkgs/development/libraries/folks/default.nix+5−5
@@ -1,5 +1,5 @@
11{ fetchurl
2−, stdenv
2+, lib, stdenv
33, pkg-config
44, meson
55, ninja
@@ -38,13 +38,13 @@ stdenv.mkDerivation rec {
3838 outputs = [ "out" "dev" "devdoc" ];
3939
4040 src = fetchurl {
41− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
41+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
4242 sha256 = "1f9b52vmwnq7s51vj26w2618dn2ph5g12ibbkbyk6fvxcgd7iryn";
4343 };
4444
4545 mesonFlags = [
4646 "-Ddocs=true"
47− "-Dtelepathy_backend=${stdenv.lib.boolToString telepathySupport}"
47+ "-Dtelepathy_backend=${lib.boolToString telepathySupport}"
4848 ];
4949
5050 nativeBuildInputs = [
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
7171 nspr
7272 nss
7373 readline
74− ] ++ stdenv.lib.optional telepathySupport telepathy-glib;
74+ ] ++ lib.optional telepathySupport telepathy-glib;
7575
7676 propagatedBuildInputs = [
7777 glib
@@ -105,7 +105,7 @@ stdenv.mkDerivation rec {
105105 };
106106 };
107107
108− meta = with stdenv.lib; {
108+ meta = with lib; {
109109 description = "A library that aggregates people from multiple sources to create metacontacts";
110110 homepage = "https://wiki.gnome.org/Projects/Folks";
111111 license = licenses.lgpl2Plus;
pkgs/development/libraries/folly/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, boost
@@ -52,7 +52,7 @@ stdenv.mkDerivation (rec {
5252
5353 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
5454
55− meta = with stdenv.lib; {
55+ meta = with lib; {
5656 description = "An open-source C++ library developed and used at Facebook";
5757 homepage = "https://github.com/facebook/folly";
5858 license = licenses.asl20;
@@ -60,6 +60,6 @@ stdenv.mkDerivation (rec {
6060 platforms = [ "x86_64-linux" "x86_64-darwin" ];
6161 maintainers = with maintainers; [ abbradar pierreis ];
6262 };
63−} // stdenv.lib.optionalAttrs stdenv.isDarwin {
63+} // lib.optionalAttrs stdenv.isDarwin {
6464 LDFLAGS = "-ljemalloc";
6565})
pkgs/development/libraries/fontconfig/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchpatch
33, substituteAll
44, fetchurl
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
8585 "--with-cache-dir=/var/cache/fontconfig" # otherwise the fallback is in $out/
8686 # just <1MB; this is what you get when loading config fails for some reason
8787 "--with-default-fonts=${dejavu_fonts.minimal}"
88− ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
88+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
8989 "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
9090 ];
9191
@@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
112112 rm -r $bin/share/man/man3
113113 '';
114114
115− meta = with stdenv.lib; {
115+ meta = with lib; {
116116 description = "A library for font customization and configuration";
117117 homepage = "http://fontconfig.org/";
118118 license = licenses.bsd2; # custom but very bsd-like
pkgs/development/libraries/forge/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
22, arrayfire, expat, fontconfig, freeimage, freetype, boost
33, mesa, libGLU, libGL, glfw3, SDL2, cudatoolkit
44}:
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 arrayfire
3636 ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "An OpenGL interop library that can be used with ArrayFire or any other application using CUDA or OpenCL compute backend";
4040 longDescription = ''
4141 An OpenGL interop library that can be used with ArrayFire or any other application using CUDA or OpenCL compute backend.
pkgs/development/libraries/fox/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft
1+{ lib, stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft
22, CoreServices ? null }:
33
44stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 patches = [ ./clang.patch ];
1414
1515 buildInputs = [ libpng xlibsWrapper libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ]
16− ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
16+ ++ lib.optional stdenv.isDarwin CoreServices;
1717
1818 doCheck = true;
1919
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 hardeningDisable = [ "format" ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "C++ based class library for building Graphical User Interfaces";
2626 longDescription = ''
2727 FOX stands for Free Objects for X.
pkgs/development/libraries/fox/fox-1.6.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
1+{ lib, stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
22, libXrandr, libGLU, libGL, libXft, libXfixes, xinput
33, CoreServices }:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 buildInputs = [
1919 xlibsWrapper libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
2020 libXft libGLU libGL libXfixes xinput
21− ] ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
21+ ] ++ lib.optional stdenv.isDarwin CoreServices;
2222
2323 doCheck = true;
2424
@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
3636 Current aims are to make FOX completely platform independent, and thus programs written against the FOX library will be only a compile away from running on a variety of platforms.
3737 '';
3838 homepage = "http://fox-toolkit.org";
39− license = stdenv.lib.licenses.lgpl3;
39+ license = lib.licenses.lgpl3;
4040 maintainers = [];
41− platforms = stdenv.lib.platforms.mesaPlatforms;
41+ platforms = lib.platforms.mesaPlatforms;
4242 };
4343}
pkgs/development/libraries/fplll/20160331.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
1+{lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, autoreconfHook
22, gmp, mpfr
33}:
44stdenv.mkDerivation rec {
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 inherit version;
1717 description = "Lattice algorithms using floating-point arithmetic";
18− license = stdenv.lib.licenses.lgpl21Plus;
19− maintainers = [stdenv.lib.maintainers.raskin];
20− platforms = stdenv.lib.platforms.linux;
18+ license = lib.licenses.lgpl21Plus;
19+ maintainers = [lib.maintainers.raskin];
20+ platforms = lib.platforms.linux;
2121 };
2222}
pkgs/development/libraries/fplll/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, gettext
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 mpfr
2929 ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Lattice algorithms using floating-point arithmetic";
3333 changelog = [
3434 # Some release notes are added to the github tags, though they are not
pkgs/development/libraries/frame/default.nix+5−5
@@ -1,5 +1,5 @@
11{ enableX11 ? true
2−, stdenv, fetchurl, pkg-config, xorg }:
2+, lib, stdenv, fetchurl, pkg-config, xorg }:
33
44stdenv.mkDerivation rec {
55 pname = "frame";
@@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [
1313 stdenv pkg-config
14− ] ++ stdenv.lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
14+ ] ++ lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
1515
16− configureFlags = stdenv.lib.optional enableX11 "--with-x11";
16+ configureFlags = lib.optional enableX11 "--with-x11";
1717
1818 meta = {
1919 homepage = "https://launchpad.net/frame";
2020 description = "Handles the buildup and synchronization of a set of simultaneous touches";
21− license = stdenv.lib.licenses.gpl3;
22− platforms = stdenv.lib.platforms.linux;
21+ license = lib.licenses.gpl3;
22+ platforms = lib.platforms.linux;
2323 };
2424}
pkgs/development/libraries/freealut/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, darwin, fetchurl, openal }:
1+{ lib, stdenv, darwin, fetchurl, openal }:
22
33stdenv.mkDerivation rec {
44 name = "freealut-1.1.0";
@@ -9,14 +9,14 @@ stdenv.mkDerivation rec {
99 };
1010
1111 buildInputs = [ openal
12− ] ++ stdenv.lib.optional stdenv.isDarwin
12+ ] ++ lib.optional stdenv.isDarwin
1313 darwin.apple_sdk.frameworks.OpenAL
1414 ;
1515
1616 meta = {
1717 homepage = "http://openal.org/";
1818 description = "Free implementation of OpenAL's ALUT standard";
19− license = stdenv.lib.licenses.lgpl2;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.lgpl2;
20+ platforms = lib.platforms.unix;
2121 };
2222}
pkgs/development/libraries/freeglut/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, libGL, libGLU, xlibsWrapper, cmake }:
1+{ lib, stdenv, fetchurl, libXi, libXrandr, libXxf86vm, libGL, libGLU, xlibsWrapper, cmake }:
22
33let version = "3.2.1";
44in stdenv.mkDerivation {
@@ -15,7 +15,7 @@ in stdenv.mkDerivation {
1515 nativeBuildInputs = [ cmake ];
1616 buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper ];
1717
18− cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [
18+ cmakeFlags = lib.optionals stdenv.isDarwin [
1919 "-DOPENGL_INCLUDE_DIR=${libGL}/include"
2020 "-DOPENGL_gl_LIBRARY:FILEPATH=${libGL}/lib/libGL.dylib"
2121 "-DOPENGL_glu_LIBRARY:FILEPATH=${libGLU}/lib/libGLU.dylib"
@@ -23,7 +23,7 @@ in stdenv.mkDerivation {
2323 "-DFREEGLUT_BUILD_STATIC:BOOL=OFF"
2424 ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Create and manage windows containing OpenGL contexts";
2828 longDescription = ''
2929 FreeGLUT is an open source alternative to the OpenGL Utility Toolkit
pkgs/development/libraries/freetds/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config
22, openssl
33, odbcSupport ? true, unixODBC ? null }:
44
@@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [
1919 openssl
20− ] ++ stdenv.lib.optional odbcSupport unixODBC;
20+ ] ++ lib.optional odbcSupport unixODBC;
2121
2222 nativeBuildInputs = [ autoreconfHook pkg-config ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Libraries to natively talk to Microsoft SQL Server and Sybase databases";
2626 homepage = "https://www.freetds.org";
2727 license = licenses.lgpl2;
pkgs/development/libraries/freetype/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, buildPackages
33, pkg-config, which, makeWrapper
44, zlib, bzip2, libpng, gnumake, glib
@@ -10,13 +10,13 @@
1010}:
1111
1212let
13− inherit (stdenv.lib) optional optionalString;
13+ inherit (lib) optional optionalString;
1414
1515in stdenv.mkDerivation rec {
1616 pname = "freetype";
1717 version = "2.10.4";
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A font rendering engine";
2121 longDescription = ''
2222 FreeType is a portable and efficient library for rendering fonts. It
pkgs/development/libraries/frei0r/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, cairo, opencv, pkg-config }:
1+{ lib, stdenv, fetchurl, autoconf, cairo, opencv, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "frei0r-plugins";
@@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ autoconf pkg-config ];
1313 buildInputs = [ cairo opencv ];
1414
15− postInstall = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
15+ postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
1616 for f in $out/lib/frei0r-1/*.so* ; do
1717 ln -s $f "''${f%.*}.dylib"
1818 done
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://frei0r.dyne.org";
2323 description = "Minimalist, cross-platform, shared video plugins";
2424 license = licenses.gpl2;
pkgs/development/libraries/fribidi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, buildPackages
33, fetchurl
44, meson
@@ -25,14 +25,14 @@ stdenv.mkDerivation rec {
2525 '';
2626
2727 nativeBuildInputs = [ meson ninja pkg-config ]
28− ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
28+ ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
2929
3030 depsBuildBuild = [ buildPackages.stdenv.cc ];
3131
3232 doCheck = true;
3333 checkInputs = [ python3 ];
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://github.com/fribidi/fribidi";
3737 description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)";
3838 license = licenses.lgpl21;
pkgs/development/libraries/fstrcmp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, libtool, ghostscript, groff, autoreconfHook }:
1+{ lib, stdenv, fetchzip, libtool, ghostscript, groff, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "fstrcmp";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Make fuzzy comparisons of strings and byte arrays";
2222 longDescription = ''
2323 The fstrcmp project provides a library that is used to make fuzzy
pkgs/development/libraries/fstrm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libevent, openssl }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libevent, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "fstrm";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 doCheck = true;
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Frame Streams implementation in C";
2727 homepage = "https://github.com/farsightsec/fstrm";
2828 license = licenses.asl20;
pkgs/development/libraries/ftgl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, freetype, libGL, libGLU, OpenGL }:
1+{ lib, stdenv, fetchurl, freetype, libGL, libGLU, OpenGL }:
22
33let
44 name = "ftgl-2.1.3-rc5";
@@ -18,14 +18,14 @@ stdenv.mkDerivation {
1818 [ libGL libGLU ])
1919 ;
2020
21− configureFlags = [ "--with-ft-prefix=${stdenv.lib.getDev freetype}" ];
21+ configureFlags = [ "--with-ft-prefix=${lib.getDev freetype}" ];
2222
2323 enableParallelBuilding = true;
2424
2525 meta = {
2626 homepage = "https://sourceforge.net/apps/mediawiki/ftgl/";
2727 description = "Font rendering library for OpenGL applications";
28− license = stdenv.lib.licenses.gpl3Plus;
28+ license = lib.licenses.gpl3Plus;
2929
3030 longDescription = ''
3131 FTGL is a free cross-platform Open Source C++ library that uses
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
3434 and extruded polygon rendering modes.
3535 '';
3636
37− platforms = stdenv.lib.platforms.unix;
37+ platforms = lib.platforms.unix;
3838 maintainers = [];
3939 };
4040}
pkgs/development/libraries/funambol/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, curl, autoreconfHook, unzip }:
1+{ lib, stdenv, fetchurl, zlib, curl, autoreconfHook, unzip }:
22
33stdenv.mkDerivation {
44 name = "funambol-client-cpp-9.0.0";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 nativeBuildInputs = [ autoreconfHook unzip ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "SyncML client sdk by Funambol project";
1919 homepage = "http://www.funambol.com";
2020 license = licenses.agpl3;
pkgs/development/libraries/galario/default.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchzip
33, fetchFromGitHub
44, cmake
@@ -30,17 +30,17 @@ stdenv.mkDerivation rec {
3030 nativeBuildInputs = [ cmake ];
3131
3232 buildInputs = [ fftw fftwFloat ]
33− ++ stdenv.lib.optional enablePython pythonPackages.python
34− ++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp
33+ ++ lib.optional enablePython pythonPackages.python
34+ ++ lib.optional stdenv.isDarwin llvmPackages.openmp
3535 ;
3636
37− propagatedBuildInputs = stdenv.lib.optional enablePython [
37+ propagatedBuildInputs = lib.optional enablePython [
3838 pythonPackages.numpy
3939 pythonPackages.cython
4040 pythonPackages.pytest
4141 ];
4242
43− checkInputs = stdenv.lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ];
43+ checkInputs = lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ];
4444
4545 preConfigure = ''
4646 mkdir -p build/external/src
@@ -55,12 +55,12 @@ stdenv.mkDerivation rec {
5555
5656 doCheck = true;
5757
58− postInstall = stdenv.lib.optionalString (stdenv.isDarwin && enablePython) ''
58+ postInstall = lib.optionalString (stdenv.isDarwin && enablePython) ''
5959 install_name_tool -change libgalario.dylib $out/lib/libgalario.dylib $out/lib/python*/site-packages/galario/double/libcommon.so
6060 install_name_tool -change libgalario_single.dylib $out/lib/libgalario_single.dylib $out/lib/python*/site-packages/galario/single/libcommon.so
6161 '';
6262
63− meta = with stdenv.lib; {
63+ meta = with lib; {
6464 description = "GPU Accelerated Library for Analysing Radio Interferometer Observations";
6565 longDescription = ''
6666 Galario is a library that exploits the computing power of modern
pkgs/development/libraries/gamenetworkingsockets/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, ninja, go, protobuf, openssl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, ninja, go, protobuf, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "GameNetworkingSockets";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 buildInputs = [ protobuf openssl ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 # build failure is resolved on master, remove at next release
2525 broken = stdenv.isDarwin;
2626 description = "GameNetworkingSockets is a basic transport layer for games";
pkgs/development/libraries/gamin/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, pkg-config, glib, autoreconfHook }:
1+{ lib, stdenv, fetchurl, fetchpatch, pkg-config, glib, autoreconfHook }:
22
33let
44 cross = stdenv.hostPlatform != stdenv.buildPlatform;
@@ -24,15 +24,15 @@ in stdenv.mkDerivation (rec {
2424
2525 patches = [ ./deadlock.patch ]
2626 ++ map fetchurl (import ./debian-patches.nix)
27− ++ stdenv.lib.optional stdenv.cc.isClang ./returnval.patch
28− ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
27+ ++ lib.optional stdenv.cc.isClang ./returnval.patch
28+ ++ lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
2929 name = "fix-pthread-mutex.patch";
3030 url = "https://git.alpinelinux.org/aports/plain/main/gamin/fix-pthread-mutex.patch?h=3.4-stable&id=a1a836b089573752c1b0da7d144c0948b04e8ea8";
3131 sha256 = "13igdbqsxb3sz0h417k6ifmq2n4siwqspj6slhc7fdl5wd1fxmdz";
32− }) ++ stdenv.lib.optional (cross) ./abstract-socket-namespace.patch ;
32+ }) ++ lib.optional (cross) ./abstract-socket-namespace.patch ;
3333
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://people.gnome.org/~veillard/gamin/";
3737 description = "A file and directory monitoring system";
3838 maintainers = with maintainers; [ lovek323 ];
@@ -41,7 +41,7 @@ in stdenv.mkDerivation (rec {
4141 };
4242}
4343
44−// stdenv.lib.optionalAttrs stdenv.isDarwin {
44+// lib.optionalAttrs stdenv.isDarwin {
4545 preBuild = ''
4646 sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
4747 '';
pkgs/development/libraries/ganv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkg-config, python, wafHook }:
1+{ lib, stdenv, fetchgit, graphviz, gtk2, gtkmm2, pkg-config, python, wafHook }:
22
33stdenv.mkDerivation rec {
44 pname = "ganv";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ pkg-config wafHook ];
1515 buildInputs = [ graphviz gtk2 gtkmm2 python ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "An interactive Gtk canvas widget for graph-based interfaces";
1919 homepage = "http://drobilla.net";
2020 license = licenses.gpl3;
pkgs/development/libraries/garmintools/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libusb-compat-0_1 }:
1+{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
22stdenv.mkDerivation {
33 name = "garmintools-0.10";
44 src = fetchurl {
@@ -9,8 +9,8 @@ stdenv.mkDerivation {
99 meta = {
1010 description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface";
1111 homepage = "https://code.google.com/archive/p/garmintools/"; # community clone at https://github.com/ianmartin/garmintools
12− license = stdenv.lib.licenses.gpl2;
12+ license = lib.licenses.gpl2;
1313 maintainers = [ ];
14− platforms = stdenv.lib.platforms.unix;
14+ platforms = lib.platforms.unix;
1515 };
1616}
pkgs/development/libraries/gbenchmark/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, gtest }:
1+{ lib, stdenv, fetchFromGitHub, cmake, gtest }:
22
33stdenv.mkDerivation rec {
44 pname = "gbenchmark";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 doCheck = true;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A microbenchmark support library";
2525 homepage = "https://github.com/google/benchmark";
2626 license = licenses.asl20;
pkgs/development/libraries/gcab/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, gettext
44, gobject-introspection
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 outputs = [ "bin" "out" "dev" "devdoc" "installedTests" ];
2424
2525 src = fetchurl {
26− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
26+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2727 sha256 = "13q43iqld4l50yra45lhvkd376pn6qpk7rkx374zn8y9wsdzm9b7";
2828 };
2929
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
7373 };
7474 };
7575
76− meta = with stdenv.lib; {
76+ meta = with lib; {
7777 description = "GObject library to create cabinet files";
7878 homepage = "https://gitlab.gnome.org/GNOME/gcab";
7979 license = licenses.lgpl21Plus;
pkgs/development/libraries/gcc/libstdc++/5.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, flex, bison, file }:
1+{ lib, stdenv, fetchurl, fetchpatch, flex, bison, file }:
22
33stdenv.mkDerivation rec {
44 pname = "libstdc++5";
@@ -107,7 +107,7 @@ stdenv.mkDerivation rec {
107107 rm -rf $out/lib/!(libstdc++*)
108108 '';
109109
110− meta = with stdenv.lib; {
110+ meta = with lib; {
111111 homepage = "https://gcc.gnu.org/";
112112 license = licenses.lgpl3Plus;
113113 description = "GNU Compiler Collection, version ${version} -- C++ standard library";
pkgs/development/libraries/gcr/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, meson
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 version = "3.38.0";
2626
2727 src = fetchurl {
28− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2929 sha256 = "1q97pba4bzjndm1vlvicyv8mrl0n589qsw71dp8jrz2payvcfk56";
3030 };
3131
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
8787 };
8888 };
8989
90− meta = with stdenv.lib; {
90+ meta = with lib; {
9191 platforms = platforms.linux;
9292 maintainers = teams.gnome.members;
9393 description = "GNOME crypto services (daemon and tools)";
pkgs/development/libraries/gd/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch
1+{ lib, stdenv, fetchurl, fetchpatch
22, autoconf
33, automake
44, pkg-config
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 ];
3838
3939 # -pthread gets passed to clang, causing warnings
40− configureFlags = stdenv.lib.optional stdenv.isDarwin "--enable-werror=no";
40+ configureFlags = lib.optional stdenv.isDarwin "--enable-werror=no";
4141
4242 nativeBuildInputs = [ autoconf automake pkg-config ];
4343
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
5252
5353 doCheck = false; # fails 2 tests
5454
55− meta = with stdenv.lib; {
55+ meta = with lib; {
5656 homepage = "https://libgd.github.io/";
5757 description = "A dynamic image creation library";
5858 license = licenses.free; # some custom license
pkgs/development/libraries/gdal/2.4.0.nix+7−7
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
1+{ lib, stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
22, postgresql, libmysqlclient, libgeotiff, pythonPackages, proj, geos, openssl
33, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
44, libiconv, libxml2
55, netcdfSupport ? true, netcdf, hdf5, curl
66}:
77
8−with stdenv.lib;
8+with lib;
99
1010stdenv.mkDerivation rec {
1111 pname = "gdal";
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
2828 buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite
2929 libspatialite poppler hdf4 qhull giflib expat libxml2 proj ]
3030 ++ (with pythonPackages; [ python numpy wrapPython ])
31− ++ stdenv.lib.optional stdenv.isDarwin libiconv
32− ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
31+ ++ lib.optional stdenv.isDarwin libiconv
32+ ++ lib.optionals netcdfSupport [ netcdf hdf5 curl ];
3333
3434 configureFlags = [
3535 "--with-expat=${expat.dev}"
@@ -97,8 +97,8 @@ stdenv.mkDerivation rec {
9797 meta = {
9898 description = "Translator library for raster geospatial data formats";
9999 homepage = "https://www.gdal.org/";
100− license = stdenv.lib.licenses.mit;
101− maintainers = [ stdenv.lib.maintainers.marcweber ];
102− platforms = with stdenv.lib.platforms; linux ++ darwin;
100+ license = lib.licenses.mit;
101+ maintainers = [ lib.maintainers.marcweber ];
102+ platforms = with lib.platforms; linux ++ darwin;
103103 };
104104}
pkgs/development/libraries/gdal/default.nix+7−7
@@ -1,9 +1,9 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, unzip, libjpeg, libtiff, zlib, postgresql
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, unzip, libjpeg, libtiff, zlib, postgresql
22, libmysqlclient, libgeotiff, pythonPackages, proj, geos, openssl, libpng
33, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat, libiconv, libxml2
44, autoreconfHook, netcdfSupport ? true, netcdf, hdf5, curl, pkg-config }:
55
6−with stdenv.lib;
6+with lib;
77
88stdenv.mkDerivation rec {
99 pname = "gdal";
@@ -39,8 +39,8 @@ stdenv.mkDerivation rec {
3939 libxml2
4040 postgresql
4141 ] ++ (with pythonPackages; [ python numpy wrapPython ])
42− ++ stdenv.lib.optional stdenv.isDarwin libiconv
43− ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
42+ ++ lib.optional stdenv.isDarwin libiconv
43+ ++ lib.optionals netcdfSupport [ netcdf hdf5 curl ];
4444
4545 configureFlags = [
4646 "--with-expat=${expat.dev}"
@@ -87,8 +87,8 @@ stdenv.mkDerivation rec {
8787 meta = {
8888 description = "Translator library for raster geospatial data formats";
8989 homepage = "https://www.gdal.org/";
90− license = stdenv.lib.licenses.mit;
91− maintainers = [ stdenv.lib.maintainers.marcweber ];
92− platforms = with stdenv.lib.platforms; linux ++ darwin;
90+ license = lib.licenses.mit;
91+ maintainers = [ lib.maintainers.marcweber ];
92+ platforms = with lib.platforms; linux ++ darwin;
9393 };
9494}
pkgs/development/libraries/gdal/gdal-1_11.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, libjpeg, libtiff, zlib
1+{ lib, stdenv, fetchurl, unzip, libjpeg, libtiff, zlib
22, postgresql, mysql57, libgeotiff, python, pythonPackages, proj, geos, openssl
33, libpng }:
44
@@ -59,8 +59,8 @@ stdenv.mkDerivation rec {
5959 meta = {
6060 description = "Translator library for raster geospatial data formats";
6161 homepage = "https://www.gdal.org/";
62− license = stdenv.lib.licenses.mit;
63− maintainers = [ stdenv.lib.maintainers.marcweber ];
64− platforms = with stdenv.lib.platforms; linux ++ darwin;
62+ license = lib.licenses.mit;
63+ maintainers = [ lib.maintainers.marcweber ];
64+ platforms = with lib.platforms; linux ++ darwin;
6565 };
6666}
pkgs/development/libraries/gdata-sharp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchsvn, pkg-config, mono, dotnetPackages }:
1+{ lib, stdenv, fetchsvn, pkg-config, mono, dotnetPackages }:
22
33let
44 newtonsoft-json = dotnetPackages.NewtonsoftJson;
@@ -26,7 +26,7 @@ in stdenv.mkDerivation {
2626
2727 makeFlags = [ "PREFIX=$(out)" ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "https://code.google.com/archive/p/google-gdata/";
3131
3232 description = "The Google Data APIs";
pkgs/development/libraries/gdcm/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, vtk_7, darwin
1+{ lib, stdenv, fetchurl, cmake, vtk_7, darwin
22, enablePython ? false, python ? null, swig ? null}:
33
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 "-DGDCM_BUILD_SHARED_LIBS=ON"
1818 "-DGDCM_USE_VTK=ON"
1919 ]
20− ++ stdenv.lib.optional enablePython [
20+ ++ lib.optional enablePython [
2121 "-DGDCM_WRAP_PYTHON:BOOL=ON"
2222 "-DGDCM_INSTALL_PYTHONMODULE_DIR=${placeholder "out"}/${python.sitePackages}"
2323 ];
@@ -30,13 +30,13 @@ stdenv.mkDerivation rec {
3030
3131 nativeBuildInputs = [ cmake ];
3232 buildInputs = [ vtk_7 ]
33− ++ stdenv.lib.optional stdenv.isDarwin [
33+ ++ lib.optional stdenv.isDarwin [
3434 darwin.apple_sdk.frameworks.ApplicationServices
3535 darwin.apple_sdk.frameworks.Cocoa
36− ] ++ stdenv.lib.optional enablePython [ swig python ];
36+ ] ++ lib.optional enablePython [ swig python ];
3737 propagatedBuildInputs = [ ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "The grassroots cross-platform DICOM implementation";
4141 longDescription = ''
4242 Grassroots DICOM (GDCM) is an implementation of the DICOM standard designed to be open source so that researchers may access clinical data directly.
pkgs/development/libraries/gdk-pixbuf/default.nix+6−6
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
3131
3232 src = fetchurl {
33− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
33+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3434 sha256 = "05ggmzwvrxq9w4zcvmrnnd6qplsmb4n95lj4q607c7arzlf6mil3";
3535 };
3636
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 gobject-introspection
5454 makeWrapper
5555 glib
56− ] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
56+ ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
5757
5858 propagatedBuildInputs = [
5959 glib
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
7878 postInstall =
7979 # meson erroneously installs loaders with .dylib extension on Darwin.
8080 # Their @rpath has to be replaced before gdk-pixbuf-query-loaders looks at them.
81− stdenv.lib.optionalString stdenv.isDarwin ''
81+ lib.optionalString stdenv.isDarwin ''
8282 for f in $out/${passthru.moduleDir}/*.dylib; do
8383 install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
8484 mv $f ''${f%.dylib}.so
@@ -88,13 +88,13 @@ stdenv.mkDerivation rec {
8888 + ''
8989 moveToOutput "bin" "$dev"
9090 moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
91− '' + stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
91+ '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
9292 # We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/
9393 $dev/bin/gdk-pixbuf-query-loaders --update-cache
9494 '';
9595
9696 # The fixDarwinDylibNames hook doesn't patch binaries.
97− preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
97+ preFixup = lib.optionalString stdenv.isDarwin ''
9898 for f in $out/bin/* $dev/bin/*; do
9999 install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
100100 done
@@ -124,7 +124,7 @@ stdenv.mkDerivation rec {
124124 moduleDir = "lib/gdk-pixbuf-2.0/2.10.0/loaders";
125125 };
126126
127− meta = with stdenv.lib; {
127+ meta = with lib; {
128128 description = "A library for image loading and manipulation";
129129 homepage = "https://gitlab.gnome.org/GNOME/gdk-pixbuf";
130130 maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
pkgs/development/libraries/gdk-pixbuf/xlib.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, meson
44, ninja
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 "-Dgtk_doc=true"
4343 ];
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "Deprecated API for integrating GdkPixbuf with Xlib data types";
4747 homepage = "https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib";
4848 maintainers = teams.gnome.members;
pkgs/development/libraries/gdl/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, libxml2, gtk3, gnome3, intltool }:
1+{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk3, gnome3, intltool }:
22
33stdenv.mkDerivation rec {
44 pname = "gdl";
55 version = "3.34.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/gdl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/gdl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "00ldva6wg6s4wlxmisiqzyz8ihsprra7sninx2rlqk6frpq312w5";
1010 };
1111
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 };
1919 };
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Gnome docking library";
2323 homepage = "https://developer.gnome.org/gdl/";
2424 maintainers = teams.gnome.members;
pkgs/development/libraries/gdome2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, glib, libxml2, gtk-doc}:
1+{lib, stdenv, fetchurl, pkg-config, glib, libxml2, gtk-doc}:
22
33let
44 pname = "gdome2";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 propagatedBuildInputs = [glib libxml2];
2121 patches = [ ./xml-document.patch ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://gdome2.cs.unibo.it/";
2525 description = "DOM C library developed for the Gnome project";
2626 license = licenses.lgpl21Plus;
pkgs/development/libraries/gecode/3.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bash, perl }:
1+{ lib, stdenv, fetchurl, bash, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "gecode";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 preConfigure = "patchShebangs configure";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 license = licenses.mit;
1818 homepage = "https://www.gecode.org";
1919 description = "Toolkit for developing constraint-based systems";
pkgs/development/libraries/gecode/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
1+{ lib, stdenv, fetchFromGitHub, bison, flex, perl, gmp, mpfr, enableGist ? true, qtbase }:
22
33stdenv.mkDerivation rec {
44 pname = "gecode";
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
1414 enableParallelBuilding = true;
1515 nativeBuildInputs = [ bison flex ];
1616 buildInputs = [ perl gmp mpfr ]
17− ++ stdenv.lib.optional enableGist qtbase;
17+ ++ lib.optional enableGist qtbase;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 license = licenses.mit;
2121 homepage = "https://www.gecode.org";
2222 description = "Toolkit for developing constraint-based systems";
pkgs/development/libraries/gegl/4.0.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, pkg-config
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 outputBin = "dev";
4242
4343 src = fetchurl {
44− url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
44+ url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
4545 sha256 = "sha256-DzceLtK5IWL+/T3edD5kjKCKahsrBQBIZ/vdx+IR5CQ=";
4646 };
4747
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
8484 luajit
8585 openexr
8686 suitesparse
87− ] ++ stdenv.lib.optional stdenv.isDarwin OpenCL;
87+ ] ++ lib.optional stdenv.isDarwin OpenCL;
8888
8989 # for gegl-4.0.pc
9090 propagatedBuildInputs = [
@@ -118,7 +118,7 @@ stdenv.mkDerivation rec {
118118 # tests fail to connect to the com.apple.fonts daemon in sandboxed mode
119119 doCheck = !stdenv.isDarwin;
120120
121− meta = with stdenv.lib; {
121+ meta = with lib; {
122122 description = "Graph-based image processing framework";
123123 homepage = "https://www.gegl.org";
124124 license = licenses.lgpl3Plus;
pkgs/development/libraries/gegl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, babl
@@ -33,13 +33,13 @@ stdenv.mkDerivation rec {
3333 configureFlags = [ "--disable-docs" ];
3434
3535 buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk2 bzip2 intltool libintl ]
36− ++ stdenv.lib.optional stdenv.isDarwin OpenGL;
36+ ++ lib.optional stdenv.isDarwin OpenGL;
3737
3838 nativeBuildInputs = [ pkg-config ];
3939
4040 doCheck = false; # fails 3 out of 19 tests
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Graph-based image processing framework";
4444 homepage = "https://www.gegl.org";
4545 license = licenses.lgpl3Plus;
pkgs/development/libraries/geis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, pkg-config
33, python3Packages
44, wrapGAppsHook
@@ -18,7 +18,7 @@
1818, xorgserver
1919}:
2020
21−with stdenv.lib;
21+with lib;
2222
2323stdenv.mkDerivation rec {
2424 pname = "geis";
pkgs/development/libraries/genann/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "genann";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 cp ./genann.{h,c} $out/include
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://github.com/codeplea/genann";
2929 description = "Simple neural network library in ANSI C";
3030 license = licenses.zlib;
pkgs/development/libraries/geoclue/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchFromGitLab, intltool, meson, ninja, pkg-config, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, json-glib, libsoup, libnotify, gdk-pixbuf
1+{ lib, stdenv, fetchFromGitLab, intltool, meson, ninja, pkg-config, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, json-glib, libsoup, libnotify, gdk-pixbuf
22, modemmanager, avahi, glib-networking, python3, wrapGAppsHook, gobject-introspection, vala
33, withDemoAgent ? false
44}:
55
6−with stdenv.lib;
6+with lib;
77
88stdenv.mkDerivation rec {
99 pname = "geoclue";
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
5656 patchShebangs demo/install-file.py
5757 '';
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 description = "Geolocation framework and some data providers";
6161 homepage = "https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home";
6262 maintainers = with maintainers; [ raskin ];
pkgs/development/libraries/geocode-glib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, meson, ninja, pkg-config, gettext, gtk-doc, docbook_xsl, gobject-introspection, gnome3, libsoup, json-glib, glib }:
1+{ fetchurl, lib, stdenv, meson, ninja, pkg-config, gettext, gtk-doc, docbook_xsl, gobject-introspection, gnome3, libsoup, json-glib, glib }:
22
33stdenv.mkDerivation rec {
44 pname = "geocode-glib";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" "devdoc" "installedTests" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/geocode-glib/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1";
1212 };
1313
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 };
2929 };
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "A convenience library for the geocoding and reverse geocoding using Nominatim service";
3333 license = licenses.lgpl2Plus;
3434 maintainers = teams.gnome.members;
pkgs/development/libraries/geoip/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook
22, drvName ? "geoip"
33
44# in geoipDatabase, you can insert a package defining
@@ -7,7 +7,7 @@
77}:
88
99let
10− dataDir = if stdenv.lib.isDerivation geoipDatabase
10+ dataDir = if lib.isDerivation geoipDatabase
1111 then "${toString geoipDatabase}/share/GeoIP"
1212 else geoipDatabase;
1313in
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 nativeBuildInputs = [ autoreconfHook ];
2626
2727 # Cross compilation shenanigans
28− configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
28+ configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2929 "ac_cv_func_malloc_0_nonnull=yes"
3030 "ac_cv_func_realloc_0_nonnull=yes"
3131 ];
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 find . -name Makefile.in -exec sed -i -r 's#^pkgdatadir\s*=.+$#pkgdatadir = ${dataDir}#' {} \;
3636 '';
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "An API for GeoIP/Geolocation databases";
4040 maintainers = with maintainers; [ thoughtpolice raskin ];
4141 license = licenses.lgpl21;
pkgs/development/libraries/geos/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python }:
1+{ lib, stdenv, fetchurl, python }:
22
33stdenv.mkDerivation rec {
44 name = "geos-3.8.1";
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
1313 buildInputs = [ python ];
1414
1515 # https://trac.osgeo.org/geos/ticket/993
16− configureFlags = stdenv.lib.optional stdenv.isAarch32 "--disable-inline";
16+ configureFlags = lib.optional stdenv.isAarch32 "--disable-inline";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "C++ port of the Java Topology Suite (JTS)";
2020 homepage = "https://trac.osgeo.org/geos";
2121 license = licenses.lgpl21;
pkgs/development/libraries/getdata/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool }:
1+{ lib, stdenv, fetchurl, libtool }:
22stdenv.mkDerivation rec {
33 pname = "getdata";
44 version = "0.10.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99
1010 buildInputs = [ libtool ];
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Reference implementation of the Dirfile Standards";
1414 license = licenses.lgpl21Plus;
1515 platforms = platforms.all;
pkgs/development/libraries/getdns/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unbound, libidn2, openssl, doxygen, cmake }:
1+{ lib, stdenv, fetchurl, unbound, libidn2, openssl, doxygen, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "getdns";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 buildInputs = [ unbound libidn2 openssl doxygen ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A modern asynchronous DNS API";
2121 longDescription = ''
2222 getdns is an implementation of a modern asynchronous DNS API; the
pkgs/development/libraries/gettext/default.nix+3−3
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 configureFlags = [
2727 "--disable-csharp" "--with-xz"
28− ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
28+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2929 # On cross building, gettext supposes that the wchar.h from libc
3030 # does not fulfill gettext needs, so it tries to work with its
3131 # own wchar.h file, which does not cope well with the system's
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 xz.bin
4949 ];
5050 # HACK, see #10874 (and 14664)
51− buildInputs = stdenv.lib.optional (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) libiconv;
51+ buildInputs = lib.optional (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) libiconv;
5252
5353 setupHooks = [
5454 ../../../build-support/setup-hooks/role.bash
@@ -89,6 +89,6 @@ stdenv.mkDerivation rec {
8989 };
9090}
9191
92−// stdenv.lib.optionalAttrs stdenv.isDarwin {
92+// lib.optionalAttrs stdenv.isDarwin {
9393 makeFlags = [ "CFLAGS=-D_FORTIFY_SOURCE=0" ];
9494}
pkgs/development/libraries/gexiv2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, exiv2, glib, gnome3, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }:
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, exiv2, glib, gnome3, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }:
22
33stdenv.mkDerivation rec {
44 pname = "gexiv2";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" "devdoc" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "0xxxq8xdkgkn146my307jgws4qgxx477h0ybg1mqza1ycmczvsla";
1212 };
1313
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 };
2828 };
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 homepage = "https://wiki.gnome.org/Projects/gexiv2";
3232 description = "GObject wrapper around the Exiv2 photo metadata library";
3333 license = licenses.gpl2;
pkgs/development/libraries/gfbgraph/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, librest, gnome-online-accounts
1+{ lib, stdenv, fetchurl, pkg-config, glib, librest, gnome-online-accounts
22, gnome3, libsoup, json-glib, gobject-introspection
33, gtk-doc, pkgs, docbook-xsl-nons, autoconf, automake, libtool }:
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 outputs = [ "out" "dev" "devdoc" ];
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1313 sha256 = "0yck7dwvjk16a52nafjpi0a39rxwmg0w833brj45acz76lgkjrb0";
1414 };
1515
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040 };
4141 };
4242
43− meta = with stdenv.lib; {
43+ meta = with lib; {
4444 homepage = "https://wiki.gnome.org/Projects/GFBGraph";
4545 description = "GLib/GObject wrapper for the Facebook Graph API";
4646 maintainers = teams.gnome.members;
pkgs/development/libraries/gflags/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake
1+{ lib, stdenv, fetchFromGitHub, cmake
22, enableShared ? !stdenv.hostPlatform.isStatic
33}:
44
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 doCheck = false;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "A C++ library that implements commandline flags processing";
3030 longDescription = ''
3131 The gflags package contains a C++ library that implements commandline flags processing.
pkgs/development/libraries/ggz_base_libs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
1+{ lib, stdenv, fetchurl, intltool, openssl, expat, libgcrypt }:
22
33stdenv.mkDerivation rec {
44 version = "0.99.5";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 "--with-tls"
2323 ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "GGZ Gaming zone libraries";
2727 maintainers = with maintainers;
2828 [
pkgs/development/libraries/giblib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, xlibsWrapper, imlib2 }:
1+{ lib, stdenv, fetchurl, xlibsWrapper, imlib2 }:
22
33stdenv.mkDerivation rec {
44 name = "giblib-1.2.4";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 meta = {
3131 homepage = "http://linuxbrit.co.uk/giblib/";
3232 description = "wrapper library for imlib2, and other stuff";
33− platforms = stdenv.lib.platforms.unix;
34− license = stdenv.lib.licenses.mit;
33+ platforms = lib.platforms.unix;
34+ license = lib.licenses.mit;
3535 };
3636}
pkgs/development/libraries/giflib/4.1.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "giflib-4.1.6";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 hardeningDisable = [ "format" ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 description = "A library for reading and writing gif images";
1515 branch = "4.1";
1616 license = licenses.mit;
pkgs/development/libraries/giflib/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2, fixDarwinDylibNames }:
1+{ lib, stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2, fixDarwinDylibNames }:
22
33stdenv.mkDerivation rec {
44 name = "giflib-5.2.1";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 sha256 = "1gbrg03z1b6rlrvjyc6d41bc8j1bsr7rm8206gb1apscyii5bnii";
88 };
99
10− patches = stdenv.lib.optional stdenv.hostPlatform.isDarwin
10+ patches = lib.optional stdenv.hostPlatform.isDarwin
1111 (fetchpatch {
1212 # https://sourceforge.net/p/giflib/bugs/133/
1313 name = "darwin-soname.patch";
@@ -21,15 +21,15 @@ stdenv.mkDerivation rec {
2121 --replace 'PREFIX = /usr/local' 'PREFIX = ${builtins.placeholder "out"}'
2222 '';
2323
24− nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
24+ nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
2525
2626 buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
2727
2828 meta = {
2929 description = "A library for reading and writing gif images";
30− platforms = stdenv.lib.platforms.unix;
31− license = stdenv.lib.licenses.mit;
32− maintainers = with stdenv.lib.maintainers; [ ];
30+ platforms = lib.platforms.unix;
31+ license = lib.licenses.mit;
32+ maintainers = with lib.maintainers; [ ];
3333 branch = "5.2";
3434 };
3535}
pkgs/development/libraries/giflib/libungif.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "libungif-4.1.4";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99
1010 hardeningDisable = [ "format" ];
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Library and utilities for processing GIFs";
1414 platforms = platforms.unix;
1515 license = licenses.mit;
pkgs/development/libraries/gio-sharp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, which, pkg-config, mono, glib, gtk-sharp-2_0 }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, which, pkg-config, mono, glib, gtk-sharp-2_0 }:
22
33stdenv.mkDerivation rec {
44 pname = "gio-sharp";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 ./autogen-2.22.sh
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "GIO API bindings";
2626 homepage = "https://github.com/mono/gio-sharp";
2727 license = licenses.mit;
pkgs/development/libraries/git2/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, python3
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, python3
22, zlib, libssh2, openssl, pcre, http-parser
33, libiconv, Security
44}:
@@ -23,16 +23,16 @@ stdenv.mkDerivation rec {
2323 nativeBuildInputs = [ cmake python3 pkg-config ];
2424
2525 buildInputs = [ zlib libssh2 openssl pcre http-parser ]
26− ++ stdenv.lib.optional stdenv.isDarwin Security;
26+ ++ lib.optional stdenv.isDarwin Security;
2727
28− propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
28+ propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv;
2929
3030 doCheck = false; # hangs. or very expensive?
3131
3232 meta = {
3333 description = "The Git linkable library";
3434 homepage = "https://libgit2.github.com/";
35− license = stdenv.lib.licenses.gpl2;
36− platforms = with stdenv.lib.platforms; all;
35+ license = lib.licenses.gpl2;
36+ platforms = with lib.platforms; all;
3737 };
3838}
pkgs/development/libraries/givaro/3.7.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
1+{lib, stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
22stdenv.mkDerivation rec {
33 pname = "givaro";
44 version = "3.7.2";
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
1111 meta = {
1212 inherit version;
1313 description = "A C++ library for arithmetic and algebraic computations";
14− license = stdenv.lib.licenses.cecill-b;
15− maintainers = [stdenv.lib.maintainers.raskin];
16− platforms = stdenv.lib.platforms.linux;
14+ license = lib.licenses.cecill-b;
15+ maintainers = [lib.maintainers.raskin];
16+ platforms = lib.platforms.linux;
1717 };
1818}
pkgs/development/libraries/givaro/3.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
1+{lib, stdenv, fetchurl, automake, autoconf, libtool, autoreconfHook, gmpxx}:
22stdenv.mkDerivation rec {
33 pname = "givaro";
44 version = "3.8.0";
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
1111 meta = {
1212 inherit version;
1313 description = "A C++ library for arithmetic and algebraic computations";
14− license = stdenv.lib.licenses.cecill-b;
15− maintainers = [stdenv.lib.maintainers.raskin];
16− platforms = stdenv.lib.platforms.linux;
14+ license = lib.licenses.cecill-b;
15+ maintainers = [lib.maintainers.raskin];
16+ platforms = lib.platforms.linux;
1717 };
1818}
pkgs/development/libraries/givaro/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx }:
1+{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx }:
22stdenv.mkDerivation rec {
33 pname = "givaro";
44 version = "4.1.1";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 configureFlags = [
1919 "--disable-optimization"
20− ] ++ stdenv.lib.optionals stdenv.isx86_64 [
20+ ] ++ lib.optionals stdenv.isx86_64 [
2121 # disable SIMD instructions (which are enabled *when available* by default)
2222 "--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"
2323 "--${if stdenv.hostPlatform.ssse3Support then "enable" else "disable"}-ssse3"
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
3838 meta = {
3939 inherit version;
4040 description = "A C++ library for arithmetic and algebraic computations";
41− license = stdenv.lib.licenses.cecill-b;
42− maintainers = [stdenv.lib.maintainers.raskin];
43− platforms = stdenv.lib.platforms.unix;
41+ license = lib.licenses.cecill-b;
42+ maintainers = [lib.maintainers.raskin];
43+ platforms = lib.platforms.unix;
4444 };
4545}
pkgs/development/libraries/gjs/default.nix+4−4
@@ -1,6 +1,6 @@
11{ fetchurl
22, fetchpatch
3−, stdenv
3+, lib, stdenv
44, meson
55, ninja
66, pkg-config
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
3232 version = "1.66.1";
3333
3434 src = fetchurl {
35− url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
35+ url = "mirror://gnome/sources/gjs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3636 sha256 = "0k1ld2bc4c3zbyjpfgx15v5n02iywdvm106rys5jqr7zbr2l0hld";
3737 };
3838
@@ -105,7 +105,7 @@ in stdenv.mkDerivation rec {
105105 postFixup = ''
106106 wrapProgram "$installedTests/libexec/installed-tests/gjs/minijasmine" \
107107 --prefix XDG_DATA_DIRS : "$installedTestsSchemaDatadir" \
108− --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" testDeps}"
108+ --prefix GI_TYPELIB_PATH : "${lib.makeSearchPath "lib/girepository-1.0" testDeps}"
109109 '';
110110
111111 checkPhase = ''
@@ -127,7 +127,7 @@ in stdenv.mkDerivation rec {
127127 };
128128 };
129129
130− meta = with stdenv.lib; {
130+ meta = with lib; {
131131 description = "JavaScript bindings for GNOME";
132132 homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
133133 license = licenses.lgpl2Plus;
pkgs/development/libraries/gl2ps/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, cmake
44, zlib
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 freeglut
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 homepage = "http://geuz.org/gl2ps";
3434 description = "An OpenGL to PostScript printing library";
3535 platforms = platforms.all;
pkgs/development/libraries/glbinding/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
1+{ lib, stdenv, fetchFromGitHub, cmake, libGLU, xlibsWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "glbinding";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ libGLU xlibsWrapper ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://github.com/cginternals/glbinding/";
1919 description = "A C++ binding for the OpenGL API, generated using the gl.xml specification";
2020 license = licenses.mit;
pkgs/development/libraries/gle/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, freeglut, libX11, libXt, libXmu, libXi, libXext, libGL, libGLU}:
1+{lib, stdenv, fetchurl, freeglut, libX11, libXt, libXmu, libXi, libXext, libGL, libGLU}:
22stdenv.mkDerivation {
33 name = "gle-3.1.0";
44 buildInputs = [libGLU libGL freeglut libX11 libXt libXmu libXi libXext];
@@ -11,8 +11,8 @@ stdenv.mkDerivation {
1111 };
1212 meta = {
1313 description = "Tubing and extrusion library";
14− license = stdenv.lib.licenses.gpl2 ;
15− maintainers = [stdenv.lib.maintainers.raskin];
16− platforms = stdenv.lib.platforms.linux;
14+ license = lib.licenses.gpl2 ;
15+ maintainers = [lib.maintainers.raskin];
16+ platforms = lib.platforms.linux;
1717 };
1818}
pkgs/development/libraries/glew/1.10.nix+3−3
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
1+{ lib, stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
22, AGL, OpenGL
33}:
44
5−with stdenv.lib;
5+with lib;
66
77stdenv.mkDerivation rec {
88 name = "glew-1.10.0";
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040 "SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}"
4141 ];
4242
43− meta = with stdenv.lib; {
43+ meta = with lib; {
4444 description = "An OpenGL extension loading library for C(++)";
4545 homepage = "http://glew.sourceforge.net/";
4646 license = licenses.free; # different files under different licenses
pkgs/development/libraries/glew/default.nix+3−3
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
1+{ lib, stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
22, OpenGL
33}:
44
5−with stdenv.lib;
5+with lib;
66
77stdenv.mkDerivation rec {
88 name = "glew-2.2.0";
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646
4747 enableParallelBuilding = true;
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 description = "An OpenGL extension loading library for C(++)";
5151 homepage = "http://glew.sourceforge.net/";
5252 license = licenses.free; # different files under different licenses
pkgs/development/libraries/glfw/2.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libGLU, libGL, libX11, libXext }:
1+{ lib, stdenv, fetchurl, libGLU, libGL, libX11, libXext }:
22
33stdenv.mkDerivation rec {
44 name = "glfw-2.7.9";
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
2121 ln -s libglfw.so.2 $out/lib/libglfw.so
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
2626 homepage = "http://glfw.sourceforge.net/";
2727 license = licenses.zlib;
28− maintainers = [ stdenv.lib.maintainers.marcweber ];
28+ maintainers = [ lib.maintainers.marcweber ];
2929 platforms = platforms.linux;
3030 };
3131}
pkgs/development/libraries/glfw/3.x.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 substituteInPlace src/glx_context.c --replace "libGL.so.1" "${lib.getLib libGL}/lib/libGL.so.1"
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Multi-platform library for creating OpenGL contexts and managing input, including keyboard, mouse, joystick and time";
3333 homepage = "https://www.glfw.org/";
3434 license = licenses.zlib;
pkgs/development/libraries/glib-networking/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, substituteAll
44, meson
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 outputs = [ "out" "installedTests" ];
2424
2525 src = fetchurl {
26− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
26+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2727 sha256 = "16807qwflbghp0c66jdx2gnaffvdp4bla35ppzp9dlgx6wjbxmy5";
2828 };
2929
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
8383 };
8484 };
8585
86− meta = with stdenv.lib; {
86+ meta = with lib; {
8787 description = "Network-related giomodules for glib";
8888 homepage = "https://gitlab.gnome.org/GNOME/glib-networking";
8989 license = licenses.lgpl21Plus;
pkgs/development/libraries/glib-testing/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, meson
44, ninja
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 };
5454 };
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 description = "Test library providing test harnesses and mock classes complementing the classes provided by GLib";
5858 homepage = "https://gitlab.gnome.org/pwithnall/libglib-testing";
5959 license = licenses.lgpl21Plus;
pkgs/development/libraries/glib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ config, stdenv, fetchurl, gettext, meson, ninja, pkg-config, perl, python3
1+{ config, lib, stdenv, fetchurl, gettext, meson, ninja, pkg-config, perl, python3
22, libiconv, zlib, libffi, pcre, libelf, gnome3, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45
33# use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib)
44, util-linuxMinimal ? null
@@ -11,7 +11,7 @@
1111, darwin, fetchpatch
1212}:
1313
14−with stdenv.lib;
14+with lib;
1515
1616assert stdenv.isLinux -> util-linuxMinimal != null;
1717
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 version = "2.66.4";
4949
5050 src = fetchurl {
51− url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
51+ url = "mirror://gnome/sources/glib/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
5252 sha256 = "l9+GcOMvn9T3OSsJgOZh3WJQEgFdWDUNoeWOND9K+YQ=";
5353 };
5454
@@ -182,7 +182,7 @@ stdenv.mkDerivation rec {
182182 updateScript = gnome3.updateScript { packageName = "glib"; };
183183 };
184184
185− meta = with stdenv.lib; {
185+ meta = with lib; {
186186 description = "C library of programming buildings blocks";
187187 homepage = "https://www.gtk.org/";
188188 license = licenses.lgpl21Plus;
pkgs/development/libraries/glibc/default.nix+10−10
@@ -1,4 +1,4 @@
1−{ stdenv, callPackage
1+{ lib, stdenv, callPackage
22, withLinuxHeaders ? true
33, profilingLibraries ? false
44, withGd ? false
@@ -14,7 +14,7 @@ let
1414in
1515
1616callPackage ./common.nix { inherit stdenv; } {
17− name = "glibc" + stdenv.lib.optionalString withGd "-gd";
17+ name = "glibc" + lib.optionalString withGd "-gd";
1818
1919 inherit withLinuxHeaders profilingLibraries withGd;
2020
@@ -46,15 +46,15 @@ callPackage ./common.nix { inherit stdenv; } {
4646 hardeningDisable = [ "stackprotector" "fortify" ]
4747 # XXX: Not actually musl-speciic but since only musl enables pie by default,
4848 # limit rebuilds by only disabling pie w/musl
49− ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "pie";
49+ ++ lib.optional stdenv.hostPlatform.isMusl "pie";
5050
51− NIX_CFLAGS_COMPILE = stdenv.lib.concatStringsSep " "
51+ NIX_CFLAGS_COMPILE = lib.concatStringsSep " "
5252 (builtins.concatLists [
53− (stdenv.lib.optionals withGd gdCflags)
53+ (lib.optionals withGd gdCflags)
5454 # Fix -Werror build failure when building glibc with musl with GCC >= 8, see:
5555 # https://github.com/NixOS/nixpkgs/pull/68244#issuecomment-544307798
56− (stdenv.lib.optional stdenv.hostPlatform.isMusl "-Wno-error=attribute-alias")
57− (stdenv.lib.optionals ((stdenv.hostPlatform != stdenv.buildPlatform) || stdenv.hostPlatform.isMusl) [
56+ (lib.optional stdenv.hostPlatform.isMusl "-Wno-error=attribute-alias")
57+ (lib.optionals ((stdenv.hostPlatform != stdenv.buildPlatform) || stdenv.hostPlatform.isMusl) [
5858 # Ignore "error: '__EI___errno_location' specifies less restrictive attributes than its target '__errno_location'"
5959 # New warning as of GCC 9
6060 # Same for musl: https://github.com/NixOS/nixpkgs/issues/78805
@@ -81,14 +81,14 @@ callPackage ./common.nix { inherit stdenv; } {
8181 postInstall = (if stdenv.hostPlatform == stdenv.buildPlatform then ''
8282 echo SUPPORTED-LOCALES=C.UTF-8/UTF-8 > ../glibc-2*/localedata/SUPPORTED
8383 make -j''${NIX_BUILD_CORES:-1} -l''${NIX_BUILD_CORES:-1} localedata/install-locales
84− '' else stdenv.lib.optionalString stdenv.buildPlatform.isLinux ''
84+ '' else lib.optionalString stdenv.buildPlatform.isLinux ''
8585 # This is based on http://www.linuxfromscratch.org/lfs/view/development/chapter06/glibc.html
8686 # Instead of using their patch to build a build-native localedef,
8787 # we simply use the one from buildPackages
8888 pushd ../glibc-2*/localedata
8989 export I18NPATH=$PWD GCONV_PATH=$PWD/../iconvdata
9090 mkdir -p $NIX_BUILD_TOP/${buildPackages.glibc}/lib/locale
91− ${stdenv.lib.getBin buildPackages.glibc}/bin/localedef \
91+ ${lib.getBin buildPackages.glibc}/bin/localedef \
9292 --alias-file=../intl/locale.alias \
9393 -i locales/C \
9494 -f charmaps/UTF-8 \
@@ -122,7 +122,7 @@ callPackage ./common.nix { inherit stdenv; } {
122122 ''
123123 # For some reason these aren't stripped otherwise and retain reference
124124 # to bootstrap-tools; on cross-arm this stripping would break objects.
125− + stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
125+ + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
126126
127127 for i in "$out"/lib/*.a; do
128128 [ "$i" = "$out/lib/libm.a" ] || $STRIP -S "$i"
pkgs/development/libraries/glibc/locales.nix+3−3
@@ -6,7 +6,7 @@
66 https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/SUPPORTED
77*/
88
9−{ stdenv, buildPackages, callPackage, writeText
9+{ lib, stdenv, buildPackages, callPackage, writeText
1010, allLocales ? true, locales ? [ "en_US.UTF-8/UTF-8" ]
1111}:
1212
@@ -31,9 +31,9 @@ callPackage ./common.nix { inherit stdenv; } {
3131 # Hack to allow building of the locales (needed since glibc-2.12)
3232 sed -i -e 's,^$(rtld-prefix) $(common-objpfx)locale/localedef,localedef --prefix='$TMPDIR',' ../glibc-2*/localedata/Makefile
3333 ''
34− + stdenv.lib.optionalString (!allLocales) ''
34+ + lib.optionalString (!allLocales) ''
3535 # Check that all locales to be built are supported
36− echo -n '${stdenv.lib.concatMapStrings (s: s + " \\\n") locales}' \
36+ echo -n '${lib.concatMapStrings (s: s + " \\\n") locales}' \
3737 | sort > locales-to-build.txt
3838 cat ../glibc-2*/localedata/SUPPORTED | grep ' \\' \
3939 | sort > locales-supported.txt
pkgs/development/libraries/glibmm/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gnum4, glib, libsigcxx, gnome3, darwin }:
1+{ lib, stdenv, fetchurl, pkg-config, gnum4, glib, libsigcxx, gnome3, darwin }:
22
33stdenv.mkDerivation rec {
44 pname = "glibmm";
55 version = "2.64.2";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "1v6lp23fr2qh4zshcnm28sn29j3nzgsvcqj2nhmrnvamipjq4lm7";
1010 };
1111
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 glib # for glib-compile-schemas
1818 ];
1919
20− buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
20+ buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
2121 Cocoa
2222 ]);
2323 propagatedBuildInputs = [ glib libsigcxx ];
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 };
3333 };
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "C++ interface to the GLib library";
3737
3838 homepage = "https://gtkmm.org/";
pkgs/development/libraries/glm/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchzip, cmake }:
1+{ lib, stdenv, fetchurl, fetchzip, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "0.9.8.5";
@@ -27,14 +27,14 @@ stdenv.mkDerivation rec {
2727 cp ${gcc7PlatformPatch} glm/simd/platform.h
2828 '';
2929
30− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-DGLM_COMPILER=0";
30+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-DGLM_COMPILER=0";
3131
3232 postInstall = ''
3333 mkdir -p $doc/share/doc/glm
3434 cp -rv $NIX_BUILD_TOP/$sourceRoot/doc/* $doc/share/doc/glm
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "OpenGL Mathematics library for C++";
3939 longDescription = ''
4040 OpenGL Mathematics (GLM) is a header only C++ mathematics library for
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 homepage = "http://glm.g-truc.net/";
4545 license = licenses.mit;
4646 platforms = platforms.unix;
47− maintainers = with stdenv.lib.maintainers; [ ];
47+ maintainers = with lib.maintainers; [ ];
4848 };
4949}
5050
pkgs/development/libraries/globalarrays/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
1+{ lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook
22, blas, gfortran, openssh, openmpi
33} :
44
@@ -30,7 +30,7 @@ in stdenv.mkDerivation {
3030
3131 enableParallelBuilding = true;
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Global Arrays Programming Models";
3535 homepage = "http://hpc.pnl.gov/globalarrays/";
3636 maintainers = [ maintainers.markuskowa ];
pkgs/development/libraries/globalplatform/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, zlib, openssl_1_0_2, pcsclite }:
1+{ lib, stdenv, fetchurl, pkg-config, zlib, openssl_1_0_2, pcsclite }:
22
33stdenv.mkDerivation rec {
44 pname = "globalplatform";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ zlib openssl_1_0_2 pcsclite ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/";
1717 description = "Library for interacting with smart card devices";
1818 license = licenses.gpl3;
pkgs/development/libraries/globalplatform/gppcscconnectionplugin.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, globalplatform, openssl_1_0_2, pcsclite }:
1+{ lib, stdenv, fetchurl, pkg-config, globalplatform, openssl_1_0_2, pcsclite }:
22
33stdenv.mkDerivation rec {
44 pname = "gppcscconnectionplugin";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ globalplatform openssl_1_0_2 pcsclite ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/";
1717 description = "GlobalPlatform pcsc connection plugin";
1818 license = [ licenses.lgpl3 licenses.gpl3 ];
pkgs/development/libraries/glog/default.nix+1−1
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 checkInputs = [ perl ];
3636 doCheck = false; # fails with "Mangled symbols (28 out of 380) found in demangle.dm"
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "https://github.com/google/glog";
4040 license = licenses.bsd3;
4141 description = "Library for application-level logging";
pkgs/development/libraries/gloox/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, zlibSupport ? true, zlib ? null
33, sslSupport ? true, openssl ? null
44, idnSupport ? true, libidn ? null
@@ -8,7 +8,7 @@ assert zlibSupport -> zlib != null;
88assert sslSupport -> openssl != null;
99assert idnSupport -> libidn != null;
1010
11−with stdenv.lib;
11+with lib;
1212
1313let
1414 version = "1.0.24";
pkgs/development/libraries/glpk/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, libmysqlclient
@@ -24,11 +24,11 @@ stdenv.mkDerivation rec {
2424
2525 buildInputs =
2626 [ libmysqlclient
27− ] ++ stdenv.lib.optionals withGmp [
27+ ] ++ lib.optionals withGmp [
2828 gmp
2929 ];
3030
31− configureFlags = stdenv.lib.optionals withGmp [
31+ configureFlags = lib.optionals withGmp [
3232 "--with-gmp"
3333 ];
3434
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
5959
6060 doCheck = true;
6161
62− meta = with stdenv.lib; {
62+ meta = with lib; {
6363 description = "The GNU Linear Programming Kit";
6464
6565 longDescription =
pkgs/development/libraries/glui/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, freeglut
44, libGL
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 cp LICENSE.txt "$out/share/glui/doc"
3232 '';
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = ''A user interface library using OpenGL'';
3636 license = licenses.zlib ;
3737 maintainers = [ maintainers.raskin ];
pkgs/development/libraries/gmime/2.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, zlib, gnupg, libgpgerror, gobject-introspection }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, libgpgerror, gobject-introspection }:
22
33stdenv.mkDerivation rec {
44 version = "2.6.23";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 enableParallelBuilding = true;
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 homepage = "https://github.com/jstedfast/gmime/";
3333 description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
3434 license = licenses.lgpl21Plus;
pkgs/development/libraries/gmime/3.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection
1+{ lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection
22, vala }:
33
44stdenv.mkDerivation rec {
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131
3232 enableParallelBuilding = true;
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 homepage = "https://github.com/jstedfast/gmime/";
3636 description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
3737 license = licenses.lgpl21Plus;
pkgs/development/libraries/gmm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "gmm";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0mhygfpsdyr0d4h3sn6g7nxn149yrlqv7r2h34yqkrpv1q4daqvi";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Generic C++ template library for sparse, dense and skyline matrices";
1414 homepage = "http://getfem.org/gmm.html";
1515 license = licenses.lgpl21Plus;
pkgs/development/libraries/gmp/4.3.2.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, cxx ? true }:
1+{ lib, stdenv, fetchurl, m4, cxx ? true }:
22
33let self = stdenv.mkDerivation rec {
44 name = "gmp-4.3.2";
@@ -28,8 +28,8 @@ let self = stdenv.mkDerivation rec {
2828 else ''echo "Darwin host is `./config.guess`."'';
2929
3030 configureFlags = [
31− (stdenv.lib.enableFeature cxx "cxx")
32− ] ++ stdenv.lib.optionals stdenv.isDarwin [
31+ (lib.enableFeature cxx "cxx")
32+ ] ++ lib.optionals stdenv.isDarwin [
3333 "ac_cv_build=x86_64-apple-darwin13.4.0"
3434 "ac_cv_host=x86_64-apple-darwin13.4.0"
3535 ];
@@ -65,10 +65,10 @@ let self = stdenv.mkDerivation rec {
6565 '';
6666
6767 homepage = "https://gmplib.org/";
68− license = stdenv.lib.licenses.lgpl3Plus;
68+ license = lib.licenses.lgpl3Plus;
6969
7070 maintainers = [ ];
71− platforms = stdenv.lib.platforms.all;
71+ platforms = lib.platforms.all;
7272 badPlatforms = [ "x86_64-darwin" ];
7373 };
7474};
pkgs/development/libraries/gmp/5.1.x.nix+5−5
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, m4
1+{ lib, stdenv, fetchurl, m4
22, cxx ? true
33, withStatic ? stdenv.hostPlatform.isStatic
44}:
55
6−let inherit (stdenv.lib) optional; in
6+let inherit (lib) optional; in
77
88let self = stdenv.mkDerivation rec {
99 name = "gmp-5.1.3";
@@ -25,13 +25,13 @@ let self = stdenv.mkDerivation rec {
2525
2626 configureFlags = [
2727 "--with-pic"
28− (stdenv.lib.enableFeature cxx "cxx")
28+ (lib.enableFeature cxx "cxx")
2929 # Build a "fat binary", with routines for several sub-architectures
3030 # (x86), except on Solaris where some tests crash with "Memory fault".
3131 # See <https://hydra.nixos.org/build/2760931>, for instance.
3232 #
3333 # no darwin because gmp uses ASM that clang doesn't like
34− (stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
34+ (lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
3535 # The config.guess in GMP tries to runtime-detect various
3636 # ARM optimization flags via /proc/cpuinfo (and is also
3737 # broken on multicore CPUs). Avoid this impurity.
@@ -46,7 +46,7 @@ let self = stdenv.mkDerivation rec {
4646
4747 enableParallelBuilding = true;
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 homepage = "https://gmplib.org/";
5151 description = "GNU multiple precision arithmetic library";
5252 license = licenses.gpl3Plus;
pkgs/development/libraries/gmp/6.x.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4
1+{ lib, stdenv, fetchurl, m4
22, cxx ? !stdenv.hostPlatform.useAndroidPrebuilt && !stdenv.hostPlatform.isWasm
33, buildPackages
44, withStatic ? stdenv.hostPlatform.isStatic
@@ -9,7 +9,7 @@
99# cgit) that are needed here should be included directly in Nixpkgs as
1010# files.
1111
12−let inherit (stdenv.lib) optional; in
12+let inherit (lib) optional; in
1313
1414let self = stdenv.mkDerivation rec {
1515 name = "gmp-6.2.1";
@@ -30,13 +30,13 @@ let self = stdenv.mkDerivation rec {
3030
3131 configureFlags = [
3232 "--with-pic"
33− (stdenv.lib.enableFeature cxx "cxx")
33+ (lib.enableFeature cxx "cxx")
3434 # Build a "fat binary", with routines for several sub-architectures
3535 # (x86), except on Solaris where some tests crash with "Memory fault".
3636 # See <https://hydra.nixos.org/build/2760931>, for instance.
3737 #
3838 # no darwin because gmp uses ASM that clang doesn't like
39− (stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
39+ (lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
4040 # The config.guess in GMP tries to runtime-detect various
4141 # ARM optimization flags via /proc/cpuinfo (and is also
4242 # broken on multicore CPUs). Avoid this impurity.
@@ -54,7 +54,7 @@ let self = stdenv.mkDerivation rec {
5454
5555 enableParallelBuilding = true;
5656
57− meta = with stdenv.lib; {
57+ meta = with lib; {
5858 homepage = "https://gmplib.org/";
5959 description = "GNU multiple precision arithmetic library";
6060 license = licenses.gpl3Plus;
pkgs/development/libraries/gmtk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3
1+{lib, stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3
22, libpulseaudio, mplayer, gnome_mplayer }:
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 })
2323 ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Common functions for gnome-mplayer and gecko-mediaplayer";
2727 homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer";
2828 license = licenses.gpl2;
pkgs/development/libraries/gnet/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
1+{lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }:
22
33stdenv.mkDerivation {
44 name = "gnet-2.0.8";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 preConfigure = "./autogen.sh";
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A network library, written in C, object-oriented, and built upon GLib";
1919 homepage = "https://developer.gnome.org/gnet/";
2020 license = licenses.lgpl2;
pkgs/development/libraries/gnome-menus/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gettext, glib, gobject-introspection, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, gettext, glib, gobject-introspection, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gnome-menus";
55 version = "3.36.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r";
1010 };
1111
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 };
2525 };
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 homepage = "https://gitlab.gnome.org/GNOME/gnome-menus";
2929 description = "Library that implements freedesktops's Desktop Menu Specification in GNOME";
3030 license = with licenses; [ gpl2 lgpl2 ];
pkgs/development/libraries/gnome-online-accounts/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, pkg-config
44, vala
@@ -95,7 +95,7 @@ stdenv.mkDerivation rec {
9595 };
9696 };
9797
98− meta = with stdenv.lib; {
98+ meta = with lib; {
9999 homepage = "https://wiki.gnome.org/Projects/GnomeOnlineAccounts";
100100 description = "Single sign-on framework for GNOME";
101101 platforms = platforms.linux;
pkgs/development/libraries/gnome-sharp/default.nix+1−1
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535
3636 dontStrip = true;
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "https://www.mono-project.com/docs/gui/gtksharp/";
4040 description = "A .NET language binding for assorted GNOME libraries";
4141 license = licenses.lgpl21;
pkgs/development/libraries/gnome-video-effects/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, meson
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 version = "0.5.0";
1313
1414 src = fetchurl {
15− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
15+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1616 sha256 = "1j6h98whgkcxrh30bwvnxvyqxrxchgpdgqhl0j71xz7x72dqxijd";
1717 };
1818
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 };
3737 };
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A collection of GStreamer effects to be used in different GNOME Modules";
4141 homepage = "https://wiki.gnome.org/Projects/GnomeVideoEffects";
4242 platforms = platforms.linux;
pkgs/development/libraries/gnu-config/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33let
44 rev = "e78c96e5288993aaea3ec44e5c6ee755c668da79";
@@ -22,7 +22,7 @@ in stdenv.mkDerivation {
2222 cp ${configSub} $out/config.sub
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Attempt to guess a canonical system name";
2727 homepage = "https://savannah.gnu.org/projects/config";
2828 license = licenses.gpl3;
pkgs/development/libraries/gnu-efi/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, buildPackages, fetchurl, fetchpatch, pciutils }:
1+{ lib, stdenv, buildPackages, fetchurl, fetchpatch, pciutils }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "gnu-efi";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "GNU EFI development toolchain";
3434 homepage = "https://sourceforge.net/projects/gnu-efi/";
3535 license = licenses.bsd3;
pkgs/development/libraries/gobject-introspection/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, glib
44, flex
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 outputBin = "dev";
3535
3636 src = fetchurl {
37− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
37+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3838 sha256 = "078n0q7b6z682mf4irclrksm73cyixq295mqnqifl9plwmgaai6x";
3939 };
4040
@@ -46,12 +46,12 @@ stdenv.mkDerivation rec {
4646 src = ./absolute_shlib_path.patch;
4747 inherit nixStoreDir;
4848 })
49− ] ++ stdenv.lib.optionals x11Support [
49+ ] ++ lib.optionals x11Support [
5050 # Hardcode the cairo shared library path in the Cairo gir shipped with this package.
5151 # https://github.com/NixOS/nixpkgs/issues/34080
5252 (substituteAll {
5353 src = ./absolute_gir_path.patch;
54− cairoLib = "${stdenv.lib.getLib cairo}/lib";
54+ cairoLib = "${lib.getLib cairo}/lib";
5555 })
5656 ];
5757
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
7272 python3
7373 ];
7474
75− checkInputs = stdenv.lib.optionals stdenv.isDarwin [
75+ checkInputs = lib.optionals stdenv.isDarwin [
7676 cctools # for otool
7777 ];
7878
@@ -117,7 +117,7 @@ stdenv.mkDerivation rec {
117117 };
118118 };
119119
120− meta = with stdenv.lib; {
120+ meta = with lib; {
121121 description = "A middleware layer between C libraries and language bindings";
122122 homepage = "https://gi.readthedocs.io/";
123123 maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 ]);
pkgs/development/libraries/goffice/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, intltool, glib, gtk3, lasem
1+{ fetchurl, lib, stdenv, pkg-config, intltool, glib, gtk3, lasem
22, libgsf, libxml2, libxslt, cairo, pango, librsvg, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 outputs = [ "out" "dev" "devdoc" ];
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1212 sha256 = "1z6f3q8fxkd1ysqrwdxdi0844zqa00vjpf07gq8mh3kal8picfd4";
1313 };
1414
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
3838 documents, undo/redo.
3939 '';
4040
41− license = stdenv.lib.licenses.gpl2Plus;
41+ license = lib.licenses.gpl2Plus;
4242
43− platforms = stdenv.lib.platforms.unix;
43+ platforms = lib.platforms.unix;
4444 };
4545}
pkgs/development/libraries/gom/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 outputs = [ "out" "py" ];
1919
2020 src = fetchurl {
21− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
21+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2222 sha256 = "17ca07hpg7dqxjn0jpqim3xqcmplk2a87wbwrrlq3dd3m8381l38";
2323 };
2424
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 };
5454 };
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 description = "A GObject to SQLite object mapper";
5858 homepage = "https://wiki.gnome.org/Projects/Gom";
5959 license = licenses.lgpl21Plus;
pkgs/development/libraries/goocanvas/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib }:
1+{ lib, stdenv, fetchurl, pkg-config, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib }:
22
33let
44 version = "2.0.4";
@@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
2222 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "$(dev)/share/gir-1.0";
2323 PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "$(out)/lib/girepository-1.0";
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Canvas widget for GTK based on the the Cairo 2D library";
2727 homepage = "https://wiki.gnome.org/Projects/GooCanvas";
2828 license = licenses.lgpl2;
pkgs/development/libraries/goocanvas/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, gtk2, cairo, glib, pkg-config, gnome3 }:
1+{ lib, stdenv, fetchurl, gtk2, cairo, glib, pkg-config, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "goocanvas";
55 version = "1.0.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
99 sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
1010 };
1111
@@ -19,10 +19,10 @@ stdenv.mkDerivation rec {
1919 };
2020 };
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Canvas widget for GTK based on the the Cairo 2D library";
2424 homepage = "https://wiki.gnome.org/Projects/GooCanvas";
2525 license = licenses.lgpl2;
26− platforms = stdenv.lib.platforms.unix;
26+ platforms = lib.platforms.unix;
2727 };
2828}
pkgs/development/libraries/goocanvasmm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, goocanvas2, gtkmm3, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, goocanvas2, gtkmm3, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "goocanvasmm";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "0vpdfrj59nwzwj8bk4s0h05iyql62pxjzsxh72g3vry07s3i3zw0";
1212 };
1313 nativeBuildInputs = [ pkg-config ];
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 };
2323 };
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "C++ bindings for GooCanvas";
2727 homepage = "https://wiki.gnome.org/Projects/GooCanvas";
2828 license = licenses.lgpl2;
pkgs/development/libraries/google-cloud-cpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
1+{ lib, stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
22let
33 googleapis = fetchFromGitHub {
44 owner = "googleapis";
@@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
5353 "-DBUILD_SHARED_LIBS:BOOL=ON"
5454 ];
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 license = with licenses; [ asl20 ];
5858 homepage = "https://github.com/googleapis/google-cloud-cpp";
5959 description = "C++ Idiomatic Clients for Google Cloud Platform services";
pkgs/development/libraries/gpgme/default.nix+1−1
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
7272
7373 doCheck = true;
7474
75− meta = with stdenv.lib; {
75+ meta = with lib; {
7676 homepage = "https://gnupg.org/software/gpgme/index.html";
7777 changelog = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob;f=NEWS;hb=refs/tags/gpgme-${version}";
7878 description = "Library for making GnuPG easier to use";
pkgs/development/libraries/grail/default.nix+5−5
@@ -1,5 +1,5 @@
11{ enableX11 ? true,
2− stdenv, fetchurl, pkg-config, xorg, python3, frame }:
2+ lib, stdenv, fetchurl, pkg-config, xorg, python3, frame }:
33
44stdenv.mkDerivation rec {
55 pname = "grail";
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414 buildInputs = [ python3 frame ]
15− ++ stdenv.lib.optionals enableX11 [xorg.libX11 xorg.libXtst xorg.libXext xorg.libXi xorg.libXfixes];
15+ ++ lib.optionals enableX11 [xorg.libX11 xorg.libXtst xorg.libXext xorg.libXi xorg.libXfixes];
1616
17− configureFlags = stdenv.lib.optional enableX11 "--with-x11";
17+ configureFlags = lib.optional enableX11 "--with-x11";
1818
1919 meta = {
2020 homepage = "https://launchpad.net/canonical-multitouch/grail";
2121 description = "Gesture Recognition And Instantiation Library";
22− license = stdenv.lib.licenses.gpl2;
23− platforms = stdenv.lib.platforms.linux;
22+ license = lib.licenses.gpl2;
23+ platforms = lib.platforms.linux;
2424 };
2525}
pkgs/development/libraries/grantlee/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qt4, cmake }:
1+{ lib, stdenv, fetchurl, qt4, cmake }:
22
33stdenv.mkDerivation rec {
44 name = "grantlee-0.5.1";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 and the design of Django is reused in Grantlee.'';
2828
2929 homepage = "http://gitorious.org/grantlee";
30− license = stdenv.lib.licenses.lgpl21;
30+ license = lib.licenses.lgpl21;
3131 inherit (qt4.meta) platforms;
3232 };
3333}
pkgs/development/libraries/graphene-hardened-malloc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "graphene-hardened-malloc";
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 popd
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 homepage = "https://github.com/GrapheneOS/hardened_malloc";
4747 description = "Hardened allocator designed for modern systems";
4848 longDescription = ''
pkgs/development/libraries/graphene/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, nix-update-script
44, pkg-config
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
6969 };
7070 };
7171
72− meta = with stdenv.lib; {
72+ meta = with lib; {
7373 description = "A thin layer of graphic data types";
7474 homepage = "https://ebassi.github.com/graphene";
7575 license = licenses.mit;
pkgs/development/libraries/grib-api/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ fetchurl, fetchpatch, stdenv,
1+{ fetchurl, fetchpatch, lib, stdenv,
22 cmake, netcdf, gfortran, libpng, openjpeg,
33 enablePython ? false, pythonPackages }:
44
@@ -27,11 +27,11 @@ stdenv.mkDerivation rec {
2727 buildInputs = [ netcdf
2828 libpng
2929 openjpeg
30− ] ++ stdenv.lib.optionals enablePython [
30+ ] ++ lib.optionals enablePython [
3131 pythonPackages.python
3232 ];
3333
34− propagatedBuildInputs = stdenv.lib.optionals enablePython [
34+ propagatedBuildInputs = lib.optionals enablePython [
3535 pythonPackages.numpy
3636 ];
3737
@@ -46,14 +46,14 @@ stdenv.mkDerivation rec {
4646 # Only do tests that don't require downloading 120MB of testdata
4747 # We fix the darwin checkPhase, which searches for libgrib_api.dylib
4848 # in /nix/store by setting DYLD_LIBRARY_PATH
49− checkPhase = stdenv.lib.optionalString (stdenv.isDarwin) ''
49+ checkPhase = lib.optionalString (stdenv.isDarwin) ''
5050 substituteInPlace "tests/include.sh" --replace "set -ea" "set -ea; export DYLD_LIBRARY_PATH=$(pwd)/lib"
5151 '' + ''
5252 ctest -R "t_definitions|t_calendar|t_unit_tests" -VV
5353 '';
5454
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 homepage = "https://software.ecmwf.int/wiki/display/GRIB/Home";
5858 license = licenses.asl20;
5959 platforms = with platforms; linux ++ darwin;
pkgs/development/libraries/grilo-plugins/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, substituteAll
44, meson
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 version = "0.3.12";
3535
3636 src = fetchurl {
37− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
37+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3838 sha256 = "0xr59gzb8gw2bgj14mjllgn8y7srh373j0fp0v16ak8nd84dzdn6";
3939 };
4040
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545 # * chromaprint (gst-plugins-bad)
4646 (substituteAll {
4747 src = ./chromaprint-gst-plugins.patch;
48− load_plugins = stdenv.lib.concatMapStrings (plugin: ''gst_registry_scan_path(gst_registry_get(), "${plugin}/lib/gstreamer-1.0");'') (with gst_all_1; [
48+ load_plugins = lib.concatMapStrings (plugin: ''gst_registry_scan_path(gst_registry_get(), "${plugin}/lib/gstreamer-1.0");'') (with gst_all_1; [
4949 gstreamer
5050 gst-plugins-base
5151 gst-plugins-bad
@@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
9191 };
9292 };
9393
94− meta = with stdenv.lib; {
94+ meta = with lib; {
9595 homepage = "https://wiki.gnome.org/Projects/Grilo";
9696 description = "A collection of plugins for the Grilo framework";
9797 maintainers = teams.gnome.members;
pkgs/development/libraries/grilo/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, gettext, vala, glib, liboauth, gtk3
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, vala, glib, liboauth, gtk3
22, gtk-doc, docbook_xsl, docbook_xml_dtd_43
33, libxml2, gnome3, gobject-introspection, libsoup, totem-pl-parser }:
44
@@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
1212 outputBin = "dev";
1313
1414 src = fetchurl {
15− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
15+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1616 sha256 = "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i";
1717 };
1818
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
3535 };
3636 };
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "https://wiki.gnome.org/Projects/Grilo";
4040 description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
4141 maintainers = teams.gnome.members;
pkgs/development/libraries/grpc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkg-config, openssl, protobuf
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkg-config, openssl, protobuf
22, gflags, abseil-cpp, libnsl
33}:
44
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 nativeBuildInputs = [ cmake pkg-config ];
2424 buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ]
25− ++ stdenv.lib.optionals stdenv.isLinux [ libnsl ];
25+ ++ lib.optionals stdenv.isLinux [ libnsl ];
2626
2727 cmakeFlags =
2828 [ "-DgRPC_ZLIB_PROVIDER=package"
@@ -45,11 +45,11 @@ stdenv.mkDerivation rec {
4545 export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
4646 '';
4747
48− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option";
48+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=unknown-warning-option";
4949
5050 enableParallelBuilds = true;
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 description = "The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)";
5454 license = licenses.asl20;
5555 maintainers = [ maintainers.lnl7 maintainers.marsam ];
pkgs/development/libraries/gsasl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, libidn, kerberos }:
1+{ fetchurl, lib, stdenv, libidn, kerberos }:
22
33stdenv.mkDerivation rec {
44 name = "gsasl-1.8.0";
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
2828 '';
2929
3030 homepage = "https://www.gnu.org/software/gsasl/";
31− license = stdenv.lib.licenses.gpl3Plus;
31+ license = lib.licenses.gpl3Plus;
3232
33− maintainers = with stdenv.lib.maintainers; [ shlevy ];
34− platforms = stdenv.lib.platforms.all;
33+ maintainers = with lib.maintainers; [ shlevy ];
34+ platforms = lib.platforms.all;
3535 };
3636}
pkgs/development/libraries/gsettings-desktop-schemas/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, glib
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 version = "3.38.0";
1616
1717 src = fetchurl {
18− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
18+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1919 sha256 = "0rwcg9sd5rv7gjwapcd1jjk6l16w0p3j7wkicq1rdch4c0kch12p";
2020 };
2121
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757 };
5858 };
5959
60− meta = with stdenv.lib; {
60+ meta = with lib; {
6161 description = "Collection of GSettings schemas for settings shared by various components of a desktop";
6262 license = licenses.lgpl21Plus;
6363 maintainers = teams.gnome.members;
pkgs/development/libraries/gsettings-qt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config
1+{ lib, stdenv, fetchFromGitLab, pkg-config
22, qmake, qtbase, qtdeclarative, wrapQtAppsHook
33, glib, gobject-introspection
44, genericUpdater, common-updater-scripts
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
6161 versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
6262 };
6363
64− meta = with stdenv.lib; {
64+ meta = with lib; {
6565 description = "Library to access GSettings from Qt";
6666 homepage = "https://gitlab.com/ubports/core/gsettings-qt";
6767 license = licenses.lgpl3;
pkgs/development/libraries/gsignond/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, glib-networking
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, glib-networking
22, sqlite, gobject-introspection, vala, gtk-doc, libsecret, docbook_xsl
33, docbook_xml_dtd_43, docbook_xml_dtd_45, glibcLocales, makeWrapper
44, symlinkJoin, gsignondPlugins, plugins }:
@@ -50,7 +50,7 @@ unwrapped = stdenv.mkDerivation rec {
5050 ./plugin-load-env.patch
5151 ];
5252
53− meta = with stdenv.lib; {
53+ meta = with lib; {
5454 description = "D-Bus service which performs user authentication on behalf of its clients";
5555 homepage = "https://gitlab.com/accounts-sso/gsignond";
5656 license = licenses.lgpl21Plus;
pkgs/development/libraries/gsignond/plugins/lastfm.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobject-introspection }:
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, json-glib, libsoup, gobject-introspection }:
22
33stdenv.mkDerivation {
44 pname = "gsignond-plugin-lastfm";
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
2828
2929 PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Plugin for the Accounts-SSO gSignOn daemon that handles Last.FM credentials";
3333 homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-lastfm";
3434 license = licenses.lgpl21Plus;
pkgs/development/libraries/gsignond/plugins/mail.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, gobject-introspection }:
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, vala, glib, gsignond, gobject-introspection }:
22
33stdenv.mkDerivation rec {
44 pname = "gsignond-plugin-mail";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Plugin for the Accounts-SSO gSignOn daemon that handles E-Mail credentials";
3131 homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-mail";
3232 license = licenses.lgpl21Plus;
pkgs/development/libraries/gsignond/plugins/oauth.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, gsignond, check
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, gsignond, check
22, json-glib, libsoup, gnutls, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45
33, docbook_xsl, glibcLocales, gobject-introspection }:
44
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
3838
3939 PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "Plugin for the Accounts-SSO gSignOn daemon that handles the OAuth 1.0 and 2.0 authentication protocols";
4343 homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-oa";
4444 license = licenses.lgpl21Plus;
pkgs/development/libraries/gsignond/plugins/sasl.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, gsignond, gsasl, check
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja, glib, gsignond, gsasl, check
22, gtk-doc, docbook_xml_dtd_43, docbook_xml_dtd_45, docbook_xsl, glibcLocales, gobject-introspection }:
33
44stdenv.mkDerivation {
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
3535
3636 PKG_CONFIG_GSIGNOND_GPLUGINSDIR = "${placeholder "out"}/lib/gsignond/gplugins";
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "Plugin for the Accounts-SSO gSignOn daemon that handles the SASL authentication protocol";
4040 homepage = "https://gitlab.com/accounts-sso/gsignond-plugin-sasl";
4141 license = licenses.lgpl21Plus;
pkgs/development/libraries/gsl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv }:
1+{ fetchurl, lib, stdenv }:
22
33stdenv.mkDerivation rec {
44 name = "gsl-2.6";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 };
1010
1111 # do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html)
12− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isx86_64 "-mno-fma";
12+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isx86_64 "-mno-fma";
1313
1414 # https://lists.gnu.org/archive/html/bug-gsl/2015-11/msg00012.html
1515 doCheck = stdenv.hostPlatform.system != "i686-linux" && stdenv.hostPlatform.system != "aarch64-linux";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 description = "The GNU Scientific Library, a large numerical library";
1919 homepage = "https://www.gnu.org/software/gsl/";
20− license = stdenv.lib.licenses.gpl3Plus;
20+ license = lib.licenses.gpl3Plus;
2121
2222 longDescription = ''
2323 The GNU Scientific Library (GSL) is a numerical library for C
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
2929 fitting. There are over 1000 functions in total with an
3030 extensive test suite.
3131 '';
32− platforms = stdenv.lib.platforms.unix;
32+ platforms = lib.platforms.unix;
3333 };
3434}
pkgs/development/libraries/gsl/gsl-1_16.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, fetchpatch, stdenv }:
1+{ fetchurl, fetchpatch, lib, stdenv }:
22
33stdenv.mkDerivation rec {
44 name = "gsl-1.16";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 };
1010
1111 # do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html)
12− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isx86_64 "-mno-fma";
12+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isx86_64 "-mno-fma";
1313
1414 patches = [
1515 (fetchpatch {
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "The GNU Scientific Library, a large numerical library";
2626 homepage = "https://www.gnu.org/software/gsl/";
27− license = stdenv.lib.licenses.gpl3Plus;
27+ license = lib.licenses.gpl3Plus;
2828
2929 longDescription = ''
3030 The GNU Scientific Library (GSL) is a numerical library for C
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 fitting. There are over 1000 functions in total with an
3737 extensive test suite.
3838 '';
39− platforms = stdenv.lib.platforms.unix;
39+ platforms = lib.platforms.unix;
4040 # Failing "eigen" tests on aarch64.
4141 badPlatforms = [ "aarch64-linux" ];
4242 };
pkgs/development/libraries/gsm/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, # Compile statically (support for packages that look for the static object)
33 staticSupport ? stdenv.hostPlatform.isStatic
44}:
55
66let
77 inherit (stdenv) isDarwin;
8− inherit (stdenv.lib) optional optionalString;
8+ inherit (lib) optional optionalString;
99in
1010
1111stdenv.mkDerivation rec {
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444
4545 parallelBuild = false;
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "Lossy speech compression codec";
4949 homepage = "http://www.quut.com/gsm/";
5050 license = licenses.bsd2;
pkgs/development/libraries/gsmlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22stdenv.mkDerivation rec {
33 pname = "gsmlib";
44 version = "unstable-2017-10-06";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "16v8aj914ac1ipf14a867ljib3gy7fhzd9ypxnsg9l0zi8mm3ml5";
1010 };
1111 nativeBuildInputs = [ autoreconfHook ];
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Library to access GSM mobile phones through GSM modems";
1414 homepage = "https://github.com/x-logLT/gsmlib";
1515 license = licenses.lgpl2;
pkgs/development/libraries/gsoap/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, unzip, m4, bison, flex, openssl, zlib }:
1+{ lib, stdenv, fetchurl, autoreconfHook, unzip, m4, bison, flex, openssl, zlib }:
22
33let
44 majorVersion = "2.8";
@@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
2424 --replace 'AM_INIT_AUTOMAKE([foreign])' 'AM_INIT_AUTOMAKE([foreign subdir-objects])'
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "C/C++ toolkit for SOAP web services and XML-based applications";
2929 homepage = "http://www.cs.fsu.edu/~engelen/soap.html";
3030 # gsoap is dual/triple licensed (see homepage for details):
pkgs/development/libraries/gsound/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, glib, vala, libcanberra, gobject-introspection, libtool, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, vala, libcanberra, gobject-introspection, libtool, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gsound";
55 version = "1.0.2";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53";
1010 };
1111
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 };
1919 };
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://wiki.gnome.org/Projects/GSound";
2323 description = "Small library for playing system sounds";
2424 maintainers = teams.gnome.members;
pkgs/development/libraries/gspell/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, libxml2
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 outputBin = "dev";
2020
2121 src = fetchurl {
22− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
22+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2323 sha256 = "1pdb4gbjrs8mk6r0ipw5vxyvzav1wvkjq46kiq53r3nyznfpdfyw";
2424 };
2525
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 };
4949 };
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 description = "A spell-checking library for GTK applications";
5353 homepage = "https://wiki.gnome.org/Projects/gspell";
5454 license = licenses.lgpl21Plus;
pkgs/development/libraries/gss/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, withShishi ? !stdenv.isDarwin, shishi ? null
33}:
44
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 sha256 = "1syyvh3k659xf1hdv9pilnnhbbhs6vfapayp4xgdcc8mfgf9v4gz";
1313 };
1414
15− buildInputs = stdenv.lib.optional withShishi shishi;
15+ buildInputs = lib.optional withShishi shishi;
1616
1717 configureFlags = [
1818 "--${if withShishi != null then "enable" else "disable"}-kereberos5"
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
2121 doCheck = true;
2222
2323 # Fixup .la files
24− postInstall = stdenv.lib.optionalString withShishi ''
24+ postInstall = lib.optionalString withShishi ''
2525 sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://www.gnu.org/software/gss/";
3030 description = "Generic Security Service";
3131 license = licenses.gpl3Plus;
pkgs/development/libraries/gssdp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 outputs = [ "out" "bin" "dev" "devdoc" ];
2222
2323 src = fetchurl {
24− url = "mirror://gnome/sources/gssdp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24+ url = "mirror://gnome/sources/gssdp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2525 sha256 = "1s57i8a8wnnxnsfl27cq4503dkdlzbrhry5zpg23sfqfffvdqqx2";
2626 };
2727
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757 };
5858 };
5959
60− meta = with stdenv.lib; {
60+ meta = with lib; {
6161 description = "GObject-based API for handling resource discovery and announcement over SSDP";
6262 homepage = "http://www.gupnp.org/";
6363 license = licenses.lgpl2Plus;
pkgs/development/libraries/gstreamer/bad/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, meson
@@ -86,7 +86,7 @@
8686assert faacSupport -> faac != null;
8787
8888let
89− inherit (stdenv.lib) optional optionals;
89+ inherit (lib) optional optionals;
9090in stdenv.mkDerivation rec {
9191 pname = "gst-plugins-bad";
9292 version = "1.18.2";
@@ -293,7 +293,7 @@ in stdenv.mkDerivation rec {
293293
294294 doCheck = false; # fails 20 out of 58 tests, expensive
295295
296− meta = with stdenv.lib; {
296+ meta = with lib; {
297297 description = "GStreamer Bad Plugins";
298298 homepage = "https://gstreamer.freedesktop.org";
299299 longDescription = ''
pkgs/development/libraries/gstreamer/devtools/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
5454 ];
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 description = "Integration testing infrastructure for the GStreamer framework";
5858 homepage = "https://gstreamer.freedesktop.org";
5959 license = licenses.lgpl2Plus;
pkgs/development/libraries/gstreamer/ges/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
6666 scripts/extract-release-date-from-doap-file.py
6767 '';
6868
69− meta = with stdenv.lib; {
69+ meta = with lib; {
7070 description = "Library for creation of audio/video non-linear editors";
7171 homepage = "https://gstreamer.freedesktop.org";
7272 license = licenses.lgpl2Plus;
pkgs/development/libraries/gstreamer/good/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, nasm
@@ -47,7 +47,7 @@ assert gtkSupport -> gtk3 != null;
4747assert raspiCameraSupport -> ((libraspberrypi != null) && stdenv.isLinux && stdenv.isAarch64);
4848
4949let
50− inherit (stdenv.lib) optionals;
50+ inherit (lib) optionals;
5151in
5252stdenv.mkDerivation rec {
5353 pname = "gst-plugins-good";
@@ -150,7 +150,7 @@ stdenv.mkDerivation rec {
150150 # fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"
151151 doCheck = false;
152152
153− meta = with stdenv.lib; {
153+ meta = with lib; {
154154 description = "GStreamer Good Plugins";
155155 homepage = "https://gstreamer.freedesktop.org";
156156 longDescription = ''
pkgs/development/libraries/gstreamer/gstreamermm/default.nix+3−3
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, pkg-config, file, glibmm, gst_all_1, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, file, glibmm, gst_all_1, gnome3 }:
22stdenv.mkDerivation rec {
33 pname = "gstreamermm";
44 version = "1.10.0";
55
66 src = fetchurl {
7− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
7+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
88 sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
99 };
1010
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 };
2424 };
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "C++ interface for GStreamer";
2828 homepage = "https://gstreamer.freedesktop.org/bindings/cplusplus.html";
2929 license = licenses.lgpl21Plus;
pkgs/development/libraries/gstreamer/rtsp-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
6161 scripts/extract-release-date-from-doap-file.py
6262 '';
6363
64− meta = with stdenv.lib; {
64+ meta = with lib; {
6565 description = "GStreamer RTSP server";
6666 homepage = "https://gstreamer.freedesktop.org";
6767 longDescription = ''
pkgs/development/libraries/gstreamer/vaapi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
7575 scripts/extract-release-date-from-doap-file.py
7676 '';
7777
78− meta = with stdenv.lib; {
78+ meta = with lib; {
7979 description = "Set of VAAPI GStreamer Plug-ins";
8080 homepage = "https://gstreamer.freedesktop.org";
8181 license = licenses.lgpl21Plus;
pkgs/development/libraries/gtdialog/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkg-config}:
1+{lib, stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkg-config}:
22let
33 s = # Generated upstream information
44 rec {
@@ -24,9 +24,9 @@ stdenv.mkDerivation {
2424 meta = {
2525 inherit (s) version;
2626 description = ''Cross-platform helper for creating interactive dialogs'';
27− license = stdenv.lib.licenses.mit ;
28− maintainers = [stdenv.lib.maintainers.raskin];
29− platforms = stdenv.lib.platforms.linux;
27+ license = lib.licenses.mit ;
28+ maintainers = [lib.maintainers.raskin];
29+ platforms = lib.platforms.linux;
3030 homepage = "http://foicica.com/gtdialog";
3131 downloadPage = "http://foicica.com/gtdialog/download";
3232 };
pkgs/development/libraries/gtest/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, ninja, fetchFromGitHub, fetchpatch }:
1+{ lib, stdenv, cmake, ninja, fetchFromGitHub, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "gtest";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Google's framework for writing C++ tests";
3131 homepage = "https://github.com/google/googletest";
3232 license = licenses.bsd3;
pkgs/development/libraries/gthree/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, ninja
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
6363 "-Dexamples=false"
6464 ];
6565
66− meta = with stdenv.lib; {
66+ meta = with lib; {
6767 description = "GObject/GTK port of three.js";
6868 homepage = "https://github.com/alexlarsson/gthree";
6969 license = licenses.mit;
pkgs/development/libraries/gtk-engine-bluecurve/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, intltool, gtk2 }:
1+{ lib, stdenv, fetchurl, pkg-config, intltool, gtk2 }:
22
33stdenv.mkDerivation {
44 name = "gtk-engine-bluecurve-1.0";
@@ -14,8 +14,8 @@ stdenv.mkDerivation {
1414
1515 meta = {
1616 description = "Original Bluecurve engine from Red Hat's artwork package";
17− license = stdenv.lib.licenses.gpl2;
18− platforms = stdenv.lib.platforms.linux;
19− maintainers = [ stdenv.lib.maintainers.gnidorah ];
17+ license = lib.licenses.gpl2;
18+ platforms = lib.platforms.linux;
19+ maintainers = [ lib.maintainers.gnidorah ];
2020 };
2121}
pkgs/development/libraries/gtk-engine-murrine/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, intltool, gtk2 }:
1+{ lib, stdenv, fetchurl, pkg-config, intltool, gtk2 }:
22
33stdenv.mkDerivation rec {
44 pname = "gtk-engine-murrine";
55 version = "0.98.2";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9";
1010 };
1111
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "A very flexible theme engine";
1717 homepage = "https://gitlab.gnome.org/Archive/murrine";
18− license = stdenv.lib.licenses.lgpl3;
19− platforms = stdenv.lib.platforms.linux;
18+ license = lib.licenses.lgpl3;
19+ platforms = lib.platforms.linux;
2020 };
2121}
pkgs/development/libraries/gtk-engines/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, intltool, gtk2 }:
1+{ lib, stdenv, fetchurl, pkg-config, intltool, gtk2 }:
22
33stdenv.mkDerivation {
44 name = "gtk-engines-2.20.2";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 meta = {
1515 description = "Theme engines for GTK 2";
16− license = stdenv.lib.licenses.lgpl21Plus;
17− platforms = stdenv.lib.platforms.linux;
16+ license = lib.licenses.lgpl21Plus;
17+ platforms = lib.platforms.linux;
1818 };
1919}
pkgs/development/libraries/gtk-layer-shell/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, meson
44, ninja
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 "-Ddocs=true"
4444 ];
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A library to create panels and other desktop components for Wayland using the Layer Shell protocol";
4848 license = licenses.lgpl3Plus;
4949 maintainers = with maintainers; [ eonpatapon ];
pkgs/development/libraries/gtk-mac-integration/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, autoreconfHook, pkg-config, glib, gtk-doc, gtk, gobject-introspection }:
1+{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, glib, gtk-doc, gtk, gobject-introspection }:
22
33stdenv.mkDerivation rec {
44 pname = "gtk-mac-integration";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 gtkdocize
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Provides integration for GTK applications into the Mac desktop";
2525 license = licenses.lgpl21;
2626 homepage = "https://wiki.gnome.org/Projects/GTK/OSX/Integration";
pkgs/development/libraries/gtk-sharp-beans/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, which, pkg-config, mono, gtk-sharp-2_0, gio-sharp }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, pkg-config, mono, gtk-sharp-2_0, gio-sharp }:
22
33stdenv.mkDerivation rec {
44 pname = "gtk-sharp-beans";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 dontStrip = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Binds some API from GTK that isn't in GTK# 2.12.x";
2222 platforms = platforms.linux;
2323 license = licenses.lgpl21;
pkgs/development/libraries/gtk-sharp/2.0.nix+1−1
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
6262 gtk = gtk2;
6363 };
6464
65− meta = with stdenv.lib; {
65+ meta = with lib; {
6666 description = "Graphical User Interface Toolkit for mono and .Net";
6767 homepage = "https://www.mono-project.com/docs/gui/gtksharp";
6868 platforms = platforms.linux;
pkgs/development/libraries/gtk-sharp/3.0.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, pkg-config
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 builder = ./builder.sh;
2626 src = fetchurl {
27− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
27+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2828 sha256 = "18n3l9zcldyvn4lwi8izd62307mkhz873039nl6awrv285qzah34";
2929 };
3030
@@ -53,6 +53,6 @@ stdenv.mkDerivation rec {
5353 };
5454
5555 meta = {
56− platforms = stdenv.lib.platforms.linux;
56+ platforms = lib.platforms.linux;
5757 };
5858}
pkgs/development/libraries/gtk/2.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ config, stdenv, fetchurl, pkg-config, gettext, glib, atk, pango, cairo, perl, xorg
1+{ config, lib, stdenv, fetchurl, pkg-config, gettext, glib, atk, pango, cairo, perl, xorg
22, gdk-pixbuf, xlibsWrapper, gobject-introspection
33, xineramaSupport ? stdenv.isLinux
44, cupsSupport ? config.gtk2.cups or stdenv.isLinux, cups ? null
@@ -10,7 +10,7 @@
1010assert xineramaSupport -> xorg.libXinerama != null;
1111assert cupsSupport -> cups != null;
1212
13−with stdenv.lib;
13+with lib;
1414
1515stdenv.mkDerivation rec {
1616 pname = "gtk+";
pkgs/development/libraries/gtk/3.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, pkg-config
@@ -48,7 +48,7 @@
4848
4949assert cupsSupport -> cups != null;
5050
51−with stdenv.lib;
51+with lib;
5252
5353stdenv.mkDerivation rec {
5454 pname = "gtk+3";
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
6363 ];
6464
6565 src = fetchurl {
66− url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
66+ url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
6767 sha256 = "12ipk1d376bai9v820qzhxba93kkh5abi6mhyqr4hwjvqmkl77fc";
6868 };
6969
pkgs/development/libraries/gtkd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, fetchpatch, atk, cairo, dmd, gdk-pixbuf, gnome3, gst_all_1, librsvg
1+{ lib, stdenv, fetchzip, fetchpatch, atk, cairo, dmd, gdk-pixbuf, gnome3, gst_all_1, librsvg
22, glib, gtk3, gtksourceview4, libgda, libpeas, pango, pkg-config, which, vte }:
33
44let
@@ -129,7 +129,7 @@ in stdenv.mkDerivation rec {
129129 done
130130 '';
131131
132− meta = with stdenv.lib; {
132+ meta = with lib; {
133133 description = "D binding and OO wrapper for GTK";
134134 homepage = "https://gtkd.org";
135135 license = licenses.lgpl3Plus;
pkgs/development/libraries/gtkdatabox/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gtk2 }:
1+{ lib, stdenv, fetchurl, pkg-config, gtk2 }:
22
33stdenv.mkDerivation rec {
44 name = "gtkdatabox-0.9.3.1";
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "GTK widget for displaying large amounts of numerical data";
1717
18− license = stdenv.lib.licenses.lgpl2;
18+ license = lib.licenses.lgpl2;
1919
20− platforms = stdenv.lib.platforms.linux;
20+ platforms = lib.platforms.linux;
2121 };
2222}
pkgs/development/libraries/gtkimageview/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, gtk2 }:
1+{ fetchurl, lib, stdenv, pkg-config, gtk2 }:
22
33stdenv.mkDerivation rec {
44 name = "gtkimageview-1.6.4";
@@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
3131 interpolation; GIF animation support.
3232 '';
3333
34− license = stdenv.lib.licenses.lgpl2Plus;
34+ license = lib.licenses.lgpl2Plus;
3535
3636 maintainers = [ ];
37− platforms = stdenv.lib.platforms.linux;
37+ platforms = lib.platforms.linux;
3838 };
3939}
pkgs/development/libraries/gtkmathview/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, gtk2, t1lib, glib, libxml2, popt, gmetadom ? null }:
1+{lib, stdenv, fetchurl, pkg-config, gtk2, t1lib, glib, libxml2, popt, gmetadom ? null }:
22
33let
44 pname = "gtkmathview";
@@ -22,8 +22,8 @@ stdenv.mkDerivation {
2222 meta = {
2323 homepage = "http://helm.cs.unibo.it/mml-widget/";
2424 description = "C++ rendering engine for MathML documents";
25− license = stdenv.lib.licenses.lgpl3Plus;
26− maintainers = [ stdenv.lib.maintainers.roconnor ];
25+ license = lib.licenses.lgpl3Plus;
26+ maintainers = [ lib.maintainers.roconnor ];
2727 broken = true;
2828 };
2929}
pkgs/development/libraries/gtkmm/2.x.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gtk2, glibmm, cairomm, pangomm, atkmm }:
1+{ lib, stdenv, fetchurl, pkg-config, gtk2, glibmm, cairomm, pangomm, atkmm }:
22
33stdenv.mkDerivation rec {
44 name = "gtkmm-${minVer}.5";
@@ -34,9 +34,9 @@ stdenv.mkDerivation rec {
3434
3535 homepage = "https://gtkmm.org/";
3636
37− license = stdenv.lib.licenses.lgpl2Plus;
37+ license = lib.licenses.lgpl2Plus;
3838
39− maintainers = with stdenv.lib.maintainers; [ raskin vcunat ];
40− platforms = stdenv.lib.platforms.unix;
39+ maintainers = with lib.maintainers; [ raskin vcunat ];
40+ platforms = lib.platforms.unix;
4141 };
4242}
pkgs/development/libraries/gtkmm/3.x.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gtk3, glibmm, cairomm, pangomm, atkmm, epoxy, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, gtk3, glibmm, cairomm, pangomm, atkmm, epoxy, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gtkmm";
55 version = "3.24.2";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "1hxdnhavjyvbcpxhd5z17l9fj4182028s66lc0s16qqqrldhjwbd";
1010 };
1111
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 };
2929 };
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "C++ interface to the GTK graphical user interface library";
3333
3434 longDescription = ''
pkgs/development/libraries/gtksourceview/3.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
1+{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala
22, libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb_run, shared-mime-info }:
33
44stdenv.mkDerivation rec {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 version = "3.24.11";
77
88 src = fetchurl {
9− url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ url = "mirror://gnome/sources/gtksourceview/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9";
1111 };
1212
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 make check
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
4747 platforms = with platforms; linux ++ darwin;
4848 license = licenses.lgpl21;
pkgs/development/libraries/gtksourceview/4.x.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, fribidi, vala
1+{ lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, fribidi, vala
22, libxml2, perl, gettext, gnome3, gobject-introspection, dbus, xvfb_run, shared-mime-info
33, meson, ninja }:
44
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 version = "4.8.0";
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "06jfbfbi73j9i3qsr7sxg3yl3643bn3aydbzx6xg3v8ca0hr3880";
1212 };
1313
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545 };
4646 };
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 homepage = "https://wiki.gnome.org/Projects/GtkSourceView";
5050 platforms = with platforms; linux ++ darwin;
5151 license = licenses.lgpl21;
pkgs/development/libraries/gtksourceviewmm/4.x.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview4, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview4, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gtksourceviewmm";
55 version = "3.91.1";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "088p2ch1b4fvzl9416nw3waj0pqgp31cd5zj4lx5hzzrq2afgapy";
1010 };
1111
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkg-config ];
2020 propagatedBuildInputs = [ glibmm gtkmm3 gtksourceview4 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 platforms = platforms.linux;
2424 homepage = "https://developer.gnome.org/gtksourceviewmm/";
2525 description = "C++ wrapper for gtksourceview";
pkgs/development/libraries/gtksourceviewmm/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview3, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview3, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "gtksourceviewmm";
55 version = "3.21.3";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/gtksourceviewmm/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/gtksourceviewmm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
1010 };
1111
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [ glibmm gtkmm3 gtksourceview3 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 platforms = platforms.linux;
2424 homepage = "https://developer.gnome.org/gtksourceviewmm/";
2525 description = "C++ wrapper for gtksourceview";
pkgs/development/libraries/gtkspell/3.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, gtk3, aspell, pkg-config, enchant, isocodes, intltool, gobject-introspection, vala}:
1+{lib, stdenv, fetchurl, gtk3, aspell, pkg-config, enchant, isocodes, intltool, gobject-introspection, vala}:
22
33stdenv.mkDerivation rec {
44 pname = "gtkspell";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 "--enable-vala"
2121 ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://gtkspell.sourceforge.net/";
2525 description = "Word-processor-style highlighting GtkTextView widget";
2626 license = licenses.gpl2Plus;
pkgs/development/libraries/gtkspell/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, gtk2, aspell, pkg-config, enchant, intltool}:
1+{lib, stdenv, fetchurl, gtk2, aspell, pkg-config, enchant, intltool}:
22
33stdenv.mkDerivation {
44 name = "gtkspell-2.0.16";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [aspell gtk2 enchant intltool];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Word-processor-style highlighting and replacement of misspelled words";
1616 homepage = "http://gtkspell.sourceforge.net";
1717 platforms = platforms.unix;
pkgs/development/libraries/gtkspellmm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, pkg-config
33, gtk3, glib, glibmm, gtkmm3, gtkspell3
44}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 gtk3 glib glibmm gtkmm3
2323 ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "C++ binding for the gtkspell library";
2727 homepage = "http://gtkspell.sourceforge.net/";
2828 license = licenses.gpl2;
pkgs/development/libraries/gts/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, autoreconfHook, gettext, glib, buildPackages }:
1+{ fetchurl, lib, stdenv, pkg-config, autoreconfHook, gettext, glib, buildPackages }:
22
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 doCheck = false; # fails with "permission denied"
2424
25− preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
25+ preBuild = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
2626 pushd src
2727 make CC=${buildPackages.stdenv.cc}/bin/cc predicates_init
2828 mv predicates_init predicates_init_build
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 meta = {
3636 homepage = "http://gts.sourceforge.net/";
37− license = stdenv.lib.licenses.lgpl2Plus;
37+ license = lib.licenses.lgpl2Plus;
3838 description = "GNU Triangulated Surface Library";
3939
4040 longDescription = ''
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 3D surfaces meshed with interconnected triangles.
4343 '';
4444
45− maintainers = [ stdenv.lib.maintainers.viric ];
46− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
45+ maintainers = [ lib.maintainers.viric ];
46+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
4747 };
4848}
pkgs/development/libraries/gumbo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "gumbo";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 preConfigure = "./autogen.sh";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "C99 HTML parsing algorithm";
2020 homepage = "https://github.com/google/gumbo-parser";
2121 maintainers = [ maintainers.nico202 ];
pkgs/development/libraries/gupnp-av/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, gobject-introspection
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 outputs = [ "out" "dev" "devdoc" ];
1919
2020 src = fetchurl {
21− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
21+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2222 sha256 = "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8";
2323 };
2424
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 };
4949 };
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 homepage = "http://gupnp.org/";
5353 description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
5454 license = licenses.lgpl2Plus;
pkgs/development/libraries/gupnp-dlna/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, gobject-introspection
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 outputs = [ "out" "dev" "devdoc" ];
1919
2020 src = fetchurl {
21− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
21+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2222 sha256 = "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj";
2323 };
2424
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 };
5454 };
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 homepage = "https://wiki.gnome.org/Projects/GUPnP/";
5858 description = "Library to ease DLNA-related bits for applications using GUPnP";
5959 license = licenses.lgpl2Plus;
pkgs/development/libraries/gupnp-igd/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, autoreconfHook
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 outputs = [ "out" "dev" "devdoc" ];
2121
2222 src = fetchurl {
23− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
23+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2424 sha256 = "081v1vhkbz3wayv49xfiskvrmvnpx93k25am2wnarg5cifiiljlb";
2525 };
2626
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
5959 };
6060 };
6161
62− meta = with stdenv.lib; {
62+ meta = with lib; {
6363 description = "Library to handle UPnP IGD port mapping";
6464 homepage = "http://www.gupnp.org/";
6565 license = licenses.lgpl21;
pkgs/development/libraries/gupnp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, meson
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 outputs = [ "out" "dev" "devdoc" ];
2626
2727 src = fetchurl {
28− url = "mirror://gnome/sources/gupnp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28+ url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2929 sha256 = "0911lv1bivsyv9wwdxm0i1w4r89j0vyyqp200gsfdnzk6v1a4x7x";
3030 };
3131
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
8585 };
8686 };
8787
88− meta = with stdenv.lib; {
88+ meta = with lib; {
8989 homepage = "http://www.gupnp.org/";
9090 description = "An implementation of the UPnP specification";
9191 license = licenses.lgpl2Plus;
pkgs/development/libraries/gusb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, gettext, gobject-introspection
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, gobject-introspection
22, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_44, python3
33, glib, systemd, libusb1, vala, hwdata
44}:
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
3535 doCheck = false; # tests try to access USB
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "GLib libusb wrapper";
3939 homepage = "https://github.com/hughsie/libgusb";
4040 license = licenses.lgpl21;
pkgs/development/libraries/gvfs/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 version = "1.46.1";
4545
4646 src = fetchurl {
47− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
47+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
4848 sha256 = "00r56kp8dhdn1ypyap66klymlwlh646n4f1ri797w2x6p70sc7k2";
4949 };
5050
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
9090 openssh
9191 gsettings-desktop-schemas
9292 # TODO: a ligther version of libsoup to have FTP/HTTP support?
93− ] ++ stdenv.lib.optionals gnomeSupport [
93+ ] ++ lib.optionals gnomeSupport [
9494 gnome3.libsoup
9595 gcr
9696 glib-networking # TLS support
@@ -102,13 +102,13 @@ stdenv.mkDerivation rec {
102102 mesonFlags = [
103103 "-Dsystemduserunitdir=${placeholder "out"}/lib/systemd/user"
104104 "-Dtmpfilesdir=no"
105− ] ++ stdenv.lib.optionals (!gnomeSupport) [
105+ ] ++ lib.optionals (!gnomeSupport) [
106106 "-Dgcr=false"
107107 "-Dgoa=false"
108108 "-Dkeyring=false"
109109 "-Dhttp=false"
110110 "-Dgoogle=false"
111− ] ++ stdenv.lib.optionals (samba == null) [
111+ ] ++ lib.optionals (samba == null) [
112112 # Xfce don't want samba
113113 "-Dsmb=false"
114114 ];
@@ -122,7 +122,7 @@ stdenv.mkDerivation rec {
122122 };
123123 };
124124
125− meta = with stdenv.lib; {
125+ meta = with lib; {
126126 description = "Virtual Filesystem support library" + optionalString gnomeSupport " (full GNOME support)";
127127 license = licenses.lgpl2Plus;
128128 platforms = platforms.linux;
pkgs/development/libraries/half/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip }:
1+{ lib, stdenv, fetchzip }:
22
33stdenv.mkDerivation rec {
44 version = "2.1.0";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 cp $src/{ChangeLog,LICENSE,README}.txt $out/share/doc/
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "C++ library for half precision floating point arithmetics";
2121 platforms = platforms.all;
2222 license = licenses.mit;
pkgs/development/libraries/hamlib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
1+{lib, stdenv, fetchurl, perl, python2, swig, gd, libxml2, tcl, libusb-compat-0_1, pkg-config,
22 boost, libtool, perlPackages }:
33
44stdenv.mkDerivation rec {
@@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
2626 which lets one control a radio transceiver or receiver, either from
2727 command line interface or in a text-oriented interactive interface.
2828 '';
29− license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ];
29+ license = with lib.licenses; [ gpl2Plus lgpl2Plus ];
3030 homepage = "http://hamlib.sourceforge.net";
31− maintainers = with stdenv.lib.maintainers; [ relrod ];
32− platforms = with stdenv.lib.platforms; unix;
31+ maintainers = with lib.maintainers; [ relrod ];
32+ platforms = with lib.platforms; unix;
3333 };
3434}
pkgs/development/libraries/harfbuzz/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, glib, freetype, cairo, libintl
1+{ lib, stdenv, fetchFromGitHub, pkg-config, glib, freetype, cairo, libintl
22, meson, ninja
33, gobject-introspection
44, icu, graphite2, harfbuzz # The icu variant uses and propagates the non-icu one.
@@ -12,7 +12,7 @@
1212
1313let
1414 version = "2.7.2";
15− inherit (stdenv.lib) optional optionals optionalString;
15+ inherit (lib) optional optionals optionalString;
1616 mesonFeatureFlag = opt: b:
1717 "-D${opt}=${if b then "enabled" else "disabled"}";
1818in
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
3030 postPatch = ''
3131 patchShebangs src/*.py
3232 patchShebangs test
33− '' + stdenv.lib.optionalString stdenv.isDarwin ''
33+ '' + lib.optionalString stdenv.isDarwin ''
3434 # ApplicationServices.framework headers have cast-align warnings.
3535 substituteInPlace src/hb.hh \
3636 --replace '#pragma GCC diagnostic error "-Wcast-align"' ""
@@ -58,7 +58,7 @@ stdenv.mkDerivation {
5858 ];
5959
6060 buildInputs = [ glib freetype cairo ] # recommended by upstream
61− ++ stdenv.lib.optionals withCoreText [ ApplicationServices CoreText ];
61+ ++ lib.optionals withCoreText [ ApplicationServices CoreText ];
6262
6363 propagatedBuildInputs = []
6464 ++ optional withGraphite2 graphite2
@@ -77,7 +77,7 @@ stdenv.mkDerivation {
7777 ''}
7878 '';
7979
80− meta = with stdenv.lib; {
80+ meta = with lib; {
8181 description = "An OpenType text shaping engine";
8282 homepage = "https://harfbuzz.github.io/";
8383 maintainers = [ maintainers.eelco ];
pkgs/development/libraries/hawknl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{lib, stdenv, fetchurl, unzip}:
22
33stdenv.mkDerivation {
44 name = "hawknl-1.68";
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
2424 meta = {
2525 homepage = "http://hawksoft.com/hawknl/";
2626 description = "Free, open source, game oriented network API";
27− license = stdenv.lib.licenses.lgpl2Plus;
28− platforms = stdenv.lib.platforms.linux;
27+ license = lib.licenses.lgpl2Plus;
28+ platforms = lib.platforms.linux;
2929 };
3030}
pkgs/development/libraries/hdf5-blosc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, c-blosc, cmake, hdf5, fetchFromGitHub }:
1+{ lib, stdenv, c-blosc, cmake, hdf5, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "hdf5-blosc";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 substituteAll ${./blosc_filter.pc.in} $out/lib/pkgconfig/blosc_filter.pc
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Filter for HDF5 that uses the Blosc compressor";
3535 homepage = "https://github.com/Blosc/hdf5-blosc";
3636 license = licenses.mit;
pkgs/development/libraries/hidapi/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, udev, libusb1
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, udev, libusb1
22, darwin }:
33
44stdenv.mkDerivation rec {
@@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ autoreconfHook pkg-config ];
1616
1717 buildInputs = [ ]
18− ++ stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ];
18+ ++ lib.optionals stdenv.isLinux [ libusb1 udev ];
1919
2020 enableParallelBuilding = true;
2121
22− propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit Cocoa ]);
22+ propagatedBuildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit Cocoa ]);
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Library for communicating with USB and Bluetooth HID devices";
2626 homepage = "https://github.com/libusb/hidapi";
2727 maintainers = with maintainers; [ prusnak ];
pkgs/development/libraries/highfive/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, boost
@@ -36,9 +36,9 @@ stdenv.mkDerivation rec {
3636 "-DHIGHFIVE_UNIT_TESTS=OFF"
3737 "-DHIGHFIVE_USE_INSTALL_DEPS=ON"
3838 ]
39− ++ (stdenv.lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
39+ ++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 inherit version;
4343 description = "Header-only C++ HDF5 interface";
4444 license = licenses.boost;
pkgs/development/libraries/hiredis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "hiredis";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 PREFIX = "\${out}";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/redis/hiredis";
1818 description = "Minimalistic C client for Redis >= 1.2";
1919 license = licenses.bsd3;
pkgs/development/libraries/hivex/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, autoreconfHook, makeWrapper
1+{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, makeWrapper
22, perlPackages, libxml2, libiconv }:
33
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 autoreconfHook makeWrapper libxml2
1818 ]
1919 ++ (with perlPackages; [ perl IOStringy ])
20− ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
20+ ++ lib.optionals stdenv.isDarwin [ libiconv ];
2121
2222 postInstall = ''
2323 wrapProgram $out/bin/hivexregedit \
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 --prefix "PATH" : "$out/bin"
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Windows registry hive extraction library";
3333 license = licenses.lgpl2;
3434 homepage = "https://github.com/libguestfs/hivex";
pkgs/development/libraries/hotpatch/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 name = "hotpatch-0.2";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 LD_LIBRARY_PATH=$(pwd)/src make test
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Hot patching executables on Linux using .so file injection";
3131 homepage = src.meta.homepage;
3232 license = licenses.bsd3;
pkgs/development/libraries/howard-hinnant-date/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, curl, tzdata, fetchpatch, substituteAll }:
1+{ lib, stdenv, fetchFromGitHub, cmake, curl, tzdata, fetchpatch, substituteAll }:
22
33stdenv.mkDerivation rec {
44 pname = "howard-hinnant-date-unstable";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 outputs = [ "out" "dev" ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 license = licenses.mit;
4141 description = "A date and time library based on the C++11/14/17 <chrono> header";
4242 homepage = "https://github.com/HowardHinnant/date";
pkgs/development/libraries/hpx/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkg-config, python }:
1+{ lib, stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkg-config, python }:
22
33stdenv.mkDerivation rec {
44 pname = "hpx";
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 description = "C++ standard library for concurrency and parallelism";
1919 homepage = "https://github.com/STEllAR-GROUP/hpx";
20− license = stdenv.lib.licenses.boost;
21− platforms = [ "x86_64-linux" ]; # stdenv.lib.platforms.linux;
22− maintainers = with stdenv.lib.maintainers; [ bobakker ];
20+ license = lib.licenses.boost;
21+ platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
22+ maintainers = with lib.maintainers; [ bobakker ];
2323 };
2424}
pkgs/development/libraries/hspell/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, zlib }:
1+{ lib, stdenv, fetchurl, perl, zlib }:
22
33stdenv.mkDerivation rec {
44 name = "${passthru.pname}-${passthru.version}";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 patchPhase = ''patchShebangs .'';
1919 buildInputs = [ perl zlib ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Hebrew spell checker";
2323 homepage = "http://hspell.ivrix.org.il/";
2424 platforms = platforms.all;
pkgs/development/libraries/htmlcxx/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "htmlcxx";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 patches = [ ./ptrdiff.patch ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://htmlcxx.sourceforge.net/";
1616 description = "A simple non-validating css1 and html parser for C++";
1717 license = licenses.lgpl2;
pkgs/development/libraries/http-parser/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33let
44 version = "2.9.4";
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
2020 doCheck = true;
2121 checkTarget = "test";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "An HTTP message parser written in C";
2525 homepage = "https://github.com/nodejs/http-parser";
2626 maintainers = with maintainers; [ matthewbauer ];
pkgs/development/libraries/hunspell/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, ncurses, readline, autoreconfHook }:
1+{ lib, stdenv, fetchurl, fetchpatch, ncurses, readline, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 version = "1.7.0";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 hardeningDisable = [ "format" ];
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "http://hunspell.sourceforge.net";
3838 description = "Spell checker";
3939 longDescription = ''
@@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
5858 '';
5959 platforms = platforms.all;
6060 license = with licenses; [ gpl2 lgpl21 mpl11 ];
61− maintainers = with stdenv.lib.maintainers; [ ];
61+ maintainers = with lib.maintainers; [ ];
6262 };
6363}
pkgs/development/libraries/hunspell/dictionaries.nix+17−17
@@ -1,6 +1,6 @@
11/* hunspell dictionaries */
22
3−{ stdenv, fetchurl, fetchFromGitHub, unzip, coreutils, bash, which, zip, ispell, perl, hunspell }:
3+{ lib, stdenv, fetchurl, fetchFromGitHub, unzip, coreutils, bash, which, zip, ispell, perl, hunspell }:
44
55
66let
@@ -37,7 +37,7 @@ let
3737 rev = "v${version}";
3838 sha256 = "0n9ms092k7vg7xpd3ksadxydbrizkb7js7dfxr08nbnnb9fgy0i8";
3939 };
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "Hunspell dictionary for ${shortDescription} from rla";
4242 homepage = "https://github.com/sbosio/rla-es";
4343 license = with licenses; [ gpl3 lgpl3 mpl11 ];
@@ -76,7 +76,7 @@ let
7676 url = "https://extensions.libreoffice.org/extensions/swedish-spelling-dictionary-den-stora-svenska-ordlistan/${version}/@@download/file/${_name}.oxt";
7777 sha256 = "b982881cc75f5c4af1199535bd4735ee476bdc48edf63e3f05fb4f715654a7bc";
7878 };
79− meta = with stdenv.lib; {
79+ meta = with lib; {
8080 longDescription = ''
8181 Svensk ordlista baserad på DSSO (den stora svenska ordlistan) och Göran
8282 Anderssons (goran@init.se) arbete med denna. Ordlistan hämtas från
@@ -118,7 +118,7 @@ let
118118 url = "http://www.dicollecte.org/download/fr/hunspell-french-dictionaries-v${version}.zip";
119119 sha256 = "0ca7084jm7zb1ikwzh1frvpb97jn27i7a5d48288h2qlfp068ik0";
120120 };
121− meta = with stdenv.lib; {
121+ meta = with lib; {
122122 inherit longDescription;
123123 description = "Hunspell dictionary for ${shortDescription} from Dicollecte";
124124 homepage = "https://www.dicollecte.org/home.php?prj=fr";
@@ -132,7 +132,7 @@ let
132132 unpackCmd = ''
133133 unzip $src ${dictFileName}.dic ${dictFileName}.aff ${readmeFile}
134134 '';
135− postInstall = stdenv.lib.optionalString isDefault ''
135+ postInstall = lib.optionalString isDefault ''
136136 for ext in aff dic; do
137137 ln -sv $out/share/hunspell/${dictFileName}.$ext $out/share/hunspell/fr_FR.$ext
138138 ln -sv $out/share/myspell/dicts/${dictFileName}.$ext $out/share/myspell/dicts/fr_FR.$ext
@@ -148,7 +148,7 @@ let
148148 name = "hunspell-dict-${shortName}-wordlist-${version}";
149149 srcReadmeFile = "README_" + srcFileName + ".txt";
150150 readmeFile = "README_" + dictFileName + ".txt";
151− meta = with stdenv.lib; {
151+ meta = with lib; {
152152 description = "Hunspell dictionary for ${shortDescription} from Wordlist";
153153 homepage = "http://wordlist.aspell.net/";
154154 license = licenses.bsd3;
@@ -175,7 +175,7 @@ let
175175 version = "2.4";
176176 name = "hunspell-dict-${shortName}-linguistico-${version}";
177177 readmeFile = dictFileName + "_README.txt";
178− meta = with stdenv.lib; {
178+ meta = with lib; {
179179 description = "Hunspell dictionary for ${shortDescription}";
180180 homepage = "https://sourceforge.net/projects/linguistico/";
181181 license = licenses.gpl3;
@@ -217,7 +217,7 @@ let
217217 ln -sv "$out/share/hunspell/${dictFileName}.aff" "$out/share/myspell/dicts/"
218218 '';
219219
220− meta = with stdenv.lib; {
220+ meta = with lib; {
221221 homepage = "http://xuxen.eus/";
222222 description = shortDescription;
223223 longDescription = longDescription;
@@ -254,7 +254,7 @@ let
254254 ln -sv "$out/share/hunspell/${dictFileName}.aff" "$out/share/myspell/dicts/"
255255 '';
256256
257− meta = with stdenv.lib; {
257+ meta = with lib; {
258258 homepage = "https://www.j3e.de/ispell/igerman98/index_en.html";
259259 description = shortDescription;
260260 license = with licenses; [ gpl2 gpl3 ];
@@ -283,7 +283,7 @@ let
283283 buildPhase = ''
284284 cp -a ${sourceRoot}/* .
285285 '';
286− meta = with stdenv.lib; {
286+ meta = with lib; {
287287 homepage = "https://wiki.documentfoundation.org/Development/Dictionaries";
288288 description = "Hunspell dictionary for ${shortDescription} from LibreOffice";
289289 license = license;
@@ -651,7 +651,7 @@ in rec {
651651 shortName = "hu-hu";
652652 dictFileName = "hu_HU";
653653 shortDescription = "Hungarian (Hungary)";
654− license = with stdenv.lib.licenses; [ mpl20 lgpl3 ];
654+ license = with lib.licenses; [ mpl20 lgpl3 ];
655655 };
656656
657657 /* SWEDISH */
@@ -714,7 +714,7 @@ in rec {
714714 unzip $src ${dictFileName}/{${dictFileName}.dic,${dictFileName}.aff,${readmeFile}}
715715 '';
716716
717− meta = with stdenv.lib; {
717+ meta = with lib; {
718718 description = "Hunspell dictionary for Ukrainian (Ukraine) from LibreOffice";
719719 homepage = "https://extensions.libreoffice.org/extensions/ukrainian-spelling-dictionary-and-thesaurus/";
720720 license = licenses.mpl20;
@@ -730,7 +730,7 @@ in rec {
730730 shortName = "ru-ru";
731731 dictFileName = "ru_RU";
732732 shortDescription = "Russian (Russian)";
733− license = with stdenv.lib.licenses; [ mpl20 lgpl3 ];
733+ license = with lib.licenses; [ mpl20 lgpl3 ];
734734 };
735735
736736 /* CZECH */
@@ -741,7 +741,7 @@ in rec {
741741 dictFileName = "cs_CZ";
742742 shortDescription = "Czech (Czechia)";
743743 readmeFile = "README_cs.txt";
744− license = with stdenv.lib.licenses; [ gpl2 ];
744+ license = with lib.licenses; [ gpl2 ];
745745 };
746746
747747 /* SLOVAK */
@@ -752,7 +752,7 @@ in rec {
752752 dictFileName = "sk_SK";
753753 shortDescription = "Slovak (Slovakia)";
754754 readmeFile = "README_sk.txt";
755− license = with stdenv.lib.licenses; [ gpl2 lgpl21 mpl11 ];
755+ license = with lib.licenses; [ gpl2 lgpl21 mpl11 ];
756756 };
757757
758758 /* DANISH */
@@ -776,10 +776,10 @@ in rec {
776776 unzip $src ${dictFileName}.dic ${dictFileName}.aff ${readmeFile} -d ${dictFileName}
777777 '';
778778
779− meta = with stdenv.lib; {
779+ meta = with lib; {
780780 description = "Hunspell dictionary for Danish (Denmark) from Stavekontrolden";
781781 homepage = "https://github.com/jeppebundsgaard/stavekontrolden";
782− license = with stdenv.lib.licenses; [ gpl2Only lgpl21Only mpl11 ];
782+ license = with lib.licenses; [ gpl2Only lgpl21Only mpl11 ];
783783 maintainers = with maintainers; [ louisdk1 ];
784784 };
785785 };
pkgs/development/libraries/hwloc/default.nix+3−3
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, pkg-config, expat, ncurses, pciutils, numactl
1+{ lib, stdenv, fetchurl, pkg-config, expat, ncurses, pciutils, numactl
22, x11Support ? false, libX11 ? null, cairo ? null
33}:
44
55assert x11Support -> libX11 != null && cairo != null;
66
7−with stdenv.lib;
7+with lib;
88
99let
1010 version = "2.4.0";
@@ -29,7 +29,7 @@ in stdenv.mkDerivation {
2929
3030 # Filter out `null' inputs. This allows users to `.override' the
3131 # derivation and set optional dependencies to `null'.
32− buildInputs = stdenv.lib.filter (x: x != null)
32+ buildInputs = lib.filter (x: x != null)
3333 ([ expat ncurses ]
3434 ++ (optionals x11Support [ cairo libX11 ])
3535 ++ (optionals stdenv.isLinux [ numactl ]));
pkgs/development/libraries/hyena/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, mono, gtk-sharp-2_0, monoDLLFixer }:
1+{ lib, stdenv, fetchurl, pkg-config, mono, gtk-sharp-2_0, monoDLLFixer }:
22
33stdenv.mkDerivation rec {
44 pname = "hyena";
55 version = "0.5";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
99 sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
1010 };
1111
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 inherit monoDLLFixer;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://wiki.gnome.org/Attic/Hyena";
3030 description = "A C# library which contains a hodge-podge of random stuff";
3131 longDescription = ''
pkgs/development/libraries/hyperscan/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, ragel, python3
1+{ lib, stdenv, fetchFromGitHub, cmake, ragel, python3
22, coreutils, gnused, util-linux
33, boost
44, withStatic ? false # build only shared libs by default, build static+shared if true
@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
3434 "-DFAT_RUNTIME=ON"
3535 "-DBUILD_AVX512=ON"
3636 ]
37− ++ stdenv.lib.optional (withStatic) "-DBUILD_STATIC_AND_SHARED=ON"
38− ++ stdenv.lib.optional (!withStatic) "-DBUILD_SHARED_LIBS=ON";
37+ ++ lib.optional (withStatic) "-DBUILD_STATIC_AND_SHARED=ON"
38+ ++ lib.optional (!withStatic) "-DBUILD_SHARED_LIBS=ON";
3939
4040 postPatch = ''
4141 sed -i '/examples/d' CMakeLists.txt
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 --replace "includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@" "includedir=@CMAKE_INSTALL_INCLUDEDIR@"
4545 '';
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "High-performance multiple regex matching library";
4949 longDescription = ''
5050 Hyperscan is a high-performance multiple regex matching library.
pkgs/development/libraries/hyphen/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, ... }:
1+{ lib, stdenv, fetchurl, perl, ... }:
22
33let
44 version = "2.8.8";
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
1717 sha256 = "01ap9pr6zzzbp4ky0vy7i1983fwyqy27pl0ld55s30fdxka3ciih";
1818 };
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A text hyphenation library";
2222 homepage = "https://sourceforge.net/projects/hunspell/files/Hyphen/";
2323 platforms = platforms.all;
pkgs/development/libraries/icu/base.nix+6−6
@@ -30,18 +30,18 @@ let
3030
3131 # $(includedir) is different from $(prefix)/include due to multiple outputs
3232 sed -i -e 's|^\(CPPFLAGS = .*\) -I\$(prefix)/include|\1 -I$(includedir)|' config/Makefile.inc.in
33− '' + stdenv.lib.optionalString stdenv.isAarch32 ''
33+ '' + lib.optionalString stdenv.isAarch32 ''
3434 # From https://archlinuxarm.org/packages/armv7h/icu/files/icudata-stdlibs.patch
3535 sed -e 's/LDFLAGSICUDT=-nodefaultlibs -nostdlib/LDFLAGSICUDT=/' -i config/mh-linux
3636 '';
3737
3838 configureFlags = [ "--disable-debug" ]
39− ++ stdenv.lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) "--enable-rpath"
40− ++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--with-cross-build=${nativeBuildRoot}";
39+ ++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) "--enable-rpath"
40+ ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--with-cross-build=${nativeBuildRoot}";
4141
4242 enableParallelBuilding = true;
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 description = "Unicode and globalization support library";
4646 homepage = "http://site.icu-project.org/";
4747 maintainers = with maintainers; [ raskin ];
@@ -57,10 +57,10 @@ let
5757
5858 # FIXME: This fixes dylib references in the dylibs themselves, but
5959 # not in the programs in $out/bin.
60− nativeBuildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
60+ nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
6161
6262 # remove dependency on bootstrap-tools in early stdenv build
63− postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
63+ postInstall = lib.optionalString stdenv.isDarwin ''
6464 sed -i 's/INSTALL_CMD=.*install/INSTALL_CMD=install/' $out/lib/icu/${version}/pkgdata.inc
6565 '' + (let
6666 replacements = [
pkgs/development/libraries/id3lib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib}:
1+{lib, stdenv, fetchurl, zlib}:
22
33stdenv.mkDerivation {
44 name = "id3lib-3.8.3";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717
1818 doCheck = false; # fails to compile
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Library for reading, writing, and manipulating ID3v1 and ID3v2 tags";
2222 homepage = "http://id3lib.sourceforge.net";
2323 platforms = platforms.unix;
pkgs/development/libraries/idnkit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libiconv }:
1+{ lib, stdenv, fetchurl, libiconv }:
22
33stdenv.mkDerivation rec {
44 pname = "idnkit";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ libiconv ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://www.nic.ad.jp/ja/idn/idnkit";
1616 description = "Provides functionalities about i18n domain name processing";
1717 license = "idnkit-2 license";
pkgs/development/libraries/ijs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, ghostscript }:
1+{ lib, stdenv, autoreconfHook, ghostscript }:
22
33stdenv.mkDerivation {
44 name = "ijs-${ghostscript.version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 configureFlags = [ "--enable-shared" ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://www.openprinting.org/download/ijs/";
1818 description = "Raster printer driver architecture";
1919
pkgs/development/libraries/iksemel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, libtool, pkg-config, gnutls, fetchFromGitHub, texinfo }:
1+{ lib, stdenv, autoreconfHook, libtool, pkg-config, gnutls, fetchFromGitHub, texinfo }:
22
33stdenv.mkDerivation rec {
44 pname = "iksemel";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ pkg-config autoreconfHook libtool texinfo ];
1515 buildInputs = [ gnutls ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "XML parser for jabber";
1919
2020 homepage = "https://github.com/timothytylee/iksemel-1.4";
pkgs/development/libraries/ilbc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gawk, cmake }:
1+{ lib, stdenv, fetchurl, gawk, cmake }:
22
33stdenv.mkDerivation rec {
44 name = "ilbc-rfc3951";
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
2020 '';
2121
2222 meta = {
23− platforms = stdenv.lib.platforms.unix;
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/libraries/ilixi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, directfb, libsigcxx, libxml2, fontconfig }:
1+{ lib, stdenv, fetchurl, pkg-config, directfb, libsigcxx, libxml2, fontconfig }:
22
33# TODO: optional deps: baresip, FusionDale, FusionSound, SaWMan, doxygen,
44# Reflex, Wnn, NLS
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 "--with-examples"
2222 ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Lightweight C++ GUI toolkit for embedded Linux systems";
2626 homepage = "https://github.com/ilixi/ilixi";
2727 license = licenses.lgpl3;
pkgs/development/libraries/ilmbase/default.nix+2−2
@@ -7,7 +7,7 @@
77
88stdenv.mkDerivation rec {
99 pname = "ilmbase";
10− version = stdenv.lib.getVersion openexr;
10+ version = lib.getVersion openexr;
1111
1212 # the project no longer provides separate tarballs. We may even want to merge
1313 # the ilmbase package into openexr in the future.
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 cd IlmBase
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = " A library for 2D/3D vectors and matrices and other mathematical objects, functions and data types for computer graphics";
3333 homepage = "https://www.openexr.com/";
3434 license = licenses.bsd3;
pkgs/development/libraries/iml/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, autoreconfHook, fetchurl, gmp, blas}:
1+{lib, stdenv, autoreconfHook, fetchurl, gmp, blas}:
22stdenv.mkDerivation rec {
33 pname = "iml";
44 version = "1.0.5";
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 inherit version;
2323 description = ''Algorithms for computing exact solutions to dense systems of linear equations over the integers'';
24− license = stdenv.lib.licenses.gpl2Plus;
25− maintainers = [stdenv.lib.maintainers.raskin];
26− platforms = stdenv.lib.platforms.unix;
24+ license = lib.licenses.gpl2Plus;
25+ maintainers = [lib.maintainers.raskin];
26+ platforms = lib.platforms.unix;
2727 homepage = "https://cs.uwaterloo.ca/~astorjoh/iml.html";
2828 updateWalker = true;
2929 };
pkgs/development/libraries/imlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, fetchpatch, libX11, libXext, xorgproto, libjpeg, libungif, libtiff, libpng}:
1+{lib, stdenv, fetchurl, fetchpatch, libX11, libXext, xorgproto, libjpeg, libungif, libtiff, libpng}:
22
33stdenv.mkDerivation {
44 name = "imlib-1.9.15";
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
2323
2424 buildInputs = [libjpeg libXext libX11 xorgproto libtiff libungif libpng];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "An image loading and rendering library for X11";
2828 platforms = platforms.unix;
2929 license = with licenses; [ gpl2 lgpl2 ];
pkgs/development/libraries/imlib2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22# Image file formats
33, libjpeg, libtiff, giflib, libpng, libwebp
44# imlib2 can load images from ID3 tags.
@@ -8,7 +8,7 @@
88}:
99
1010let
11− inherit (stdenv.lib) optional;
11+ inherit (lib) optional;
1212in
1313stdenv.mkDerivation rec {
1414 pname = "imlib2";
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 moveToOutput bin/imlib2-config "$dev"
4545 '';
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "Image manipulation library";
4949
5050 longDescription = ''
pkgs/development/libraries/impy/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 SDL2
3434 ];
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 description = "A simple library for loading/saving images and animations, written in C";
3838 homepage = "https://github.com/bcampbell/impy";
3939 license = licenses.gpl3;
pkgs/development/libraries/inchi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ pkgs, fetchurl, stdenv, unzip }:
1+{ pkgs, fetchurl, lib, stdenv, unzip }:
22stdenv.mkDerivation {
33 pname = "inchi";
44 version = "1.05";
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
4141 install -m 644 INCHI-1-DOC/*.pdf $doc/share
4242 '';
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 homepage = "https://www.inchi-trust.org/";
4646 description = "IUPAC International Chemical Identifier library";
4747 license = licenses.lgpl2Plus;
pkgs/development/libraries/incrtcl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, writeText, tcl }:
1+{ lib, stdenv, fetchurl, writeText, tcl }:
22
33stdenv.mkDerivation rec {
44 pname = "incrtcl";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 rmdir $out/bin
2626 mv $out/lib/itcl${version}/* $out/lib
2727 ln -s libitcl${version}${stdenv.hostPlatform.extensions.sharedLibrary} \
28− $out/lib/libitcl${stdenv.lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
28+ $out/lib/libitcl${lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
2929 rmdir $out/lib/itcl${version}
3030 '';
3131
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535
3636 outputs = [ "out" "dev" "man" ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "http://incrtcl.sourceforge.net/";
4040 description = "Object Oriented Enhancements for Tcl/Tk";
4141 license = licenses.tcltk;
pkgs/development/libraries/indicator-application/gtk3.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchbzr
1+{ lib, stdenv, fetchbzr
22, pkg-config, systemd, autoreconfHook
33, glib, dbus-glib, json-glib
44, gtk3, libindicator-gtk3, libdbusmenu-gtk3, libappindicator-gtk3 }:
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
4747 rm -rf $out/share/upstart
4848 '';
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 description = "Indicator to take menus from applications and place them in the panel";
5252 homepage = "https://launchpad.net/indicator-application";
5353 license = licenses.gpl3;
pkgs/development/libraries/indilib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, cfitsio
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 fftw
4444 ];
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 homepage = "https://www.indilib.org/";
4848 description = "Implementation of the INDI protocol for POSIX operating systems";
4949 license = licenses.lgpl2Plus;
pkgs/development/libraries/inih/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja }:
1+{ lib, stdenv, fetchFromGitHub, meson, ninja }:
22
33stdenv.mkDerivation rec {
44 pname = "inih";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 "-Dwith_INIReader=true"
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Simple .INI file parser in C, good for embedded systems";
2424 homepage = "https://github.com/benhoyt/inih";
2525 changelog = "https://github.com/benhoyt/inih/releases/tag/${version}";
pkgs/development/libraries/iniparser/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "iniparser";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 patches = ./no-usr.patch;
1515
16− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
16+ postPatch = lib.optionalString stdenv.isDarwin ''
1717 substituteInPlace Makefile \
1818 --replace -Wl,-soname= -Wl,-install_name,
1919 '';
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 ln -s libiniparser.so.1 $out/lib/libiniparser.so
3939 '';
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 inherit (src.meta) homepage;
4343 description = "Free standalone ini file parsing library";
4444 license = licenses.mit;
pkgs/development/libraries/intel-gmmlib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, cmake
33}:
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ cmake ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/intel/gmmlib";
2020 license = licenses.mit;
2121 description = "Intel Graphics Memory Management Library";
pkgs/development/libraries/intel-media-driver/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, cmake, pkg-config
33, libva, libpciaccess, intel-gmmlib
44, enableX11 ? true, libX11
@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
2525 nativeBuildInputs = [ cmake pkg-config ];
2626
2727 buildInputs = [ libva libpciaccess intel-gmmlib ]
28− ++ stdenv.lib.optional enableX11 libX11;
28+ ++ lib.optional enableX11 libX11;
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Intel Media Driver for VAAPI — Broadwell+ iGPUs";
3232 longDescription = ''
3333 The Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API)
@@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
4141 maintainers = with maintainers; [ primeos jfrankenau ];
4242 };
4343
44− postFixup = stdenv.lib.optionalString enableX11 ''
45− patchelf --set-rpath "$(patchelf --print-rpath $out/lib/dri/iHD_drv_video.so):${stdenv.lib.makeLibraryPath [ libX11 ]}" \
44+ postFixup = lib.optionalString enableX11 ''
45+ patchelf --set-rpath "$(patchelf --print-rpath $out/lib/dri/iHD_drv_video.so):${lib.makeLibraryPath [ libX11 ]}" \
4646 $out/lib/dri/iHD_drv_video.so
4747 '';
4848}
pkgs/development/libraries/intel-media-sdk/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, gtest, libdrm, libpciaccess, libva, libX11
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gtest, libdrm, libpciaccess, libva, libX11
22, libXau, libXdmcp, libpthreadstubs }:
33
44stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 doCheck = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Intel Media SDK";
3131 license = licenses.mit;
3232 maintainers = with maintainers; [ midchildan ];
pkgs/development/libraries/ip2location-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "ip2location-c";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 # databases are available, downloading them for just 1 test seems excessive):
1818 doCheck = false;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Library to look up locations of host names and IP addresses";
2222 longDescription = ''
2323 A C library to find the country, region, city,coordinates,
pkgs/development/libraries/irrlicht/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, libGLU, libGL, unzip, libXrandr, libX11, libXxf86vm }:
1+{ lib, stdenv, fetchzip, libGLU, libGL, unzip, libXrandr, libX11, libXxf86vm }:
22
33let
44 common = import ./common.nix { inherit fetchzip; };
@@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
3131
3232 meta = {
3333 homepage = "http://irrlicht.sourceforge.net/";
34− license = stdenv.lib.licenses.zlib;
34+ license = lib.licenses.zlib;
3535 description = "Open source high performance realtime 3D engine written in C++";
36− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
36+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
3737 };
3838}
pkgs/development/libraries/irrlicht/mac.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, libGLU, libGL, unzip, fetchFromGitHub, cmake, Cocoa, OpenGL, IOKit }:
1+{ lib, stdenv, fetchzip, libGLU, libGL, unzip, fetchFromGitHub, cmake, Cocoa, OpenGL, IOKit }:
22
33let
44 common = import ./common.nix { inherit fetchzip; };
@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
3636
3737 meta = {
3838 homepage = "http://irrlicht.sourceforge.net/";
39− license = stdenv.lib.licenses.zlib;
39+ license = lib.licenses.zlib;
4040 description = "Open source high performance realtime 3D engine written in C++";
41− platforms = stdenv.lib.platforms.darwin;
41+ platforms = lib.platforms.darwin;
4242 };
4343}
pkgs/development/libraries/isl/0.11.1.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33stdenv.mkDerivation {
44 name = "isl-0.11.1"; # CLooG 0.16.3 fails to build with ISL 0.08.
@@ -15,8 +15,8 @@ stdenv.mkDerivation {
1515
1616 meta = {
1717 homepage = "https://www.kotnet.org/~skimo/isl/";
18− license = stdenv.lib.licenses.lgpl21;
18+ license = lib.licenses.lgpl21;
1919 description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
20− platforms = stdenv.lib.platforms.all;
20+ platforms = lib.platforms.all;
2121 };
2222}
pkgs/development/libraries/isl/0.14.1.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33stdenv.mkDerivation rec {
44 name = "isl-0.14.1";
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 meta = {
1616 homepage = "https://www.kotnet.org/~skimo/isl/";
17− license = stdenv.lib.licenses.lgpl21;
17+ license = lib.licenses.lgpl21;
1818 description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
19− platforms = stdenv.lib.platforms.all;
19+ platforms = lib.platforms.all;
2020 };
2121}
pkgs/development/libraries/isl/0.17.1.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33stdenv.mkDerivation rec {
44 name = "isl-0.17.1";
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 meta = {
1616 homepage = "https://www.kotnet.org/~skimo/isl/";
17− license = stdenv.lib.licenses.lgpl21;
17+ license = lib.licenses.lgpl21;
1818 description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
19− platforms = stdenv.lib.platforms.all;
19+ platforms = lib.platforms.all;
2020 };
2121}
pkgs/development/libraries/isl/0.20.0.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33stdenv.mkDerivation rec {
44 name = "isl-0.20";
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 meta = {
1616 homepage = "http://isl.gforge.inria.fr/";
17− license = stdenv.lib.licenses.lgpl21;
17+ license = lib.licenses.lgpl21;
1818 description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
19− platforms = stdenv.lib.platforms.all;
19+ platforms = lib.platforms.all;
2020 };
2121}
pkgs/development/libraries/iso-codes/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, gettext, python3}:
1+{lib, stdenv, fetchurl, gettext, python3}:
22
33stdenv.mkDerivation rec {
44 pname = "iso-codes";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [ gettext python3 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://salsa.debian.org/iso-codes-team/iso-codes";
2323 description = "Various ISO codes packaged as XML files";
2424 license = licenses.lgpl21;
pkgs/development/libraries/itk/4.x.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libX11, libuuid, xz, vtk_7, Cocoa }:
1+{ lib, stdenv, fetchFromGitHub, cmake, libX11, libuuid, xz, vtk_7, Cocoa }:
22
33stdenv.mkDerivation rec {
44 pname = "itk";
@@ -23,13 +23,13 @@ stdenv.mkDerivation rec {
2323 ];
2424
2525 nativeBuildInputs = [ cmake xz ];
26− buildInputs = [ libX11 libuuid vtk_7 ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
26+ buildInputs = [ libX11 libuuid vtk_7 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
2727
2828 meta = {
2929 description = "Insight Segmentation and Registration Toolkit";
3030 homepage = "https://www.itk.org/";
31− license = stdenv.lib.licenses.asl20;
32− maintainers = with stdenv.lib.maintainers; [viric];
33− platforms = with stdenv.lib.platforms; linux ++ darwin;
31+ license = lib.licenses.asl20;
32+ maintainers = with lib.maintainers; [viric];
33+ platforms = with lib.platforms; linux ++ darwin;
3434 };
3535}
pkgs/development/libraries/itk/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, makeWrapper
1+{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper
22, pkg-config, libX11, libuuid, xz, vtk_7, Cocoa }:
33
44stdenv.mkDerivation rec {
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 ];
3030
3131 nativeBuildInputs = [ cmake xz makeWrapper ];
32− buildInputs = [ libX11 libuuid vtk_7 ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
32+ buildInputs = [ libX11 libuuid vtk_7 ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
3333
3434 postInstall = ''
3535 wrapProgram "$out/bin/h5c++" --prefix PATH ":" "${pkg-config}/bin"
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 meta = {
3939 description = "Insight Segmentation and Registration Toolkit";
4040 homepage = "https://www.itk.org/";
41− license = stdenv.lib.licenses.asl20;
42− maintainers = with stdenv.lib.maintainers; [viric];
41+ license = lib.licenses.asl20;
42+ maintainers = with lib.maintainers; [viric];
4343 };
4444}
pkgs/development/libraries/itktcl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, tcl, tk, incrtcl }:
1+{ lib, stdenv, fetchurl, tcl, tk, incrtcl }:
22
33stdenv.mkDerivation rec {
44 pname = "itk-tcl";
@@ -23,13 +23,13 @@ stdenv.mkDerivation rec {
2323 rmdir $out/bin
2424 mv $out/lib/itk${version}/* $out/lib
2525 ln -s libitk${version}${stdenv.hostPlatform.extensions.sharedLibrary} \
26− $out/lib/libitk${stdenv.lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
26+ $out/lib/libitk${lib.versions.major version}${stdenv.hostPlatform.extensions.sharedLibrary}
2727 rmdir $out/lib/itk${version}
2828 '';
2929
3030 outputs = [ "out" "dev" "man" ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 homepage = "http://incrtcl.sourceforge.net/";
3434 description = "Mega-widget toolkit for incr Tk";
3535 license = licenses.tcltk;
pkgs/development/libraries/jama/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip, tnt}:
1+{lib, stdenv, fetchurl, unzip, tnt}:
22
33stdenv.mkDerivation rec {
44 pname = "jama";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 cp *.h $out/include
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://math.nist.gov/tnt/";
2626 description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates";
2727 platforms = platforms.unix;
pkgs/development/libraries/jansson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "jansson-2.13.1";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0ks7gbs0j8p4dmmi2sq129mxy5gfg0z6220i1jk020mi2zd7gwzl";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://www.digip.org/jansson/";
1313 description = "C library for encoding, decoding and manipulating JSON data";
1414 license = licenses.mit;
pkgs/development/libraries/java/commons/bcel/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 version = "5.2";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "http://commons.apache.org/proper/commons-bcel/";
2020 description = "Gives users a convenient way to analyze, create, and manipulate (binary) Java class files";
21− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
22− license = stdenv.lib.licenses.asl20;
23− platforms = with stdenv.lib.platforms; unix;
21+ maintainers = with lib.maintainers; [ copumpkin ];
22+ license = lib.licenses.asl20;
23+ platforms = with lib.platforms; unix;
2424 };
2525}
pkgs/development/libraries/java/commons/bsf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "commons-bsf-1.2";
@@ -16,8 +16,8 @@ stdenv.mkDerivation {
1616 meta = {
1717 description = "Interface to scripting languages, including JSR-223";
1818 homepage = "http://commons.apache.org/proper/commons-bsf/";
19− license = stdenv.lib.licenses.asl20;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.asl20;
20+ platforms = lib.platforms.unix;
2121 };
2222}
2323
pkgs/development/libraries/java/commons/compress/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "1.20";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "http://commons.apache.org/proper/commons-compress";
2020 description = "Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files";
21− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
22− license = stdenv.lib.licenses.asl20;
23− platforms = with stdenv.lib.platforms; unix;
21+ maintainers = with lib.maintainers; [ copumpkin ];
22+ license = lib.licenses.asl20;
23+ platforms = with lib.platforms; unix;
2424 };
2525}
pkgs/development/libraries/java/commons/fileupload/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 version = "1.3.1";
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 homepage = "http://commons.apache.org/proper/commons-fileupload";
1919 description = "Makes it easy to add robust, high-performance, file upload capability to your servlets and web applications";
20− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
21− license = stdenv.lib.licenses.asl20;
22− platforms = with stdenv.lib.platforms; unix;
20+ maintainers = with lib.maintainers; [ copumpkin ];
21+ license = lib.licenses.asl20;
22+ platforms = with lib.platforms; unix;
2323 };
2424}
pkgs/development/libraries/java/commons/io/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "2.8.0";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "http://commons.apache.org/proper/commons-io";
2020 description = "A library of utilities to assist with developing IO functionality";
21− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
22− license = stdenv.lib.licenses.asl20;
23− platforms = with stdenv.lib.platforms; unix;
21+ maintainers = with lib.maintainers; [ copumpkin ];
22+ license = lib.licenses.asl20;
23+ platforms = with lib.platforms; unix;
2424 };
2525}
pkgs/development/libraries/java/commons/lang/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "3.11";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "http://commons.apache.org/proper/commons-lang";
2020 description = "Provides additional methods to manipulate standard Java library classes";
21− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
22− license = stdenv.lib.licenses.asl20;
23− platforms = with stdenv.lib.platforms; unix;
21+ maintainers = with lib.maintainers; [ copumpkin ];
22+ license = lib.licenses.asl20;
23+ platforms = with lib.platforms; unix;
2424 };
2525}
pkgs/development/libraries/java/commons/logging/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "commons-logging-1.2";
@@ -16,8 +16,8 @@ stdenv.mkDerivation {
1616 meta = {
1717 description = "Wrapper around a variety of logging API implementations";
1818 homepage = "http://commons.apache.org/proper/commons-logging";
19− license = stdenv.lib.licenses.asl20;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.asl20;
20+ platforms = lib.platforms.unix;
2121 };
2222}
2323
pkgs/development/libraries/java/commons/math/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "3.6.1";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "http://commons.apache.org/proper/commons-math/";
2020 description = "A library of lightweight, self-contained mathematics and statistics components";
21− maintainers = with stdenv.lib.maintainers; [ copumpkin ];
22− license = stdenv.lib.licenses.asl20;
23− platforms = with stdenv.lib.platforms; unix;
21+ maintainers = with lib.maintainers; [ copumpkin ];
22+ license = lib.licenses.asl20;
23+ platforms = with lib.platforms; unix;
2424 };
2525}
pkgs/development/libraries/java/cup/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jdk, ant } :
1+{ lib, stdenv, fetchurl, jdk, ant } :
22
33stdenv.mkDerivation rec {
44 pname = "java-cup";
@@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
3131 meta = {
3232 homepage = "http://www2.cs.tum.edu/projects/cup/";
3333 description = "LALR parser generator for Java";
34− license = stdenv.lib.licenses.mit;
35− platforms = stdenv.lib.platforms.all;
36− maintainers = [ stdenv.lib.maintainers.romildo ];
34+ license = lib.licenses.mit;
35+ platforms = lib.platforms.all;
36+ maintainers = [ lib.maintainers.romildo ];
3737 };
3838}
pkgs/development/libraries/java/dbus-java/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, gettext, jdk8, libmatthew_java}:
1+{lib, stdenv, fetchurl, gettext, jdk8, libmatthew_java}:
22
33let jdk = jdk8; in
44stdenv.mkDerivation {
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 -e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 platforms = platforms.linux;
2424 maintainers = [ maintainers.sander ];
2525 license = licenses.afl21;
pkgs/development/libraries/java/geoipjava/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, jdk, unzip}:
1+{lib, stdenv, fetchurl, jdk, unzip}:
22
33stdenv.mkDerivation {
44 name = "GeoIPJava-1.2.5";
@@ -20,8 +20,8 @@ stdenv.mkDerivation {
2020 '';
2121 meta = {
2222 description = "GeoIP Java API";
23− license = stdenv.lib.licenses.lgpl21Plus;
24− maintainers = [ stdenv.lib.maintainers.sander ];
25− platforms = stdenv.lib.platforms.unix;
23+ license = lib.licenses.lgpl21Plus;
24+ maintainers = [ lib.maintainers.sander ];
25+ platforms = lib.platforms.unix;
2626 };
2727}
pkgs/development/libraries/java/gwt-dragdrop/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "gwt-dnd-2.6.5";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "07zdlr8afs499asnw0dcjmw1cnjc646v91lflx5dv4qj374c97fw";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 platforms = platforms.unix;
1414 license = licenses.asl20;
1515 };
pkgs/development/libraries/java/gwt-widgets/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "gwt-widgets-0.2.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "09isj4j6842rj13nv8264irkjjhvmgihmi170ciabc98911bakxb";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 platforms = platforms.unix;
1414 license = with licenses; [ afl21 lgpl2 ];
1515 };
pkgs/development/libraries/java/hsqldb/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, unzip, makeWrapper, jre }:
1+{ lib, stdenv, fetchurl, unzip, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
44 pname = "hsqldb";
55 version = "2.5.1";
6− underscoreMajMin = stdenv.lib.strings.replaceChars ["."] ["_"] (stdenv.lib.versions.majorMinor version);
6+ underscoreMajMin = lib.strings.replaceChars ["."] ["_"] (stdenv.lib.versions.majorMinor version);
77
88 src = fetchurl {
99 url = "mirror://sourceforge/project/hsqldb/hsqldb/hsqldb_${underscoreMajMin}/hsqldb-${version}.zip";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 runHook postInstall
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 homepage = "http://hsqldb.org";
3434 description = "A relational, embedable database management system written in Java and a set of related tools";
3535 platforms = platforms.unix;
pkgs/development/libraries/java/httpunit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip} :
1+{lib, stdenv, fetchurl, unzip} :
22
33stdenv.mkDerivation {
44 name = "httpunit-1.7";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111
1212 inherit unzip;
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://httpunit.sourceforge.net";
1616 platforms = platforms.unix;
1717 license = licenses.mit;
pkgs/development/libraries/java/hydra-ant-logger/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchgit, stdenv, ant, jdk }:
1+{ fetchgit, lib, stdenv, ant, jdk }:
22
33stdenv.mkDerivation {
44 pname = "hydra-ant-logger";
@@ -20,6 +20,6 @@ stdenv.mkDerivation {
2020 '';
2121
2222 meta = {
23− platforms = stdenv.lib.platforms.unix;
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/libraries/java/jdom/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl} :
1+{lib, stdenv, fetchurl} :
22
33stdenv.mkDerivation {
44 name = "jdom-1.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "1igmxzcy0s25zcy9vmcw0kd13lh60r0b4qg8lnp1jic33f427pxf";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Java-based solution for accessing, manipulating, and outputting XML data from Java code";
1414 homepage = "http://www.jdom.org";
1515 platforms = platforms.unix;
pkgs/development/libraries/java/jflex/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, jre} :
1+{lib, stdenv, fetchurl, jre} :
22
33stdenv.mkDerivation rec {
44 name = "jflex-1.8.2";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 meta = {
3232 homepage = "https://www.jflex.de/";
3333 description = "Lexical analyzer generator for Java, written in Java";
34− license = stdenv.lib.licenses.bsd3;
35− platforms = stdenv.lib.platforms.unix;
34+ license = lib.licenses.bsd3;
35+ platforms = lib.platforms.unix;
3636 };
3737}
pkgs/development/libraries/java/junit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, antBuild, fetchgit, perl }:
1+{ lib, stdenv, antBuild, fetchgit, perl }:
22
33let
44 version = "4.11";
@@ -22,7 +22,7 @@ in antBuild {
2222 meta = {
2323 homepage = "http://www.junit.org/";
2424 description = "A framework for repeatable tests in Java";
25− license = stdenv.lib.licenses.epl10;
25+ license = lib.licenses.epl10;
2626 broken = true;
2727 };
2828}
pkgs/development/libraries/java/junixsocket/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ant, jdk, junit }:
1+{ lib, stdenv, fetchurl, ant, jdk, junit }:
22
33stdenv.mkDerivation rec {
44 name = "junixsocket-1.3";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 # Note that our OpenJDK on Darwin is currently 32-bit, so we have to build a 32-bit dylib.
2525 (if stdenv.is64bit then [ "-Dskip32=true" ] else [ "-Dskip64=true" ])
2626 ++ [ "-Dgcc=cc" "-Dant.build.javac.source=1.6" ]
27− ++ stdenv.lib.optional stdenv.isDarwin "-DisMac=true";
27+ ++ lib.optional stdenv.isDarwin "-DisMac=true";
2828
2929 installPhase =
3030 ''
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 meta = {
3737 description = "A Java/JNI library for using Unix Domain Sockets from Java";
3838 homepage = "https://github.com/kohlschutter/junixsocket";
39− license = stdenv.lib.licenses.asl20;
40− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
39+ license = lib.licenses.asl20;
40+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
4141 };
4242}
pkgs/development/libraries/java/libmatthew-java/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, jdk}:
1+{lib, stdenv, fetchurl, jdk}:
22
33stdenv.mkDerivation {
44 name = "libmatthew-java-0.8";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 PREFIX=''''${out}'';
1111 buildInputs = [ jdk ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 platforms = platforms.linux;
1515 maintainers = [ maintainers.sander ];
1616 license = licenses.mit;
pkgs/development/libraries/java/lombok/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, jdk }:
1+{ lib, stdenv, fetchurl, makeWrapper, jdk }:
22
33stdenv.mkDerivation rec {
44 name = "lombok-1.18.16";
@@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
2323
2424 meta = {
2525 description = "A library that can write a lot of boilerplate for your Java project";
26− platforms = stdenv.lib.platforms.all;
27− license = stdenv.lib.licenses.mit;
26+ platforms = lib.platforms.all;
27+ license = lib.licenses.mit;
2828 homepage = "https://projectlombok.org/";
29− maintainers = [ stdenv.lib.maintainers.CrystalGamma ];
29+ maintainers = [ lib.maintainers.CrystalGamma ];
3030 };
3131}
pkgs/development/libraries/java/lucene/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl} :
1+{lib, stdenv, fetchurl} :
22
33stdenv.mkDerivation rec {
44 pname = "lucene";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "1mxaxg65f7v8n60irjwm24v7hcisbl0srmpvcy1l4scs6rjj1awh";
1212 };
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Java full-text search engine";
1616 platforms = platforms.unix;
1717 license = licenses.asl20;
pkgs/development/libraries/java/mockobjects/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl} :
1+{lib, stdenv, fetchurl} :
22
33stdenv.mkDerivation {
44 name = "mockobjects-0.09";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "18rnyqfcyh0s3dwkkaszdd50ssyjx5fa1y3ii309ldqg693lfgnz";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "Generic unit testing framework and methodology for testing any kind of code";
1414 platforms = platforms.unix;
1515 license = licenses.asl20;
pkgs/development/libraries/java/rhino/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, unzip, ant, javac, jvm }:
1+{ fetchurl, lib, stdenv, unzip, ant, javac, jvm }:
22
33let
44 version = "1.7R2";
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
4343 cp -v *.jar "$out/share/java"
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "An implementation of JavaScript written in Java";
4848
4949 longDescription =
pkgs/development/libraries/java/saxon/default.nix+4−4
@@ -1,8 +1,8 @@
1−{ stdenv, fetchurl, unzip, jre }:
1+{ lib, stdenv, fetchurl, unzip, jre }:
22
33let
44 common = { pname, version, src, description
5− , prog ? null, jar ? null, license ? stdenv.lib.licenses.mpl20 }:
5+ , prog ? null, jar ? null, license ? lib.licenses.mpl20 }:
66 stdenv.mkDerivation {
77 name = "${pname}-${version}";
88 inherit pname version src;
@@ -26,7 +26,7 @@ let
2626 chmod a+x $out/bin/${prog'}
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 inherit description license;
3131 homepage = "http://saxon.sourceforge.net/";
3232 maintainers = with maintainers; [ rvl ];
@@ -44,7 +44,7 @@ in {
4444 };
4545 description = "XSLT 1.0 processor";
4646 # http://saxon.sourceforge.net/saxon6.5.3/conditions.html
47− license = stdenv.lib.licenses.mpl10;
47+ license = lib.licenses.mpl10;
4848 };
4949
5050 saxonb_8_8 = common {
pkgs/development/libraries/java/smack/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "smack-4.1.9";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212 meta = {
1313 description = "A XMPP (Jabber) client library for instant messaging and presence";
1414 homepage = "http://www.igniterealtime.org/projects/smack/";
15− platforms = stdenv.lib.platforms.unix;
16− license = stdenv.lib.licenses.asl20;
15+ platforms = lib.platforms.unix;
16+ license = lib.licenses.asl20;
1717 };
1818}
pkgs/development/libraries/java/swt/default.nix+1−1
@@ -63,7 +63,7 @@ in stdenv.mkDerivation rec {
6363 cd out && jar -c * > $out/jars/swt.jar
6464 '';
6565
66− meta = with stdenv.lib; {
66+ meta = with lib; {
6767 homepage = "http://www.eclipse.org/swt/";
6868 description = "An widget toolkit for Java to access the user-interface facilities of the operating systems on which it is implemented";
6969 license = licenses.epl10;
pkgs/development/libraries/jbig2dec/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python3, autoreconfHook }:
1+{ lib, stdenv, fetchurl, python3, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "jbig2dec";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 homepage = "https://www.jbig2dec.com/";
2323 description = "Decoder implementation of the JBIG2 image compression format";
24− license = stdenv.lib.licenses.gpl2Plus;
25− platforms = stdenv.lib.platforms.unix;
24+ license = lib.licenses.gpl2Plus;
25+ platforms = lib.platforms.unix;
2626 };
2727}
pkgs/development/libraries/jbigkit/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "jbigkit-2.1";
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
1010
1111 makeFlags = [
1212 "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"
13− "AR=${stdenv.lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
14− "RANLIB=${stdenv.lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
13+ "AR=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
14+ "RANLIB=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
1515 ];
1616
1717 postPatch = ''
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 runHook postInstall
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 homepage = "http://www.cl.cam.ac.uk/~mgk25/jbigkit/";
4747 description = "A software implementation of the JBIG1 data compression standard";
4848 license = licenses.gpl2Plus;
pkgs/development/libraries/jcal/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook
22, readline
33}:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 preAutoreconf = "cd sources/";
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system";
2323 homepage = "http://nongnu.org/jcal/";
2424 license = licenses.gpl3;
pkgs/development/libraries/jemalloc/common.nix+3−3
@@ -1,5 +1,5 @@
11{ version, sha256 }:
2−{ stdenv, fetchurl
2+{ lib, stdenv, fetchurl
33# By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
44# then stops downstream builds (mariadb in particular) from detecting it. This
55# option should remove the prefix and give us a working jemalloc.
@@ -9,7 +9,7 @@
99, disableInitExecTls ? false
1010}:
1111
12−with stdenv.lib;
12+with lib;
1313
1414stdenv.mkDerivation rec {
1515 pname = "jemalloc";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737
3838 enableParallelBuilding = true;
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 homepage = "http://jemalloc.net";
4242 description = "General purpose malloc(3) implementation";
4343 longDescription = ''
pkgs/development/libraries/jitterentropy/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22stdenv.mkDerivation rec {
33 pname = "jitterentropy";
44 version = "2.2.0";
@@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
3030 meta = {
3131 description = "Provides a noise source using the CPU execution timing jitter";
3232 homepage = "https://github.com/smuellerDD/jitterentropy-library";
33− license = with stdenv.lib.licenses; [ gpl2 bsd3 ];
34− platforms = stdenv.lib.platforms.linux;
35− maintainers = with stdenv.lib.maintainers; [ johnazoidberg ];
33+ license = with lib.licenses; [ gpl2 bsd3 ];
34+ platforms = lib.platforms.linux;
35+ maintainers = with lib.maintainers; [ johnazoidberg ];
3636 };
3737}
pkgs/development/libraries/json-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "json-c";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A JSON implementation in C";
1818 homepage = "https://github.com/json-c/json-c/wiki";
1919 maintainers = with maintainers; [ lovek323 ];
pkgs/development/libraries/json-glib/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, glib, meson, ninja, pkg-config, gettext
1+{ lib, stdenv, fetchurl, glib, meson, ninja, pkg-config, gettext
22, gobject-introspection, fixDarwinDylibNames, gnome3
33}:
44
@@ -9,13 +9,13 @@ in stdenv.mkDerivation rec {
99 name = "${pname}-${version}";
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
12+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1313 sha256 = "0ixwyis47v5bkx6h8a1iqlw3638cxcv57ivxv4gw2gaig51my33j";
1414 };
1515
1616 propagatedBuildInputs = [ glib ];
1717 nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection glib ]
18− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
18+ ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
1919
2020 outputs = [ "out" "dev" ];
2121
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
2727 };
2828 };
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
3232 homepage = "https://wiki.gnome.org/Projects/JsonGlib";
3333 license = licenses.lgpl2;
pkgs/development/libraries/jsoncpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, python, validatePkgConfig, fetchpatch }:
1+{ lib, stdenv, fetchFromGitHub, cmake, python, validatePkgConfig, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "jsoncpp";
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 "-DJSONCPP_WITH_CMAKE_PACKAGE=ON"
4040 ];
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 inherit version;
4444 homepage = "https://github.com/open-source-parsers/jsoncpp";
4545 description = "A C++ library for interacting with JSON";
pkgs/development/libraries/jsonrpc-glib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, glib, json-glib, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
1+{ lib, stdenv, fetchurl, meson, ninja, glib, json-glib, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
22stdenv.mkDerivation rec {
33 pname = "jsonrpc-glib";
44 version = "3.38.0";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 buildInputs = [ glib json-glib ];
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1313 sha256 = "3F8ZFKkRUrcPqPyaEe3hMUirSvZE2yejZjI4jJJ6ioI=";
1414 };
1515
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 };
2828 };
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A library to communicate using the JSON-RPC 2.0 specification";
3232 homepage = "https://gitlab.gnome.org/GNOME/jsonrpc-glib";
3333 license = licenses.lgpl21Plus;
pkgs/development/libraries/judy/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "judy-1.0.5";
@@ -10,14 +10,14 @@ stdenv.mkDerivation {
1010
1111 # gcc 4.8 optimisations break judy.
1212 # https://sourceforge.net/p/judy/mailman/message/31995144/
13− preConfigure = stdenv.lib.optionalString stdenv.cc.isGNU ''
13+ preConfigure = lib.optionalString stdenv.cc.isGNU ''
1414 configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations")
1515 '';
1616
1717 meta = {
1818 homepage = "http://judy.sourceforge.net/";
19− license = stdenv.lib.licenses.lgpl21Plus;
19+ license = lib.licenses.lgpl21Plus;
2020 description = "State-of-the-art C library that implements a sparse dynamic array";
21− platforms = stdenv.lib.platforms.unix;
21+ platforms = lib.platforms.unix;
2222 };
2323}
pkgs/development/libraries/jxrlib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python }:
1+{ lib, stdenv, fetchFromGitHub, python }:
22
33stdenv.mkDerivation rec {
44 pname = "jxrlib";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 sha256 = "0rk3hbh00nw0wgbfbqk1szrlfg3yq7w6ar16napww3nrlm9cj65w";
1414 };
1515
16− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
16+ postPatch = lib.optionalString stdenv.isDarwin ''
1717 substituteInPlace Makefile \
1818 --replace '-shared' '-dynamiclib -undefined dynamic_lookup' \
1919 --replace '.so' '.dylib'
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 makeFlags = [ "DIR_INSTALL=$(out)" "SHARED=1" ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Implementation of the JPEG XR image codec standard";
2828 homepage = "https://jxrlib.codeplex.com";
2929 license = licenses.bsd2;
pkgs/development/libraries/kerberos/heimdal.nix+2−2
@@ -1,10 +1,10 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python2, perl, yacc, flex
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python2, perl, yacc, flex
22, texinfo, perlPackages
33, openldap, libcap_ng, sqlite, openssl, db, libedit, pam
44, CoreFoundation, Security, SystemConfiguration
55}:
66
7−with stdenv.lib;
7+with lib;
88stdenv.mkDerivation rec {
99 pname = "heimdal";
1010 version = "7.7.0";
pkgs/development/libraries/kerberos/krb5.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, perl, yacc, bootstrap_cmds
1+{ lib, stdenv, fetchurl, pkg-config, perl, yacc, bootstrap_cmds
22, openssl, openldap, libedit, keyutils
33
44# Extra Arguments
@@ -16,7 +16,7 @@
1616let
1717 libOnly = type == "lib";
1818in
19−with stdenv.lib;
19+with lib;
2020stdenv.mkDerivation rec {
2121 name = "${type}krb5-${version}";
2222 majorVersion = "1.18"; # remove patches below with next upgrade
pkgs/development/libraries/keybinder/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool, pkg-config, gnome3
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkg-config, gnome3
22, gtk-doc, gtk2, python2Packages, lua, gobject-introspection
33}:
44
@@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
2424 ./autogen.sh --prefix="$out"
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Library for registering global key bindings";
2929 longDescription = ''
3030 keybinder is a library for registering global keyboard shortcuts.
pkgs/development/libraries/keybinder3/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome3
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, gnome3
22, gtk-doc, gtk3, libX11, libXext, libXrender, gobject-introspection
33}:
44
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 ./autogen.sh --prefix="$out"
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Library for registering global key bindings";
2828 homepage = "https://github.com/kupferlauncher/keybinder/";
2929 license = licenses.mit;
pkgs/development/libraries/keystone/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, pkg-config
44, cmake
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 python3
2828 ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Lightweight multi-platform, multi-architecture assembler framework";
3232 homepage = "https://www.keystone-engine.org";
3333 license = licenses.gpl2Only;
pkgs/development/libraries/khronos-ocl-icd-loader/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
1+{ lib, stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
22
33stdenv.mkDerivation rec {
44 name = "khronos-ocl-icd-loader-${version}";
@@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
1111 sha256 = "0v2yi6d3g5qshzy6pjic09c5irwgds106yvr93q62f32psfblnmy";
1212 };
1313
14− patches = stdenv.lib.lists.optional withTracing ./tracing.patch;
14+ patches = lib.lists.optional withTracing ./tracing.patch;
1515
1616 nativeBuildInputs = [ cmake ];
1717 buildInputs = [ opencl-headers ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Offical Khronos OpenCL ICD Loader";
2121 homepage = "https://github.com/KhronosGroup/OpenCL-ICD-Loader";
2222 license = licenses.asl20;
pkgs/development/libraries/kissfft/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44}:
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 "DATATYPE=double"
3636 ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 description = "A mixed-radix Fast Fourier Transform based up on the KISS principle";
4040 homepage = "https://github.com/mborgerding/kissfft";
4141 license = licenses.bsd3;
pkgs/development/libraries/kmsxx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, libdrm
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libdrm
22, withPython ? false, python }:
33
44stdenv.mkDerivation {
@@ -13,12 +13,12 @@ stdenv.mkDerivation {
1313 sha256 = "0xz4m9bk0naawxwpx5cy1j3cm6c8c9m5y551csk88y88x1g0z0xh";
1414 };
1515
16− cmakeFlags = stdenv.lib.optional (!withPython) "-DKMSXX_ENABLE_PYTHON=OFF";
16+ cmakeFlags = lib.optional (!withPython) "-DKMSXX_ENABLE_PYTHON=OFF";
1717
1818 nativeBuildInputs = [ cmake pkg-config ];
1919 buildInputs = [ libdrm python ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
2323 homepage = "https://github.com/tomba/kmsxx";
2424 license = licenses.mpl20;
pkgs/development/libraries/kpmcore/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 nativeBuildInputs = [ extra-cmake-modules ];
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 maintainers = with lib.maintainers; [ peterhoeg ];
2929 # The build requires at least Qt 5.14:
3030 broken = lib.versionOlder qtbase.version "5.14";
pkgs/development/libraries/kyotocabinet/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib }:
1+{ lib, stdenv, fetchurl, zlib }:
22
33stdenv.mkDerivation rec {
44 name = "kyotocabinet-1.2.76";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0g6js20x7vnpq4p8ghbw3mh9wpqksya9vwhzdx6dnlf354zjsal1";
99 };
1010
11− prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
11+ prePatch = lib.optionalString stdenv.isDarwin ''
1212 substituteInPlace kccommon.h \
1313 --replace tr1/unordered_map unordered_map \
1414 --replace tr1/unordered_set unordered_set \
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 buildInputs = [ zlib ];
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "http://fallabs.com/kyotocabinet";
3737 description = "A library of routines for managing a database";
3838 license = licenses.gpl3;
pkgs/development/libraries/l-smash/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, which }:
1+{ lib, stdenv, fetchFromGitHub, which }:
22
33stdenv.mkDerivation rec {
44 pname = "l-smash";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ which ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://l-smash.github.io/l-smash/";
1818 description = "MP4 container utilities";
1919 license = licenses.isc;
pkgs/development/libraries/lame/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, nasmSupport ? true, nasm ? null # Assembly optimizations
33, cpmlSupport ? true # Compaq's fast math library
44#, efenceSupport ? false, libefence ? null # Use ElectricFence for malloc debugging
@@ -20,7 +20,7 @@ let
2020 mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
2121in
2222
23−with stdenv.lib;
23+with lib;
2424stdenv.mkDerivation rec {
2525 pname = "lame";
2626 version = "3.100";
pkgs/development/libraries/languagemachines/frog.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, bzip2, libtar, libtool, pkg-config, autoconf-archive
33, libxml2, icu
44, languageMachines
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
3737 make check
3838 '';
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A Tagger-Lemmatizer-Morphological-Analyzer-Dependency-Parser for Dutch";
4242 homepage = "https://languagemachines.github.io/frog";
4343 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/frogdata.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33}:
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 sh bootstrap.sh
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Data for Frog, a Tagger-Lemmatizer-Morphological-Analyzer-Dependency-Parser for Dutch";
2424 homepage = "https://languagemachines.github.io/frog";
2525 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/libfolia.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33, libxml2, icu, bzip2, libtar
44, languageMachines }:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
2020 CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A C++ API for FoLiA documents; an XML-based linguistic annotation format.";
2424 homepage = "https://proycon.github.io/folia/";
2525 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/mbt.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, bzip2, libtar, libtool, pkg-config, autoconf-archive
33, libxml2
44, languageMachines
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
2424 sh bootstrap.sh
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Memory Based Tagger";
2929 homepage = "https://languagemachines.github.io/mbt/";
3030 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/ticcutils.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33, libxml2, zlib, bzip2, libtar }:
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 ];
2020 preConfigure = "sh bootstrap.sh";
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "This module contains useful functions for general use in the TiCC software stack and beyond.";
2424 homepage = "https://github.com/LanguageMachines/ticcutils";
2525 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/timbl.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33, libxml2, bzip2, libtar
44, languageMachines
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 ];
2121 preConfigure = "sh bootstrap.sh";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "TiMBL implements several memory-based learning algorithms";
2525 homepage = "https://github.com/LanguageMachines/timbl/";
2626 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/timblserver.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, bzip2, libtar, libtool, pkg-config, autoconf-archive
33, libxml2
44, languageMachines
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 ];
2222 preConfigure = "sh bootstrap.sh";
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "This server for TiMBL implements several memory-based learning algorithms";
2626 homepage = "https://github.com/LanguageMachines/timblserver/";
2727 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/ucto.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33, libxml2, icu, bzip2, libtar
44, languageMachines
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
3232 done;
3333 '';
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A rule-based tokenizer for natural language";
3737 homepage = "https://languagemachines.github.io/ucto/";
3838 license = licenses.gpl3;
pkgs/development/libraries/languagemachines/uctodata.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, automake, autoconf, libtool, pkg-config, autoconf-archive
33 }:
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 buildInputs = [ automake autoconf libtool autoconf-archive ];
1616 preConfigure = "sh bootstrap.sh";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A rule-based tokenizer for natural language";
2020 homepage = "https://languagemachines.github.io/ucto/";
2121 license = licenses.gpl3;
pkgs/development/libraries/lasem/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, intltool, gobject-introspection, glib, gdk-pixbuf
1+{ fetchurl, lib, stdenv, pkg-config, intltool, gobject-introspection, glib, gdk-pixbuf
22, libxml2, cairo, pango, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 outputs = [ "bin" "out" "dev" "man" "doc" "devdoc" ];
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1212 sha256 = "0fds3fsx84ylsfvf55zp65y8xqjj5n8gbhcsk02vqglivk7izw4v";
1313 };
1414
@@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
3131 description = "SVG and MathML rendering library";
3232
3333 homepage = "https://wiki.gnome.org/Projects/Lasem";
34− license = stdenv.lib.licenses.gpl2Plus;
34+ license = lib.licenses.gpl2Plus;
3535
36− platforms = stdenv.lib.platforms.unix;
36+ platforms = lib.platforms.unix;
3737 };
3838}
pkgs/development/libraries/lasso/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
1+{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
22
33stdenv.mkDerivation rec {
44
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 --prefix=$out
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://lasso.entrouvert.org/";
2626 description = "Liberty Alliance Single Sign-On library";
2727 license = licenses.gpl2Plus;
pkgs/development/libraries/lcms/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 pname = "lcms";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 description = "Color management engine";
2020 homepage = "http://www.littlecms.com/";
21− license = stdenv.lib.licenses.mit;
22− platforms = stdenv.lib.platforms.unix;
21+ license = lib.licenses.mit;
22+ platforms = lib.platforms.unix;
2323 };
2424}
pkgs/development/libraries/lcms2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtiff, libjpeg, zlib }:
1+{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
22
33stdenv.mkDerivation rec {
44 name = "lcms2-2.11";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 # See https://trac.macports.org/ticket/60656
1616 LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Color management engine";
2020 homepage = "http://www.littlecms.com/";
2121 license = licenses.mit;
pkgs/development/libraries/ldacbt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 cmake
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "AOSP libldac dispatcher";
2424 homepage = "https://github.com/EHfive/ldacBT";
2525 license = licenses.asl20;
pkgs/development/libraries/ldb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, python3
44, pkg-config
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454
5555 stripDebugList = [ "bin" "lib" "modules" ];
5656
57− meta = with stdenv.lib; {
57+ meta = with lib; {
5858 description = "A LDAP-like embedded database";
5959 homepage = "https://ldb.samba.org/";
6060 license = licenses.lgpl3Plus;
pkgs/development/libraries/ldns/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, openssl, perl, which, dns-root-data }:
1+{ lib, stdenv, fetchurl, openssl, perl, which, dns-root-data }:
22
33stdenv.mkDerivation rec {
44 pname = "ldns";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 "--with-drill"
2525 "--disable-gost"
2626 "--with-examples"
27− ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
27+ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
2828 "ac_cv_func_malloc_0_nonnull=yes"
2929 "ac_cv_func_realloc_0_nonnull=yes"
3030 ];
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040 moveToOutput "bin/ldns-config" "$dev"
4141 '';
4242
43− meta = with stdenv.lib; {
43+ meta = with lib; {
4444 description = "Library with the aim of simplifying DNS programming in C";
4545 license = licenses.bsd3;
4646 homepage = "http://www.nlnetlabs.nl/projects/ldns/";
pkgs/development/libraries/leatherman/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
1+{ lib, stdenv, fetchFromGitHub, boost, cmake, curl, ruby }:
22
33stdenv.mkDerivation rec {
44 pname = "leatherman";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 nativeBuildInputs = [ cmake ];
1717 buildInputs = [ boost curl ruby ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/puppetlabs/leatherman/";
2121 description = "A collection of C++ and CMake utility libraries";
2222 license = licenses.asl20;
pkgs/development/libraries/lensfun/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, glib, zlib, libpng, cmake }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, glib, zlib, libpng, cmake }:
22
33let
44 version = "0.3.95";
@@ -35,10 +35,10 @@ stdenv.mkDerivation {
3535
3636 cmakeFlags = [ "-DINSTALL_HELPER_SCRIPTS=OFF" ];
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 platforms = platforms.linux ++ platforms.darwin;
4040 maintainers = with maintainers; [ flokli ];
41− license = stdenv.lib.licenses.lgpl3;
41+ license = lib.licenses.lgpl3;
4242 description = "An opensource database of photographic lenses and their characteristics";
4343 homepage = "https://lensfun.github.io";
4444 };
pkgs/development/libraries/leptonica/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, which, gnuplot
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, which, gnuplot
22, giflib, libjpeg, libpng, libtiff, libwebp, openjpeg, zlib
33}:
44
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 description = "Image processing and analysis library";
2525 homepage = "http://www.leptonica.org/";
26− license = stdenv.lib.licenses.bsd2; # http://www.leptonica.org/about-the-license.html
27− platforms = stdenv.lib.platforms.unix;
26+ license = lib.licenses.bsd2; # http://www.leptonica.org/about-the-license.html
27+ platforms = lib.platforms.unix;
2828 };
2929}
pkgs/development/libraries/lesstif/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
1+{lib, stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
22
33stdenv.mkDerivation rec {
44 name = "lesstif-0.95.2";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 ./c-xpmpipethrough.patch
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "An open source clone of the Motif widget set";
2424 homepage = "http://lesstif.sourceforge.net";
2525 platforms = platforms.unix;
pkgs/development/libraries/leveldb/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fixDarwinDylibNames, snappy }:
1+{ lib, stdenv, fetchFromGitHub, fixDarwinDylibNames, snappy }:
22
33stdenv.mkDerivation rec {
44 pname = "leveldb";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 buildInputs = [ snappy ];
1515
1616 nativeBuildInputs = []
17− ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
17+ ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
1818
1919 buildPhase = ''
2020 make all
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 cp out-static/leveldbutil $out/bin
3434 ";
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://github.com/google/leveldb";
3838 description = "Fast and lightweight key/value database library by Google";
3939 license = licenses.bsd3;
pkgs/development/libraries/levmar/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "levmar-2.6";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 meta = {
2323 description = "ANSI C implementations of Levenberg-Marquardt, usable also from C++";
2424 homepage = "https://www.ics.forth.gr/~lourakis/levmar/";
25− license = stdenv.lib.licenses.gpl2Plus;
26− platforms = stdenv.lib.platforms.linux;
25+ license = lib.licenses.gpl2Plus;
26+ platforms = lib.platforms.linux;
2727 };
2828}
pkgs/development/libraries/lib3ds/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 name = "lib3ds-1.3.0";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 description = "Library for managing 3D-Studio Release 3 and 4 \".3DS\" files";
1515 homepage = "http://lib3ds.sourceforge.net/";
1616 license = "LGPL";
17− platforms = stdenv.lib.platforms.unix;
17+ platforms = lib.platforms.unix;
1818 };
1919}
2020
pkgs/development/libraries/lib3mf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, ninja, libuuid, libossp_uuid, gtest }:
1+{ lib, stdenv, fetchFromGitHub, cmake, ninja, libuuid, libossp_uuid, gtest }:
22
33stdenv.mkDerivation rec {
44 pname = "lib3mf";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 sed -i 's,=''${\(exec_\)\?prefix}/,=,' lib3MF.pc.in
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Reference implementation of the 3D Manufacturing Format file standard";
2828 homepage = "https://3mf.io/";
2929 license = licenses.bsd2;
pkgs/development/libraries/libAfterImage/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib }:
1+{ lib, stdenv, fetchurl, zlib }:
22
33stdenv.mkDerivation {
44 pname = "libAfterImage";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515
1616 buildInputs = [ zlib ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "http://www.afterstep.org/afterimage/";
2020 description = "A generic image manipulation library";
2121 platforms = platforms.unix;
pkgs/development/libraries/libHX/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool }:
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
44 name = "libHX-3.22";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 sh autogen.sh
1717 '';
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "http://libhx.sourceforge.net/";
2121 longDescription = ''
2222 libHX is a C library (with some C++ bindings available) that provides data structures
pkgs/development/libraries/libLAS/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, cmake, gdal, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }:
1+{ lib, stdenv, fetchurl, boost, cmake, gdal, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }:
22
33stdenv.mkDerivation rec {
44 name = "libLAS-1.8.1";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0xjfxb3ydvr2258ji3spzyf81g9caap19ql2pk91wiivqsc4mnws";
99 };
1010
11− nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
11+ nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
1212 buildInputs = [ boost gdal libgeotiff libtiff LASzip2 ];
1313
1414 cmakeFlags = [
@@ -20,15 +20,15 @@ stdenv.mkDerivation rec {
2020 "-DCMAKE_EXE_LINKER_FLAGS=-pthread"
2121 ];
2222
23− postFixup = stdenv.lib.optionalString stdenv.isDarwin ''
23+ postFixup = lib.optionalString stdenv.isDarwin ''
2424 install_name_tool -change "@rpath/liblas.3.dylib" "$out/lib/liblas.3.dylib" $out/lib/liblas_c.dylib
2525 '';
2626
2727 meta = {
2828 description = "LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset";
2929 homepage = "https://liblas.org";
30− license = stdenv.lib.licenses.bsd3;
31− platforms = stdenv.lib.platforms.unix;
32− maintainers = [ stdenv.lib.maintainers.michelk ];
30+ license = lib.licenses.bsd3;
31+ platforms = lib.platforms.unix;
32+ maintainers = [ lib.maintainers.michelk ];
3333 };
3434}
pkgs/development/libraries/libaacs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libgcrypt, libgpgerror, yacc, flex }:
1+{ lib, stdenv, fetchurl, libgcrypt, libgpgerror, yacc, flex }:
22
33# library that allows libbluray to play AACS protected bluray disks
44# libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info.
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 nativeBuildInputs = [ yacc flex ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://www.videolan.org/developers/libaacs.html";
2525 description = "Library to access AACS protected Blu-Ray disks";
2626 license = licenses.lgpl21;
pkgs/development/libraries/libaal/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "1.0.6";
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 homepage = "http://www.namesys.com/";
2222 description = "Support library for Reiser4";
23− license = stdenv.lib.licenses.gpl2;
24− maintainers = with stdenv.lib.maintainers; [ ];
25− platforms = with stdenv.lib.platforms; linux;
23+ license = lib.licenses.gpl2;
24+ maintainers = with lib.maintainers; [ ];
25+ platforms = with lib.platforms; linux;
2626 };
2727}
pkgs/development/libraries/libabigail/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, autoreconfHook
44, elfutils
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949 patchShebangs tests/
5050 '';
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 description = "ABI Generic Analysis and Instrumentation Library";
5454 homepage = "https://sourceware.org/libabigail/";
5555 license = licenses.lgpl3Plus;
pkgs/development/libraries/libabw/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, doxygen, gperf, pkg-config, librevenge, libxml2, perl }:
1+{ lib, stdenv, fetchurl, boost, doxygen, gperf, pkg-config, librevenge, libxml2, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "libabw";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 nativeBuildInputs = [ pkg-config ];
1919 buildInputs = [ boost doxygen gperf librevenge libxml2 perl ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libabw";
2323 description = "Library parsing abiword documents";
2424 platforms = platforms.unix;
pkgs/development/libraries/libaccounts-glib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, meson, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
1+{ lib, stdenv, fetchFromGitLab, meson, ninja, glib, check, python3, vala, gtk-doc, glibcLocales
22, libxml2, libxslt, pkg-config, sqlite, docbook_xsl, docbook_xml_dtd_43, gobject-introspection }:
33
44stdenv.mkDerivation rec {
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 "-Dpy-overrides-dir=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
4545 ];
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "Library for managing accounts which can be used from GLib applications";
4949 platforms = platforms.linux;
5050 license = licenses.lgpl21;
pkgs/development/libraries/libaec/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab
1+{ lib, stdenv, fetchFromGitLab
22, cmake
33}:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 cmake
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://gitlab.dkrz.de/k202009/libaec";
2323 description = "Adaptive Entropy Coding library";
2424 license = licenses.bsd2;
pkgs/development/libraries/libagar/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libtool, perl, bsdbuild, gettext, mandoc
1+{ lib, stdenv, fetchurl, pkg-config, libtool, perl, bsdbuild, gettext, mandoc
22, libpng, libjpeg, xlibsWrapper, libXinerama, freetype, SDL, libGLU, libGL
33, libsndfile, portaudio, libmysqlclient, fontconfig
44}:
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
3333 freetype.dev libpng libjpeg.dev fontconfig portaudio libsndfile
3434 ];
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 description = "Cross-platform GUI toolkit";
3838 homepage = "http://libagar.org/index.html";
3939 license = with licenses; bsd3;
pkgs/development/libraries/libagar/libagar_test.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
1+{ lib, stdenv, fetchurl, bsdbuild, libagar, perl, libjpeg, libpng, openssl }:
22
33let srcs = import ./srcs.nix { inherit fetchurl; }; in
44stdenv.mkDerivation {
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717
1818 buildInputs = [ perl bsdbuild libagar libjpeg libpng openssl ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Tests for libagar";
2222 homepage = "http://libagar.org/index.html";
2323 license = with licenses; bsd3;
pkgs/development/libraries/libamqpcpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, openssl }:
1+{ lib, stdenv, fetchFromGitHub, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "libamqpcpp";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Library for communicating with a RabbitMQ server";
2424 homepage = "https://github.com/CopernicaMarketingSoftware/AMQP-CPP";
2525 license = licenses.asl20;
pkgs/development/libraries/libantlr3c/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "libantlr3c-3.4";
@@ -7,9 +7,9 @@ stdenv.mkDerivation {
77 sha256 ="0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa";
88 };
99
10− configureFlags = stdenv.lib.optional stdenv.is64bit "--enable-64bit";
10+ configureFlags = lib.optional stdenv.is64bit "--enable-64bit";
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "C runtime libraries of ANTLR v3";
1414 homepage = "https://www.antlr3.org/";
1515 license = licenses.bsd3;
pkgs/development/libraries/libao/default.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 nativeBuildInputs = [ autoreconfHook pkg-config ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 longDescription = ''
3333 Libao is Xiph.org's cross-platform audio library that allows
3434 programs to output audio using a simple API on a wide variety of
pkgs/development/libraries/libaom/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, yasm, perl, cmake, pkg-config, python3 }:
1+{ lib, stdenv, fetchgit, yasm, perl, cmake, pkg-config, python3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libaom";
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040
4141 outputs = [ "out" "bin" "dev" "static" ];
4242
43− meta = with stdenv.lib; {
43+ meta = with lib; {
4444 description = "Alliance for Open Media AV1 codec library";
4545 longDescription = ''
4646 Libaom is the reference implementation of the AV1 codec from the Alliance
pkgs/development/libraries/libaosd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, cairo, pango,
1+{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, pango,
22 libX11, libXcomposite, autoconf, automake }:
33
44stdenv.mkDerivation rec {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 ./autogen.sh
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 longDescription = ''
2525 libaosd is an advanced on screen display library.
2626
pkgs/development/libraries/libarchive/default.nix+9−9
@@ -1,5 +1,5 @@
11{
2− fetchFromGitHub, stdenv, pkg-config, autoreconfHook,
2+ fetchFromGitHub, lib, stdenv, pkg-config, autoreconfHook,
33 acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib, zstd,
44
55 # Optional but increases closure only negligibly. Also, while libxml2
@@ -25,15 +25,15 @@ stdenv.mkDerivation rec {
2525
2626 nativeBuildInputs = [ pkg-config autoreconfHook ];
2727 buildInputs =
28− stdenv.lib.optional stdenv.hostPlatform.isUnix sharutils
28+ lib.optional stdenv.hostPlatform.isUnix sharutils
2929 ++ [ zlib bzip2 openssl xz lzo zstd ]
30− ++ stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ]
31− ++ stdenv.lib.optional xarSupport libxml2;
30+ ++ lib.optionals stdenv.isLinux [ e2fsprogs attr acl ]
31+ ++ lib.optional xarSupport libxml2;
3232
3333 # Without this, pkg-config-based dependencies are unhappy
34− propagatedBuildInputs = stdenv.lib.optionals stdenv.isLinux [ attr acl ];
34+ propagatedBuildInputs = lib.optionals stdenv.isLinux [ attr acl ];
3535
36− configureFlags = stdenv.lib.optional (!xarSupport) "--without-xml2";
36+ configureFlags = lib.optional (!xarSupport) "--without-xml2";
3737
3838 preBuild = if stdenv.isCygwin then ''
3939 echo "#include <windows.h>" >> config.h
@@ -58,8 +58,8 @@ stdenv.mkDerivation rec {
5858 '';
5959 homepage = "http://libarchive.org";
6060 changelog = "https://github.com/libarchive/libarchive/releases/tag/v${version}";
61− license = stdenv.lib.licenses.bsd3;
62− platforms = with stdenv.lib.platforms; all;
63− maintainers = with stdenv.lib.maintainers; [ jcumming ];
61+ license = lib.licenses.bsd3;
62+ platforms = with lib.platforms; all;
63+ maintainers = with lib.maintainers; [ jcumming ];
6464 };
6565}
pkgs/development/libraries/libargon2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, fixDarwinDylibNames }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, fixDarwinDylibNames }:
22
33stdenv.mkDerivation rec {
44 pname = "libargon2";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 "PKGCONFIG_REL=lib"
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "A key derivation function that was selected as the winner of the Password Hashing Competition in July 2015";
3434 longDescription = ''
3535 A password-hashing function created by by Alex Biryukov, Daniel Dinu, and
pkgs/development/libraries/libasr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libevent, openssl }:
1+{ lib, stdenv, fetchurl, libevent, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "libasr";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ libevent openssl ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://github.com/OpenSMTPD/libasr";
1616 description = "Free, simple and portable asynchronous resolver library";
1717 license = licenses.isc;
pkgs/development/libraries/libass/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, yasm
1+{ lib, stdenv, fetchurl, pkg-config, yasm
22, freetype, fribidi, harfbuzz
33, encaSupport ? true, enca ? null # enca support
44, fontconfigSupport ? true, fontconfig ? null # fontconfig support
@@ -14,7 +14,7 @@ let
1414 mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
1515in
1616
17−with stdenv.lib;
17+with lib;
1818stdenv.mkDerivation rec {
1919 pname = "libass";
2020 version = "0.15.0";
pkgs/development/libraries/libassuan/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, gettext, npth, libgpgerror, buildPackages }:
1+{ fetchurl, lib, stdenv, gettext, npth, libgpgerror, buildPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "libassuan";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 sed -i 's,#include <gpg-error.h>,#include "${libgpgerror.dev}/include/gpg-error.h",g' $dev/include/assuan.h
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "IPC library used by GnuPG and related software";
3131 longDescription = ''
3232 Libassuan is a small library implementing the so-called Assuan
pkgs/development/libraries/libast/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, pkg-config }:
33
44stdenv.mkDerivation rec {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Library of Assorted Spiffy Things";
1717 homepage = "https://www.eterm.org";
1818 license = licenses.bsd2;
pkgs/development/libraries/libasyncns/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libasyncns-0.8";
@@ -8,12 +8,12 @@ stdenv.mkDerivation rec {
88 sha256 = "0x5b6lcic4cd7q0bx00x93kvpyzl7n2abbgvqbrlzrfb8vknc6jg";
99 };
1010
11− configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
11+ configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
1212 "ac_cv_func_malloc_0_nonnull=yes"
1313 "ac_cv_func_realloc_0_nonnull=yes"
1414 ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://0pointer.de/lennart/projects/libasyncns/";
1818 description = "A C library for Linux/Unix for executing name service queries asynchronously";
1919 license = licenses.lgpl21;
pkgs/development/libraries/libatomic_ops/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool }:
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "libatomic_ops";
@@ -14,17 +14,17 @@ stdenv.mkDerivation rec {
1414
1515 outputs = [ "out" "dev" "doc" ];
1616
17− nativeBuildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
17+ nativeBuildInputs = lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
1818
19− preConfigure = stdenv.lib.optionalString stdenv.isCygwin ''
19+ preConfigure = lib.optionalString stdenv.isCygwin ''
2020 sed -i -e "/libatomic_ops_gpl_la_SOURCES/a libatomic_ops_gpl_la_LIBADD = libatomic_ops.la" src/Makefile.am
2121 ./autogen.sh
2222 '';
2323
2424 meta = {
2525 description = ''A library for semi-portable access to hardware-provided atomic memory update operations'';
26− license = stdenv.lib.licenses.gpl2Plus ;
27− maintainers = [stdenv.lib.maintainers.raskin];
28− platforms = with stdenv.lib.platforms; unix ++ windows;
26+ license = lib.licenses.gpl2Plus ;
27+ maintainers = [lib.maintainers.raskin];
28+ platforms = with lib.platforms; unix ++ windows;
2929 };
3030}
pkgs/development/libraries/libaudclient/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, dbus-glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, dbus-glib }:
22
33stdenv.mkDerivation rec {
44 name = "libaudclient-3.5-rc2";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ glib dbus-glib ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Legacy D-Bus client library for Audacious";
1717 homepage = "https://audacious-media-player.org/";
1818 license = licenses.bsd2;
pkgs/development/libraries/libav/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, yasm, bzip2, zlib, perl, bash
1+{ lib, stdenv, fetchurl, pkg-config, yasm, bzip2, zlib, perl, bash
22, mp3Support ? true, lame ? null
33, speexSupport ? true, speex ? null
44, theoraSupport ? true, libtheora ? null
@@ -17,7 +17,7 @@
1717
1818assert faacSupport -> enableUnfree;
1919
20−let inherit (stdenv.lib) optional hasPrefix enableFeature; in
20+let inherit (lib) optional hasPrefix enableFeature; in
2121
2222/* ToDo:
2323 - more deps, inspiration: https://packages.ubuntu.com/raring/libav-tools
@@ -52,7 +52,7 @@ let
5252 '';
5353
5454 configurePlatforms = [];
55− configureFlags = assert stdenv.lib.all (x: x!=null) buildInputs; [
55+ configureFlags = assert lib.all (x: x!=null) buildInputs; [
5656 "--arch=${stdenv.hostPlatform.parsed.cpu.name}"
5757 "--target_os=${stdenv.hostPlatform.parsed.kernel.name}"
5858 #"--enable-postproc" # it's now a separate package in upstream
@@ -120,7 +120,7 @@ let
120120
121121 passthru = { inherit vdpauSupport; };
122122
123− meta = with stdenv.lib; {
123+ meta = with lib; {
124124 homepage = "https://libav.org/";
125125 description = "A complete, cross-platform solution to record, convert and stream audio and video (fork of ffmpeg)";
126126 license = with licenses; if enableUnfree then unfree #ToDo: redistributable or not?
pkgs/development/libraries/libavc1394/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libraw1394 }:
1+{ lib, stdenv, fetchurl, pkg-config, libraw1394 }:
22
33stdenv.mkDerivation rec {
44 name = "libavc1394-0.5.4";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 meta = {
1515 description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set";
1616 homepage = "https://sourceforge.net/projects/libavc1394/";
17− license = stdenv.lib.licenses.lgpl21Plus;
18− platforms = stdenv.lib.platforms.linux;
17+ license = lib.licenses.lgpl21Plus;
18+ platforms = lib.platforms.linux;
1919 };
2020}
pkgs/development/libraries/libavif/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, libaom
44, cmake
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 dav1d
4444 ];
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "C implementation of the AV1 Image File Format";
4848 longDescription = ''
4949 Libavif aims to be a friendly, portable C implementation of the
pkgs/development/libraries/libayatana-appindicator/default.nix+1−1
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939
4040 configureFlags = [ "--with-gtk=${gtkVersion}" ];
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Ayatana Application Indicators Shared Library";
4444 homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
4545 changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
pkgs/development/libraries/libayatana-indicator/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 configureFlags = [ "--with-gtk=${gtkVersion}" ];
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Ayatana Indicators Shared Library";
3030 homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
3131 changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
pkgs/development/libraries/libb2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libb2";
@@ -16,13 +16,13 @@ stdenv.mkDerivation rec {
1616 ./autogen.sh
1717 '';
1818
19− configureFlags = stdenv.lib.optional stdenv.hostPlatform.isx86 "--enable-fat=yes";
19+ configureFlags = lib.optional stdenv.hostPlatform.isx86 "--enable-fat=yes";
2020
2121 nativeBuildInputs = [ autoconf automake libtool pkg-config ];
2222
2323 doCheck = true;
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "The BLAKE2 family of cryptographic hash functions";
2727 homepage = "https://blake2.net/";
2828 platforms = platforms.all;
pkgs/development/libraries/libb64/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 pname = "libb64";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 inherit version;
2323 description = "ANSI C routines for fast base64 encoding/decoding";
24− license = stdenv.lib.licenses.publicDomain;
25− platforms = stdenv.lib.platforms.unix;
24+ license = lib.licenses.publicDomain;
25+ platforms = lib.platforms.unix;
2626 };
2727}
pkgs/development/libraries/libbacktrace/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, callPackage, fetchFromGitHub
1+{ lib, stdenv, callPackage, fetchFromGitHub
22, enableStatic ? stdenv.hostPlatform.isStatic
33, enableShared ? !stdenv.hostPlatform.isStatic
44}:
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
1717 "--enable-static=${yesno enableStatic}"
1818 "--enable-shared=${yesno enableShared}"
1919 ];
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A C library that may be linked into a C/C++ program to produce symbolic backtraces";
2222 homepage = https://github.com/ianlancetaylor/libbacktrace;
2323 maintainers = with maintainers; [ twey ];
pkgs/development/libraries/libbap/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, bap, ocaml, findlib, ctypes, autoreconfHook,
1+{ lib, stdenv, fetchFromGitHub, bap, ocaml, findlib, ctypes, autoreconfHook,
22 which }:
33
44stdenv.mkDerivation {
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 mkdir -p $out/include
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://github.com/binaryanalysisplatform/bap-bindings";
2525 description = "A C library for interacting with BAP";
2626 maintainers = [ maintainers.maurer ];
pkgs/development/libraries/libbdplus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libgcrypt, libgpgerror, gettext }:
1+{ lib, stdenv, fetchurl, libgcrypt, libgpgerror, gettext }:
22
33# library that allows libbluray to play BDplus protected bluray disks
44# libaacs does not infringe DRM's right or copyright. See the legal page of the website for more info.
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 nativeBuildInputs = [ ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://www.videolan.org/developers/libbdplus.html";
2525 description = "Library to access BD+ protected Blu-Ray disks";
2626 license = licenses.lgpl21;
pkgs/development/libraries/libbfd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchpatch, gnu-config, autoreconfHook, bison, binutils-unwrapped
33, libiberty, zlib
44}:
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
4343
4444 enableParallelBuilding = true;
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A library for manipulating containers of machine code";
4848 longDescription = ''
4949 BFD is a library which provides a single interface to read and write
pkgs/development/libraries/libblockdev/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, substituteAll, autoreconfHook, pkg-config, gtk-doc
1+{ lib, stdenv, fetchFromGitHub, substituteAll, autoreconfHook, pkg-config, gtk-doc
22, docbook_xml_dtd_43, python3, gobject-introspection, glib, udev, kmod, parted
33, cryptsetup, lvm2, dmraid, util-linux, libbytesize, libndctl, nss, volume_key
44, libxslt, docbook_xsl, gptfdisk, libyaml, autoconf-archive
@@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
4040
4141 postInstall = ''
4242 wrapProgram $out/bin/lvm-cache-stats --prefix PATH : \
43− ${stdenv.lib.makeBinPath [ thin-provisioning-tools ]}
43+ ${lib.makeBinPath [ thin-provisioning-tools ]}
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A library for manipulating block devices";
4848 homepage = "http://storaged.org/libblockdev/";
4949 license = with licenses; [ lgpl2Plus gpl2Plus ]; # lgpl2Plus for the library, gpl2Plus for the utils
pkgs/development/libraries/libblocksruntime/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, clang }:
1+{ lib, stdenv, fetchFromGitHub, clang }:
22
33stdenv.mkDerivation {
44 name = "blocksruntime-20140624";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525
2626 installPhase = ''prefix="/" DESTDIR=$out ./installlib'';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Installs the BlocksRuntime library from the compiler-rt";
3030 homepage = "https://github.com/mackyle/blocksruntime";
3131 license = licenses.mit;
pkgs/development/libraries/libbluedevil/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, qt4 }:
1+{ lib, stdenv, fetchurl, cmake, qt4 }:
22
33stdenv.mkDerivation rec {
44 pname = "libbluedevil";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 buildInputs = [ qt4 ];
1616
1717 meta = {
18− platforms = stdenv.lib.platforms.unix;
19− license = stdenv.lib.licenses.gpl2Plus;
18+ platforms = lib.platforms.unix;
19+ license = lib.licenses.gpl2Plus;
2020 };
2121}
pkgs/development/libraries/libbluray/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration
1+{ lib, stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration
22, withJava ? false, jdk ? null, ant ? null
33, withAACS ? false, libaacs ? null
44, withBDplus ? false, libbdplus ? null
@@ -6,7 +6,7 @@
66, withFonts ? true, freetype ? null
77}:
88
9−with stdenv.lib;
9+with lib;
1010
1111assert withJava -> jdk != null && ant != null;
1212assert withAACS -> libaacs != null;
@@ -50,13 +50,13 @@ stdenv.mkDerivation rec {
5050 ${optionalString withJava ''export JDK_HOME="${jdk.home}"''}
5151 '';
5252
53− configureFlags = with stdenv.lib;
53+ configureFlags = with lib;
5454 optional (! withJava) "--disable-bdjava-jar"
5555 ++ optional (! withMetadata) "--without-libxml2"
5656 ++ optional (! withFonts) "--without-freetype"
5757 ;
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 homepage = "http://www.videolan.org/developers/libbluray.html";
6161 description = "Library to access Blu-Ray disks for video playback";
6262 license = licenses.lgpl21;
pkgs/development/libraries/libbsd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libbsd";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 patches = [ ./darwin.patch ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Common functions found on BSD systems";
2020 homepage = "https://libbsd.freedesktop.org/";
2121 license = licenses.bsd3;
pkgs/development/libraries/libbson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, perl, stdenv, cmake }:
1+{ fetchFromGitHub, perl, lib, stdenv, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libbson";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ perl ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A C Library for parsing, editing, and creating BSON documents";
1919 homepage = "https://github.com/mongodb/libbson";
2020 license = licenses.asl20;
pkgs/development/libraries/libburn/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libburn";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "1xrp9c2sppbds0agqzmdym7rvdwpjrq6v6q2c3718cwvbjmh66c8";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 homepage = "http://libburnia-project.org/";
1414 description = "A library by which preformatted data get onto optical media: CD, DVD, BD (Blu-Ray)";
1515 license = licenses.gpl2Plus;
pkgs/development/libraries/libbytesize/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
22, gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl
33, python3, pcre2, gmp, mpfr
44}:
@@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
2222
2323 buildInputs = [ pcre2 gmp mpfr ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A tiny library providing a C “class” for working with arbitrary big sizes in bytes";
2727 homepage = src.meta.homepage;
2828 license = licenses.lgpl2Plus;
pkgs/development/libraries/libcaca/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses, zlib, pkg-config, imlib2
1+{ lib, stdenv, fetchurl, ncurses, zlib, pkg-config, imlib2
22, x11Support ? !stdenv.isDarwin, libX11, libXext
33}:
44
@@ -19,12 +19,12 @@ stdenv.mkDerivation rec {
1919 (if x11Support then "--enable-x11" else "--disable-x11")
2020 ];
2121
22− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!x11Support) "-DX_DISPLAY_MISSING";
22+ NIX_CFLAGS_COMPILE = lib.optionalString (!x11Support) "-DX_DISPLAY_MISSING";
2323
2424 enableParallelBuilding = true;
2525
2626 propagatedBuildInputs = [ ncurses zlib pkg-config (imlib2.override { inherit x11Support; }) ]
27− ++ stdenv.lib.optionals x11Support [ libX11 libXext ];
27+ ++ lib.optionals x11Support [ libX11 libXext ];
2828
2929 postInstall = ''
3030 mkdir -p $dev/bin
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 meta = {
3535 homepage = "http://libcaca.zoy.org/";
3636 description = "A graphics library that outputs text instead of pixels";
37− license = stdenv.lib.licenses.wtfpl;
38− platforms = stdenv.lib.platforms.unix;
37+ license = lib.licenses.wtfpl;
38+ platforms = lib.platforms.unix;
3939 };
4040}
pkgs/development/libraries/libcacard/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, nss }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, nss }:
22
33stdenv.mkDerivation rec {
44 pname = "libcacard";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ glib nss ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Smart card emulation library";
1717 homepage = "https://gitlab.freedesktop.org/spice/libcacard";
1818 license = licenses.lgpl21;
pkgs/development/libraries/libcanberra/default.nix+3−3
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 })
3131 ];
3232
33− postPatch = (stdenv.lib.optional stdenv.isDarwin) ''
33+ postPatch = (lib.optional stdenv.isDarwin) ''
3434 patch -p0 < ${fetchpatch {
3535 url = "https://raw.githubusercontent.com/macports/macports-ports/master/audio/libcanberra/files/patch-configure.diff";
3636 sha256 = "1f7h7ifpqvbfhqygn1b7klvwi80zmpv3538vbmq7ql7bkf1q8h31";
@@ -60,9 +60,9 @@ stdenv.mkDerivation rec {
6060
6161 homepage = "http://0pointer.de/lennart/projects/libcanberra/";
6262
63− license = stdenv.lib.licenses.lgpl2Plus;
63+ license = lib.licenses.lgpl2Plus;
6464
6565 maintainers = [ ];
66− platforms = stdenv.lib.platforms.unix;
66+ platforms = lib.platforms.unix;
6767 };
6868}
pkgs/development/libraries/libcangjie/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkg-config, sqlite }:
1+{ lib, stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkg-config, sqlite }:
22
33stdenv.mkDerivation rec {
44 pname = "libcangjie";
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
2727 libcangjie is a library implementing the Cangjie input method.
2828 '';
2929 homepage = "http://cangjians.github.io/projects/libcangjie/";
30− license = stdenv.lib.licenses.lgpl3Plus;
30+ license = lib.licenses.lgpl3Plus;
3131
32− maintainers = [ stdenv.lib.maintainers.linquize ];
33− platforms = stdenv.lib.platforms.all;
32+ maintainers = [ lib.maintainers.linquize ];
33+ platforms = lib.platforms.all;
3434 };
3535}
pkgs/development/libraries/libcbor/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, cmocka }:
1+{ lib, stdenv, fetchFromGitHub, cmake, cmocka }:
22
33stdenv.mkDerivation rec {
44 pname = "libcbor";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" "-DBUILD_SHARED_LIBS=on" ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "CBOR protocol implementation for C and others";
2323 homepage = "https://github.com/PJK/libcbor";
2424 license = licenses.mit;
pkgs/development/libraries/libcdaudio/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "libcdaudio-0.99.12p2";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 meta = {
1111 description = "A portable library for controlling audio CDs";
1212 homepage = "http://libcdaudio.sourceforge.net";
13− platforms = stdenv.lib.platforms.linux;
14− license = stdenv.lib.licenses.lgpl2;
13+ platforms = lib.platforms.linux;
14+ license = lib.licenses.lgpl2;
1515 };
1616}
pkgs/development/libraries/libcddb/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libiconv }:
1+{ lib, stdenv, fetchurl, libiconv }:
22
33stdenv.mkDerivation rec {
44 name = "libcddb-1.3.2";
@@ -8,16 +8,16 @@ stdenv.mkDerivation rec {
88 sha256 = "0fr21a7vprdyy1bq6s99m0x420c9jm5fipsd63pqv8qyfkhhxkim";
99 };
1010
11− buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
11+ buildInputs = lib.optional stdenv.isDarwin libiconv;
1212
13− configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
13+ configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
1414 "ac_cv_func_malloc_0_nonnull=yes"
1515 "ac_cv_func_realloc_0_nonnull=yes"
1616 ];
1717
1818 doCheck = false; # fails 3 of 5 tests with locale errors
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "C library to access data on a CDDB server (freedb.org)";
2222 homepage = "http://libcddb.sourceforge.net/";
2323 license = licenses.lgpl2Plus;
pkgs/development/libraries/libcdio-paranoia/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkg-config,
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkg-config,
22 libiconv, IOKit, DiskArbitration}:
33
44stdenv.mkDerivation {
@@ -13,15 +13,15 @@ stdenv.mkDerivation {
1313
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 buildInputs = [ libcdio ] ++
16− stdenv.lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
16+ lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
1717
18− propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin DiskArbitration;
18+ propagatedBuildInputs = lib.optional stdenv.isDarwin DiskArbitration;
1919
20− configureFlags = stdenv.lib.optionals stdenv.isDarwin [
20+ configureFlags = lib.optionals stdenv.isDarwin [
2121 "--disable-ld-version-script"
2222 ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "CD paranoia on top of libcdio";
2626 longDescription = ''
2727 This is a port of xiph.org's cdda paranoia to use libcdio for CDROM
pkgs/development/libraries/libcdio/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libcddb, pkg-config, ncurses, help2man, libiconv, Carbon, IOKit }:
1+{ lib, stdenv, fetchurl, libcddb, pkg-config, ncurses, help2man, libiconv, Carbon, IOKit }:
22
33stdenv.mkDerivation rec {
44 name = "libcdio-2.1.0";
@@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
1414
1515 nativeBuildInputs = [ pkg-config help2man ];
1616 buildInputs = [ libcddb ncurses ]
17− ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Carbon IOKit ];
17+ ++ lib.optionals stdenv.isDarwin [ libiconv Carbon IOKit ];
1818
1919 doCheck = !stdenv.isDarwin;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A library for OS-independent CD-ROM and CD image access";
2323 longDescription = ''
2424 GNU libcdio is a library for OS-independent CD-ROM and
pkgs/development/libraries/libcdr/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libwpg, libwpd, lcms, pkg-config, librevenge, icu, boost, cppunit }:
1+{ lib, stdenv, fetchurl, libwpg, libwpd, lcms, pkg-config, librevenge, icu, boost, cppunit }:
22
33stdenv.mkDerivation rec {
44 name = "libcdr-0.1.6";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 description = "A library providing ability to interpret and import Corel Draw drawings into various applications";
1919 homepage = "http://www.freedesktop.org/wiki/Software/libcdr";
20− platforms = stdenv.lib.platforms.all;
21− license = stdenv.lib.licenses.mpl20;
20+ platforms = lib.platforms.all;
21+ license = lib.licenses.mpl20;
2222 };
2323}
pkgs/development/libraries/libcec/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
1+{ lib, stdenv, fetchurl, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
22
33let version = "4.0.7"; in
44
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 nativeBuildInputs = [ pkg-config cmake ];
1515 buildInputs = [ udev libcec_platform ] ++
16− stdenv.lib.optional (libraspberrypi != null) libraspberrypi;
16+ lib.optional (libraspberrypi != null) libraspberrypi;
1717
1818 cmakeFlags = [ "-DBUILD_SHARED_LIBS=1" ];
1919
@@ -22,11 +22,11 @@ stdenv.mkDerivation {
2222 substituteInPlace include/cecloader.h --replace "libcec.so" "$out/lib/libcec.so"
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling";
2727 homepage = "http://libcec.pulse-eight.com";
2828 repositories.git = "https://github.com/Pulse-Eight/libcec.git";
29− license = stdenv.lib.licenses.gpl2Plus;
29+ license = lib.licenses.gpl2Plus;
3030 platforms = platforms.linux;
3131 maintainers = [ maintainers.titanous ];
3232 };
pkgs/development/libraries/libcec/platform.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33let version = "2.1.0.1"; in
44
@@ -13,11 +13,11 @@ stdenv.mkDerivation {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Platform library for libcec and Kodi addons";
1818 homepage = "https://github.com/Pulse-Eight/platform";
1919 repositories.git = "https://github.com/Pulse-Eight/platform.git";
20− license = stdenv.lib.licenses.gpl2Plus;
20+ license = lib.licenses.gpl2Plus;
2121 platforms = platforms.linux;
2222 maintainers = [ maintainers.titanous ];
2323 };
pkgs/development/libraries/libcef/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, alsaLib, atk, cairo, cups, dbus, expat, fontconfig
1+{ lib, stdenv, fetchurl, cmake, alsaLib, atk, cairo, cups, dbus, expat, fontconfig
22, GConf, gdk-pixbuf, glib, gtk2, libX11, libxcb, libXcomposite, libXcursor
33, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender, libXScrnSaver
44, libXtst, nspr, nss, pango, libpulseaudio, systemd, at-spi2-atk, at-spi2-core
@@ -6,7 +6,7 @@
66
77let
88 libPath =
9− stdenv.lib.makeLibraryPath [
9+ lib.makeLibraryPath [
1010 alsaLib atk cairo cups dbus expat fontconfig GConf gdk-pixbuf glib gtk2
1111 libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi
1212 libXrandr libXrender libXScrnSaver libXtst nspr nss pango libpulseaudio
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 cp -r ../include $out/
3939 '';
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "Simple framework for embedding Chromium-based browsers in other applications";
4343 homepage = "http://opensource.spotify.com/cefbuilds/index.html";
4444 maintainers = with maintainers; [ puffnfresh ];
pkgs/development/libraries/libcello/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libcello";
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414 meta = {
1515 homepage = "http://libcello.org/";
1616 description = "Higher level programming in C";
17− license = stdenv.lib.licenses.bsd3;
18− maintainers = [ stdenv.lib.maintainers.MostAwesomeDude ];
19− platforms = stdenv.lib.platforms.unix;
17+ license = lib.licenses.bsd3;
18+ maintainers = [ lib.maintainers.MostAwesomeDude ];
19+ platforms = lib.platforms.unix;
2020 };
2121}
pkgs/development/libraries/libchamplain/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkg-config, glib, gtk3, cairo, sqlite, gnome3
1+{ fetchurl, lib, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkg-config, glib, gtk3, cairo, sqlite, gnome3
22, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }:
33
44stdenv.mkDerivation rec {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 version = "0.12.20";
77
88 src = fetchurl {
9− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2";
1111 };
1212
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 };
3030 };
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 homepage = "https://wiki.gnome.org/Projects/libchamplain";
3434 license = licenses.lgpl2Plus;
3535
pkgs/development/libraries/libchardet/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl }:
1+{ lib, stdenv, fetchFromGitHub, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "libchardet";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 enableParallelBuilding = true;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Mozilla's Universal Charset Detector C/C++ API";
2020 homepage = "ftp://ftp.oops.org/pub/oops/libchardet/index.html";
2121 license = licenses.mpl11;
pkgs/development/libraries/libchewing/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, sqlite }:
1+{ lib, stdenv, fetchurl, sqlite }:
22
33stdenv.mkDerivation rec {
44 pname = "libchewing";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ sqlite ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Intelligent Chinese phonetic input method";
1616 homepage = "http://chewing.im/";
1717 license = licenses.lgpl21;
pkgs/development/libraries/libchop/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, zlib, bzip2, libgcrypt
1+{ fetchurl, lib, stdenv, zlib, bzip2, libgcrypt
22, gdbm, gperf, tdb, gnutls, db, libuuid
33, lzo, pkg-config, guile, rpcsvc-proto, libtirpc
44}:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 sed -re 's%@GUILE@%&/guile%' -i */Makefile.* Makefile.*
3333 '';
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "Tools & library for data backup and distributed storage";
3737
3838 longDescription =
pkgs/development/libraries/libck/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "ck";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 dontDisableStatic = true;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "High-performance concurrency research library";
1818 longDescription = ''
1919 Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures for the research, design and implementation of high performance concurrent systems.
pkgs/development/libraries/libclc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python, llvmPackages }:
1+{ lib, stdenv, fetchFromGitHub, python, llvmPackages }:
22
33let
44 llvm = llvmPackages.llvm;
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
3030
3131 enableParallelBuilding = true;
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 homepage = "http://libclc.llvm.org/";
3535 description = "Implementation of the library requirements of the OpenCL C programming language";
3636 license = licenses.mit;
pkgs/development/libraries/libcli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchurl }:
1+{ lib, stdenv, fetchFromGitHub, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libcli";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 makeFlags = [ "PREFIX=$(out)" ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Emulate a Cisco-style telnet command-line interface";
2727 homepage = "http://sites.dparrish.com/libcli";
2828 license = licenses.lgpl21Plus;
pkgs/development/libraries/libcloudproviders/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, glib }:
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gobject-introspection, vala, gtk-doc, docbook_xsl, glib }:
22
33# TODO: Add installed tests once https://gitlab.gnome.org/World/libcloudproviders/issues/4 is fixed
44
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 buildInputs = [ glib ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "DBus API that allows cloud storage sync clients to expose their services";
2626 homepage = "https://gitlab.gnome.org/World/libcloudproviders";
2727 license = licenses.lgpl3Plus;
pkgs/development/libraries/libclthreads/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libclthreads";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 ln $out/lib/libclthreads.so $out/lib/libclthreads.so.2
3131 '';
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Zita thread library";
3535 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
3636 license = licenses.lgpl21;
pkgs/development/libraries/libclxclient/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libclthreads, libX11, libXft, xorg, pkg-config }:
1+{ lib, stdenv, fetchurl, libclthreads, libX11, libXft, xorg, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libclxclient";
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 ln $out/lib/libclxclient.so $out/lib/libclxclient.so.3
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Zita X11 library";
4444 homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
4545 license = licenses.lgpl21;
pkgs/development/libraries/libcmis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
1+{ lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
22
33stdenv.mkDerivation rec {
44 pname = "libcmis";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 enableParallelBuilding = true;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "C++ client library for the CMIS interface";
2828 homepage = "https://sourceforge.net/projects/libcmis/";
2929 license = licenses.gpl2;
pkgs/development/libraries/libco-canonical/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchFromGitHub, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "libco-canonical";
pkgs/development/libraries/libcollectdclient/default.nix+3−3
@@ -1,5 +1,5 @@
1−{ stdenv, collectd }:
2−with stdenv.lib;
1+{ lib, stdenv, collectd }:
2+with lib;
33
44collectd.overrideAttrs (oldAttrs: {
55 name = "libcollectdclient-${collectd.version}";
@@ -12,7 +12,7 @@ collectd.overrideAttrs (oldAttrs: {
1212
1313 postInstall = "rm -rf $out/{bin,etc,sbin,share}";
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "C Library for collectd, a daemon which collects system performance statistics periodically";
1717 homepage = "http://collectd.org";
1818 license = licenses.gpl2;
pkgs/development/libraries/libcommuni/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, qtbase, qtdeclarative, qmake, which
33}:
44
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 # Hack to avoid TMPDIR in RPATHs.
3535 preFixup = "rm -rf lib";
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A cross-platform IRC framework written with Qt";
3939 homepage = "https://communi.github.io";
4040 license = licenses.bsd3;
pkgs/development/libraries/libconfig/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libconfig";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 doCheck = true;
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://www.hyperrealm.com/libconfig";
1616 description = "A simple library for processing structured configuration files";
1717 license = licenses.lgpl3;
pkgs/development/libraries/libconfuse/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, flex }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex }:
22
33stdenv.mkDerivation rec {
44 pname = "libconfuse";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 doInstallCheck = true;
2626 installCheckTarget = "check";
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 inherit (src.meta) homepage;
3030 description = "Small configuration file parser library for C";
3131 longDescription = ''
pkgs/development/libraries/libcouchbase/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libevent, openssl}:
22
33stdenv.mkDerivation rec {
44 pname = "libcouchbase";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 doCheck = !stdenv.isDarwin;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "C client library for Couchbase";
2828 homepage = "https://github.com/couchbase/libcouchbase";
2929 license = licenses.asl20;
pkgs/development/libraries/libcrafter/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, autoconf, automake, libtool, libpcap }:
1+{ lib, stdenv, fetchzip, autoconf, automake, libtool, libpcap }:
22
33stdenv.mkDerivation rec {
44 pname = "libcrafter";
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
2222 meta = {
2323 homepage = "https://github.com/pellegre/libcrafter";
2424 description = "High level C++ network packet sniffing and crafting library";
25− license = stdenv.lib.licenses.bsd3;
26− maintainers = [ stdenv.lib.maintainers.lethalman ];
27− platforms = stdenv.lib.platforms.unix;
25+ license = lib.licenses.bsd3;
26+ maintainers = [ lib.maintainers.lethalman ];
27+ platforms = lib.platforms.unix;
2828 };
2929}
pkgs/development/libraries/libcredis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "libcredis-0.2.3";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 cp -v *.h "$out/include/"
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "C client library for Redis (key-value database)";
2424 homepage = "https://code.google.com/archive/p/credis/";
2525 license = licenses.bsd3; # from homepage
pkgs/development/libraries/libcrossguid/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libuuid }:
1+{ lib, stdenv, fetchFromGitHub, libuuid }:
22
33stdenv.mkDerivation rec {
44 name = "lib" + pname + "-" + version;
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 install -D -m644 guid.h "$out/include/guid.h"
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Lightweight cross platform C++ GUID/UUID library";
2929 license = licenses.mit;
3030 maintainers = with maintainers; [ edwtjo ];
pkgs/development/libraries/libcryptui/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, intltool, glib, gnome3, gtk3, gnupg22, gpgme, dbus-glib, libgnome-keyring }:
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, intltool, glib, gnome3, gtk3, gnupg22, gpgme, dbus-glib, libgnome-keyring }:
22
33stdenv.mkDerivation rec {
44 pname = "libcryptui";
55 version = "3.12.2";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "0rh8wa5k2iwbwppyvij2jdxmnlfjbna7kbh2a5n7zw4nnjkx3ski";
1010 };
1111
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 };
2626 };
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Interface components for OpenPGP";
3030 homepage = "https://gitlab.gnome.org/GNOME/libcryptui";
3131 license = licenses.lgpl21Plus;
pkgs/development/libraries/libcsptr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libcsptr";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Smart pointer constructs for the (GNU) C programming language";
1818 homepage = "https://github.com/Snaipe/libcsptr";
1919 license = licenses.mit;
pkgs/development/libraries/libctb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22stdenv.mkDerivation rec {
33 pname = "libctb";
44 version = "0.16";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 makeFlags = [
1414 "prefix=$(out)"
1515 ];
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Communications toolbox";
1818 homepage = "https://iftools.com";
1919 license = licenses.lgpl2;
pkgs/development/libraries/libctemplate/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python3, autoconf, automake, libtool }:
1+{ lib, stdenv, fetchFromGitHub, python3, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "ctemplate";
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
2929 embed application logic in this template language.
3030 '';
3131 homepage = "https://github.com/OlafvdSpek/ctemplate";
32− license = stdenv.lib.licenses.bsd3;
32+ license = lib.licenses.bsd3;
3333 };
3434}
pkgs/development/libraries/libcue/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, bison, flex }:
1+{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
22
33stdenv.mkDerivation rec {
44 pname = "libcue";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 doCheck = false; # fails all the tests (ctest)
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "CUE Sheet Parser Library";
2020 longDescription = ''
2121 libcue is intended to parse a so called cue sheet from a char string or
pkgs/development/libraries/libcutl/default.nix+2−2
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, xercesc }:
1+{ lib, stdenv, fetchurl, xercesc }:
22
33stdenv.mkDerivation rec {
44 pname = "libcutl";
55 version = "1.10.0";
66
7− meta = with stdenv.lib; {
7+ meta = with lib; {
88 description = "C++ utility library from Code Synthesis";
99 longDescription = ''
1010 libcutl is a C++ utility library.
pkgs/development/libraries/libdaemon/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "libdaemon-0.14";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 patches = [ ./fix-includes.patch ];
1212
1313 configureFlags = [ "--disable-lynx" ]
14− ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
14+ ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
1515 [ # Can't run this test while cross-compiling
1616 "ac_cv_func_setpgrp_void=yes"
1717 ];
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 meta = {
2020 description = "Lightweight C library that eases the writing of UNIX daemons";
2121 homepage = "http://0pointer.de/lennart/projects/libdaemon/";
22− license = stdenv.lib.licenses.lgpl2Plus;
23− platforms = stdenv.lib.platforms.unix;
22+ license = lib.licenses.lgpl2Plus;
23+ platforms = lib.platforms.unix;
2424 };
2525}
pkgs/development/libraries/libdap/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bison, libuuid, curl, libxml2, flex }:
1+{ lib, stdenv, fetchurl, bison, libuuid, curl, libxml2, flex }:
22
33stdenv.mkDerivation rec {
44 version = "3.20.6";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 sha256 = "0jn5bi8k2lq6mmrsw7r1r5aviyf8gb39b2iy20v4kpkj5napzk1m";
1313 };
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A C++ SDK which contains an implementation of DAP";
1717 homepage = "https://www.opendap.org/software/libdap";
1818 license = licenses.lgpl2;
pkgs/development/libraries/libdatrie/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, makeWrapper
1+{ lib, stdenv, fetchFromGitHub, makeWrapper
22, autoreconfHook, autoconf-archive
33, installShellFiles, libiconv }:
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 installShellFiles
2121 ];
2222
23− buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
23+ buildInputs = lib.optional stdenv.isDarwin libiconv;
2424
2525 preAutoreconf = let
2626 reports = "https://github.com/tlwg/libdatrie/issues";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 installManPage man/trietool.1
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 homepage = "https://linux.thai.net/~thep/datrie/datrie.html";
3939 description = "This is an implementation of double-array structure for representing trie";
4040 license = licenses.lgpl21Plus;
pkgs/development/libraries/libdazzle/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ninja, meson, pkg-config, vala, gobject-introspection, libxml2
1+{ lib, stdenv, fetchurl, ninja, meson, pkg-config, vala, gobject-introspection, libxml2
22, gtk-doc, docbook_xsl, docbook_xml_dtd_43, dbus, xvfb_run, glib, gtk3, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 outputBin = "dev";
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ url = "mirror://gnome/sources/libdazzle/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1313 sha256 = "13v7s46cgw135ycx0byn7am4inn33slrhljq0v0wwfwl2y1g52p1";
1414 };
1515
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 };
3535 };
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A library to delight your users with fancy features";
3939 longDescription = ''
4040 The libdazzle library is a companion library to GObject and GTK. It
pkgs/development/libraries/libdbi-drivers/default.nix+2−2
@@ -1,10 +1,10 @@
1−{ stdenv, fetchurl, libdbi
1+{ lib, stdenv, fetchurl, libdbi
22, libmysqlclient ? null
33, sqlite ? null
44, postgresql ? null
55}:
66
7−with stdenv.lib;
7+with lib;
88stdenv.mkDerivation rec {
99 name = "libdbi-drivers-0.9.0";
1010
pkgs/development/libraries/libdbi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libdbi-0.9.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "00s5ra7hdlq25iv23nwf4h1v3kmbiyzx0v9bhggjiii4lpf6ryys";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://libdbi.sourceforge.net/";
1313 description = "DB independent interface to DB";
1414 license = licenses.lgpl21;
pkgs/development/libraries/libdbusmenu-qt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qt4, cmake }:
1+{ lib, stdenv, fetchurl, qt4, cmake }:
22
33let
44 baseName = "libdbusmenu-qt";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020
2121 cmakeFlags = [ "-DWITH_DOC=OFF" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Provides a Qt implementation of the DBusMenu spec";
2525 inherit homepage;
2626 inherit (qt4.meta) platforms;
pkgs/development/libraries/libdbusmenu-qt/qt-5.5.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, cmake, qtbase }:
1+{ lib, stdenv, fetchgit, cmake, qtbase }:
22
33stdenv.mkDerivation rec {
44 pname = "libdbusmenu-qt";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 cmakeFlags = [ "-DWITH_DOC=OFF" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://launchpad.net/libdbusmenu-qt";
2020 description = "Provides a Qt implementation of the DBusMenu spec";
2121 maintainers = [ maintainers.ttuegel ];
pkgs/development/libraries/libdc1394/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libraw1394
1+{ lib, stdenv, fetchurl, libraw1394
22, libusb1, CoreServices }:
33
44stdenv.mkDerivation rec {
@@ -11,10 +11,10 @@ stdenv.mkDerivation rec {
1111 };
1212
1313 buildInputs = [ libusb1 ]
14− ++ stdenv.lib.optional stdenv.isLinux libraw1394
15− ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
14+ ++ lib.optional stdenv.isLinux libraw1394
15+ ++ lib.optional stdenv.isDarwin CoreServices;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://sourceforge.net/projects/libdc1394/";
1919 description = "Capture and control API for IIDC compliant cameras";
2020 license = licenses.lgpl21Plus;
pkgs/development/libraries/libde265/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "1.0.8";
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
1818 meta = {
1919 homepage = "https://github.com/strukturag/libde265";
2020 description = "Open h.265 video codec implementation";
21− license = stdenv.lib.licenses.lgpl3;
22− platforms = stdenv.lib.platforms.unix;
23− maintainers = with stdenv.lib.maintainers; [ gebner ];
21+ license = lib.licenses.lgpl3;
22+ platforms = lib.platforms.unix;
23+ maintainers = with lib.maintainers; [ gebner ];
2424 };
2525
2626}
pkgs/development/libraries/libdevil/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, libGL
1+{ lib, stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, libGL
22, libX11, pkg-config, OpenGL
33}:
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 outputs = [ "out" "dev" ];
1616
1717 buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr libGL libX11 ]
18− ++ stdenv.lib.optionals stdenv.isDarwin [ OpenGL ];
18+ ++ lib.optionals stdenv.isDarwin [ OpenGL ];
1919 nativeBuildInputs = [ pkg-config ];
2020
2121 configureFlags = [ "--enable-ILU" "--enable-ILUT" ];
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 preConfigure = ''
2424 sed -i 's, -std=gnu99,,g' configure
2525 sed -i 's,malloc.h,stdlib.h,g' src-ILU/ilur/ilur.c
26− '' + stdenv.lib.optionalString stdenv.cc.isClang ''
26+ '' + lib.optionalString stdenv.cc.isClang ''
2727 sed -i 's/libIL_la_CXXFLAGS = $(AM_CFLAGS)/libIL_la_CXXFLAGS =/g' lib/Makefile.in
2828 '';
2929
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949 done
5050 '';
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 homepage = "http://openil.sourceforge.net/";
5454 description = "An image library which can can load, save, convert, manipulate, filter and display a wide variety of image formats";
5555 license = licenses.lgpl2;
pkgs/development/libraries/libdigidoc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2, Security }:
1+{ lib, stdenv, fetchurl, cmake, openssl, pcsclite, opensc, libxml2, Security }:
22
33stdenv.mkDerivation rec {
44
@@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ cmake ];
1414
1515 buildInputs = [ openssl pcsclite opensc libxml2 ]
16− ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
16+ ++ lib.optionals stdenv.isDarwin [ Security ];
1717
18− cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [ "-DFRAMEWORK=OFF" ];
18+ cmakeFlags = lib.optionals stdenv.isDarwin [ "-DFRAMEWORK=OFF" ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Library for creating DigiDoc signature files";
2222 homepage = "https://github.com/open-eid/libdigidoc";
2323 license = licenses.lgpl2;
pkgs/development/libraries/libdigidocpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
1+{ lib, stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
22, xercesc, xml-security-c, pkg-config, xsd, zlib, xalanc, xxd }:
33
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 xml-security-c xsd zlib xalanc
1818 ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Library for creating DigiDoc signature files";
2222 homepage = "http://www.id.ee/";
2323 license = licenses.lgpl2;
pkgs/development/libraries/libdiscid/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkg-config, darwin }:
1+{ lib, stdenv, fetchurl, cmake, pkg-config, darwin }:
22
33stdenv.mkDerivation rec {
44 pname = "libdiscid";
@@ -6,16 +6,16 @@ stdenv.mkDerivation rec {
66
77 nativeBuildInputs = [ cmake pkg-config ];
88
9− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];
9+ buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];
1010
1111 src = fetchurl {
1212 url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${pname}-${version}.tar.gz";
1313 sha256 = "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r";
1414 };
1515
16− NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-framework CoreFoundation -framework IOKit";
16+ NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework CoreFoundation -framework IOKit";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
2020 homepage = "http://musicbrainz.org/doc/libdiscid";
2121 maintainers = with maintainers; [ ehmry ];
pkgs/development/libraries/libdivecomputer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libdivecomputer";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 enableParallelBuilding = true;
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://www.libdivecomputer.org";
1616 description = "A cross-platform and open source library for communication with dive computers from various manufacturers";
1717 maintainers = [ maintainers.mguentner ];
pkgs/development/libraries/libdivsufsort/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "libdivsufsort-2.0.1";
@@ -10,8 +10,8 @@ stdenv.mkDerivation {
1010
1111 meta = {
1212 homepage = "https://github.com/y-256/libdivsufsort";
13− license = stdenv.lib.licenses.mit;
13+ license = lib.licenses.mit;
1414 description = "Library to construct the suffix array and the BW transformed string";
15− platforms = stdenv.lib.platforms.unix;
15+ platforms = lib.platforms.unix;
1616 };
1717}
pkgs/development/libraries/libdmtx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config }:
1+{ lib, stdenv, fetchurl, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "libdmtx-0.7.4";
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
1313 meta = {
1414 description = "An open source software for reading and writing Data Matrix barcodes";
1515 homepage = "http://libdmtx.org";
16− platforms = stdenv.lib.platforms.all;
16+ platforms = lib.platforms.all;
1717 maintainers = [ ];
18− license = stdenv.lib.licenses.bsd2;
18+ license = lib.licenses.bsd2;
1919 };
2020}
pkgs/development/libraries/libdnet/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, automake, autoconf, libtool}:
1+{lib, stdenv, fetchurl, automake, autoconf, libtool}:
22
33stdenv.mkDerivation {
44 name = "libdnet-1.12";
@@ -22,8 +22,8 @@ stdenv.mkDerivation {
2222 meta = {
2323 description = "Provides a simplified, portable interface to several low-level networking routines";
2424 homepage = "https://github.com/dugsong/libdnet";
25− license = stdenv.lib.licenses.bsd3;
26− maintainers = [stdenv.lib.maintainers.marcweber];
27− platforms = stdenv.lib.platforms.linux;
25+ license = lib.licenses.bsd3;
26+ maintainers = [lib.maintainers.marcweber];
27+ platforms = lib.platforms.linux;
2828 };
2929}
pkgs/development/libraries/libdv/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, popt }:
1+{ lib, stdenv, fetchurl, popt }:
22
33stdenv.mkDerivation rec {
44 name = "libdv-1.0.0";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 # This fixes an undefined symbol: _sched_setscheduler error on compile.
1212 # See the apple docs: http://cl.ly/2HeF bottom of the "Finding Imported Symbols" section
13− LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-undefined dynamic_lookup";
13+ LDFLAGS = lib.optionalString stdenv.isDarwin "-undefined dynamic_lookup";
1414
1515 configureFlags = [
1616 "--disable-asm"
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 buildInputs = [ popt ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Software decoder for DV format video, as defined by the IEC 61834 and SMPTE 314M standards";
2727 homepage = "https://sourceforge.net/projects/libdv/";
2828 license = licenses.lgpl21Plus;
pkgs/development/libraries/libdvbpsi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 pname = "libdvbpsi";
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
1212 meta = {
1313 description = "A simple library designed for decoding and generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13818 and ITU-T H.222.0";
1414 homepage = "http://www.videolan.org/developers/libdvbpsi.html";
15− platforms = stdenv.lib.platforms.unix;
16− license = stdenv.lib.licenses.lgpl21;
15+ platforms = lib.platforms.unix;
16+ license = lib.licenses.lgpl21;
1717 };
1818
1919}
pkgs/development/libraries/libdvdcss/default.nix+3−3
@@ -1,17 +1,17 @@
1−{stdenv, fetchurl, IOKit}:
1+{lib, stdenv, fetchurl, IOKit}:
22
33stdenv.mkDerivation rec {
44 pname = "libdvdcss";
55 version = "1.4.2";
66
7− buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
7+ buildInputs = lib.optional stdenv.isDarwin IOKit;
88
99 src = fetchurl {
1010 url = "http://get.videolan.org/libdvdcss/${version}/${pname}-${version}.tar.bz2";
1111 sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq";
1212 };
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://www.videolan.org/developers/libdvdcss.html";
1616 description = "A library for decrypting DVDs";
1717 license = licenses.gpl2;
pkgs/development/libraries/libdvdnav/4.2.1.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, libdvdread}:
1+{lib, stdenv, fetchurl, pkg-config, libdvdread}:
22
33stdenv.mkDerivation {
44 name = "libdvdnav-4.2.1";
@@ -20,9 +20,9 @@ stdenv.mkDerivation {
2020 meta = {
2121 homepage = "http://dvdnav.mplayerhq.hu/";
2222 description = "A library that implements DVD navigation features such as DVD menus";
23− license = stdenv.lib.licenses.gpl2;
24− maintainers = [ stdenv.lib.maintainers.wmertens ];
25− platforms = stdenv.lib.platforms.linux;
23+ license = lib.licenses.gpl2;
24+ maintainers = [ lib.maintainers.wmertens ];
25+ platforms = lib.platforms.linux;
2626 };
2727
2828 passthru = { inherit libdvdread; };
pkgs/development/libraries/libdvdnav/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, libdvdread}:
1+{lib, stdenv, fetchurl, pkg-config, libdvdread}:
22
33stdenv.mkDerivation rec {
44 pname = "libdvdnav";
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 homepage = "http://dvdnav.mplayerhq.hu/";
1717 description = "A library that implements DVD navigation features such as DVD menus";
18− license = stdenv.lib.licenses.gpl2;
19− maintainers = [ stdenv.lib.maintainers.wmertens ];
20− platforms = stdenv.lib.platforms.unix;
18+ license = lib.licenses.gpl2;
19+ maintainers = [ lib.maintainers.wmertens ];
20+ platforms = lib.platforms.unix;
2121 };
2222
2323 passthru = { inherit libdvdread; };
pkgs/development/libraries/libdvdread/4.9.9.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, libdvdcss}:
1+{lib, stdenv, fetchurl, libdvdcss}:
22
33stdenv.mkDerivation {
44 name = "libdvdread-4.9.9";
@@ -19,8 +19,8 @@ stdenv.mkDerivation {
1919 meta = {
2020 homepage = "http://dvdnav.mplayerhq.hu/";
2121 description = "A library for reading DVDs";
22− license = stdenv.lib.licenses.gpl2;
23− maintainers = [ stdenv.lib.maintainers.wmertens ];
24− platforms = stdenv.lib.platforms.linux;
22+ license = lib.licenses.gpl2;
23+ maintainers = [ lib.maintainers.wmertens ];
24+ platforms = lib.platforms.linux;
2525 };
2626}
pkgs/development/libraries/libdvdread/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, libdvdcss}:
1+{lib, stdenv, fetchurl, libdvdcss}:
22
33stdenv.mkDerivation rec {
44 pname = "libdvdread";
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 homepage = "http://dvdnav.mplayerhq.hu/";
2222 description = "A library for reading DVDs";
23− license = stdenv.lib.licenses.gpl2;
24− maintainers = [ stdenv.lib.maintainers.wmertens ];
25− platforms = with stdenv.lib.platforms; linux ++ darwin;
23+ license = lib.licenses.gpl2;
24+ maintainers = [ lib.maintainers.wmertens ];
25+ platforms = with lib.platforms; linux ++ darwin;
2626 };
2727}
pkgs/development/libraries/libdwarf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libelf, zlib }:
1+{ lib, stdenv, fetchurl, libelf, zlib }:
22
33let
44 version = "20181024";
@@ -11,8 +11,8 @@ let
1111 };
1212 meta = {
1313 homepage = "https://www.prevanders.net/dwarf.html";
14− platforms = stdenv.lib.platforms.linux;
15− license = stdenv.lib.licenses.lgpl21Plus;
14+ platforms = lib.platforms.linux;
15+ license = lib.licenses.lgpl21Plus;
1616 };
1717
1818in rec {
pkgs/development/libraries/libdwg/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, indent}:
1+{lib, stdenv, fetchurl, indent}:
22
33stdenv.mkDerivation {
44 name = "libdwg-0.6";
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
1818 meta = {
1919 description = "Library reading dwg files";
2020 homepage = "http://libdwg.sourceforge.net/en/";
21− license = stdenv.lib.licenses.gpl3;
22− maintainers = [stdenv.lib.maintainers.marcweber];
23− platforms = stdenv.lib.platforms.linux;
21+ license = lib.licenses.gpl3;
22+ maintainers = [lib.maintainers.marcweber];
23+ platforms = lib.platforms.linux;
2424 };
2525}
pkgs/development/libraries/libdynd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33let version = "0.7.2"; in
44stdenv.mkDerivation {
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
3131 outputs = [ "out" "dev" ];
3232 outputDoc = "dev";
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "C++ dynamic ndarray library, with Python exposure";
3636 homepage = "http://libdynd.org";
3737 license = licenses.bsd2;
pkgs/development/libraries/libe-book/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gperf, pkg-config, librevenge, libxml2, boost, icu
1+{ lib, stdenv, fetchurl, gperf, pkg-config, librevenge, libxml2, boost, icu
22, cppunit, zlib, liblangtag
33}:
44
@@ -34,8 +34,8 @@ stdenv.mkDerivation {
3434 meta = {
3535 inherit (s) version;
3636 description = ''Library for import of reflowable e-book formats'';
37− license = stdenv.lib.licenses.lgpl21Plus ;
38− maintainers = [stdenv.lib.maintainers.raskin];
39− platforms = stdenv.lib.platforms.unix;
37+ license = lib.licenses.lgpl21Plus ;
38+ maintainers = [lib.maintainers.raskin];
39+ platforms = lib.platforms.unix;
4040 };
4141}
pkgs/development/libraries/libe57format/default.nix+2−2
@@ -1,5 +1,5 @@
11{
2− stdenv,
2+ lib, stdenv,
33 cmake,
44 fetchFromGitHub,
55 boost,
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
7878 fi
7979 '';
8080
81− meta = with stdenv.lib; {
81+ meta = with lib; {
8282 description = "Library for reading & writing the E57 file format (fork of E57RefImpl)";
8383 homepage = "https://github.com/asmaloney/libE57Format";
8484 license = licenses.boost;
pkgs/development/libraries/libeatmydata/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, strace, which }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, strace, which }:
22
33stdenv.mkDerivation rec {
44 pname = "libeatmydata";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 nativeBuildInputs = [
2626 autoreconfHook
27− ] ++ stdenv.lib.optionals doCheck [ strace which ];
27+ ] ++ lib.optionals doCheck [ strace which ];
2828
2929 # while we can *build* in parallel, the tests also run in parallel which does
3030 # not work with v105. Later versions (unreleased) have a fix for that. The
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 enableParallelBuilding = true;
3333 doCheck = false;
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "Small LD_PRELOAD library to disable fsync and friends";
3737 homepage = "https://www.flamingspork.com/projects/libeatmydata/";
3838 license = licenses.gpl3Plus;
pkgs/development/libraries/libeb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, zlib }:
1+{ lib, stdenv, fetchurl, perl, zlib }:
22stdenv.mkDerivation rec {
33 pname = "libeb";
44 version = "4.4.3";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ perl ];
1212 buildInputs = [ zlib ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "C library for accessing Japanese CD-ROM books";
1616 longDescription = ''
1717 The EB library is a library for accessing CD-ROM books, which are a
pkgs/development/libraries/libebml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libebml";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 "-DBUILD_SHARED_LIBS=YES"
1818 ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Extensible Binary Meta Language library";
2222 homepage = "https://dl.matroska.org/downloads/libebml/";
2323 license = licenses.lgpl21;
pkgs/development/libraries/libebur128/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, speexdsp, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "1.2.4";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake pkg-config ];
1515 buildInputs = [ speexdsp ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Implementation of the EBU R128 loudness standard";
1919 homepage = "https://github.com/jiixyj/libebur128";
2020 license = licenses.mit;
pkgs/development/libraries/libechonest/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake, doxygen, qt4, qjson }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, doxygen, qt4, qjson }:
22
33stdenv.mkDerivation rec {
44 pname = "libechonest";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 meta = {
3131 description = "A C++/Qt wrapper around the Echo Nest API";
3232 homepage = "https://projects.kde.org/projects/playground/libs/libechonest";
33− license = stdenv.lib.licenses.gpl2Plus;
34− platforms = stdenv.lib.platforms.unix;
33+ license = lib.licenses.gpl2Plus;
34+ platforms = lib.platforms.unix;
3535 };
3636}
pkgs/development/libraries/libedit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses }:
1+{ lib, stdenv, fetchurl, ncurses }:
22
33stdenv.mkDerivation rec {
44 pname = "libedit";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 -e 's,-lncurses[a-z]*,-L${ncurses.out}/lib -lncursesw,g'
2424 '';
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "http://www.thrysoee.dk/editline/";
2828 description = "A port of the NetBSD Editline library (libedit)";
2929 license = licenses.bsd3;
pkgs/development/libraries/libee/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libestr }:
1+{ lib, stdenv, fetchurl, pkg-config, libestr }:
22stdenv.mkDerivation {
33 name = "libee-0.4.1";
44
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 meta = {
1414 homepage = "http://www.libee.org/";
1515 description = "An Event Expression Library inspired by CEE";
16− platforms = stdenv.lib.platforms.unix;
17− license = stdenv.lib.licenses.lgpl21Plus;
16+ platforms = lib.platforms.unix;
17+ license = lib.licenses.lgpl21Plus;
1818 };
1919}
pkgs/development/libraries/libelf-freebsd/default.nix+3−3
@@ -6,7 +6,7 @@ stdenv.mkDerivation (rec {
66
77 src = fetchsvn {
88 url = "svn://svn.code.sf.net/p/elftoolchain/code/trunk";
9− rev = (stdenv.lib.strings.toInt version);
9+ rev = (lib.strings.toInt version);
1010 name = "elftoolchain-${version}";
1111 };
1212
@@ -29,9 +29,9 @@ stdenv.mkDerivation (rec {
2929
3030 homepage = "https://sourceforge.net/p/elftoolchain/wiki/Home/";
3131
32− license = stdenv.lib.licenses.bsd2;
32+ license = lib.licenses.bsd2;
3333
34− platforms = stdenv.lib.platforms.freebsd;
34+ platforms = lib.platforms.freebsd;
3535 maintainers = [ ];
3636 };
3737})
pkgs/development/libraries/libelf/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl, autoreconfHook, gettext
33}:
44
@@ -27,26 +27,26 @@ stdenv.mkDerivation rec {
2727 configureFlags = []
2828 # Configure check for dynamic lib support is broken, see
2929 # http://lists.uclibc.org/pipermail/uclibc-cvs/2005-August/019383.html
30− ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "mr_cv_target_elf=yes"
30+ ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "mr_cv_target_elf=yes"
3131 # Libelf's custom NLS macros fail to determine the catalog file extension
3232 # on Darwin, so disable NLS for now.
33− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "--disable-nls";
33+ ++ lib.optional stdenv.hostPlatform.isDarwin "--disable-nls";
3434
3535 nativeBuildInputs = [ gettext ]
3636 # Need to regenerate configure script with newer version in order to pass
3737 # "mr_cv_target_elf=yes", but `autoreconfHook` brings in `makeWrapper`
3838 # which doesn't work with the bootstrapTools bash, so can only do this
3939 # for cross builds when `stdenv.shell` is a newer bash.
40− ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) autoreconfHook;
40+ ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) autoreconfHook;
4141
4242 meta = {
4343 description = "ELF object file access library";
4444
4545 homepage = "https://github.com/Distrotech/libelf";
4646
47− license = stdenv.lib.licenses.lgpl2Plus;
47+ license = lib.licenses.lgpl2Plus;
4848
49− platforms = stdenv.lib.platforms.all;
49+ platforms = lib.platforms.all;
5050 maintainers = [ ];
5151 };
5252}
pkgs/development/libraries/libelfin/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, python3, substituteAll }:
1+{ lib, stdenv, fetchFromGitHub, python3, substituteAll }:
22
33stdenv.mkDerivation rec {
44 pname = "libelfin";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 makeFlags = [ "PREFIX=${placeholder "out"}" ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://github.com/aclements/libelfin/";
2727 license = licenses.mit;
2828 description = "C++11 ELF/DWARF parser";
pkgs/development/libraries/libepc/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome3 }:
22
33let
44 avahiWithGtk = avahi.override { gtk3Support = true; };
@@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
99 outputs = [ "out" "dev" "devdoc" ];
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1313 sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
1414 };
1515
@@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
3737 };
3838 };
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "Easy Publish and Consume Library";
4242 homepage = "https://wiki.gnome.org/Projects/libepc";
4343 license = licenses.lgpl21Plus;
pkgs/development/libraries/liberfa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "erfa";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 configureFlags = [ "--enable-shared" ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Essential Routines for Fundamental Astronomy";
2020 homepage = "https://github.com/liberfa/erfa";
2121 maintainers = with maintainers; [ mir06 ];
pkgs/development/libraries/liberio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, systemd
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 doCheck = true;
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Ettus Research DMA I/O Library";
3232 homepage = "https://github.com/EttusResearch/liberio";
3333 license = licenses.gpl2;
pkgs/development/libraries/libesmtp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 pname = "libESMTP";
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
99 sha256 = "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 homepage = "http://brianstafford.info/libesmtp/index.html";
1414 description = "A Library for Posting Electronic Mail";
1515 license = licenses.lgpl21;
pkgs/development/libraries/libestr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libestr-0.1.11";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0910ifzcs8kpd3srrr4fvbacgh2zrc6yn7i4rwfj6jpzhlkjnqs6";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "https://libestr.adiscon.com/";
1313 description = "Some essentials for string handling";
1414 license = licenses.lgpl21;
pkgs/development/libraries/libev/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, # Note: -static hasn’t work on darwin
33 static ? with stdenv.hostPlatform; isStatic && !isDarwin
44}:
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
1717 sha256 = "1sjs4324is7fp21an4aas2z4dwsvs6z4xwrmp72vwpq1s6wbfzjh";
1818 };
1919
20− configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";
20+ configureFlags = lib.optional (static) "LDFLAGS=-static";
2121
2222 meta = {
2323 description = "A high-performance event loop/event model with lots of features";
24− maintainers = [ stdenv.lib.maintainers.raskin ];
25− platforms = stdenv.lib.platforms.all;
26− license = stdenv.lib.licenses.bsd2; # or GPL2+
24+ maintainers = [ lib.maintainers.raskin ];
25+ platforms = lib.platforms.all;
26+ license = lib.licenses.bsd2; # or GPL2+
2727 };
2828}
pkgs/development/libraries/libevdev/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, python3 }:
1+{ lib, stdenv, fetchurl, fetchpatch, python3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libevdev";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ python3 ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Wrapper library for evdev devices";
1616 homepage = "http://www.freedesktop.org/software/libevdev/doc/latest/index.html";
1717 license = licenses.mit;
pkgs/development/libraries/libevdevplus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libevdevplus";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 inherit (src.meta) homepage;
1818 description = "Easy-to-use event device library in C++";
1919 license = licenses.mit;
pkgs/development/libraries/libevent/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, findutils, fixDarwinDylibNames
1+{ lib, stdenv, fetchurl, findutils, fixDarwinDylibNames
22, sslSupport? true, openssl
33}:
44
@@ -16,25 +16,25 @@ stdenv.mkDerivation rec {
1616 # libevent_openssl is moved into its own output, so that openssl isn't present
1717 # in the default closure.
1818 outputs = [ "out" "dev" ]
19− ++ stdenv.lib.optional sslSupport "openssl"
19+ ++ lib.optional sslSupport "openssl"
2020 ;
2121 outputBin = "dev";
2222 propagatedBuildOutputs = [ "out" ]
23− ++ stdenv.lib.optional sslSupport "openssl"
23+ ++ lib.optional sslSupport "openssl"
2424 ;
2525
2626 nativeBuildInputs = []
27− ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames
27+ ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames
2828 ;
2929
3030 buildInputs = []
31− ++ stdenv.lib.optional sslSupport openssl
32− ++ stdenv.lib.optional stdenv.isCygwin findutils
31+ ++ lib.optional sslSupport openssl
32+ ++ lib.optional stdenv.isCygwin findutils
3333 ;
3434
3535 doCheck = false; # needs the net
3636
37− postInstall = stdenv.lib.optionalString sslSupport ''
37+ postInstall = lib.optionalString sslSupport ''
3838 moveToOutput "lib/libevent_openssl*" "$openssl"
3939 substituteInPlace "$dev/lib/pkgconfig/libevent_openssl.pc" \
4040 --replace "$out" "$openssl"
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343
4444 enableParallelBuilding = true;
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "Event notification library";
4848 longDescription = ''
4949 The libevent API provides a mechanism to execute a callback function
pkgs/development/libraries/libewf/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, zlib, openssl, libuuid, pkg-config }:
1+{ fetchurl, lib, stdenv, zlib, openssl, libuuid, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "20201129";
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "Library for support of the Expert Witness Compression Format";
1717 homepage = "https://sourceforge.net/projects/libewf/";
18− license = stdenv.lib.licenses.lgpl3;
19− maintainers = [ stdenv.lib.maintainers.raskin ] ;
20− platforms = stdenv.lib.platforms.unix;
18+ license = lib.licenses.lgpl3;
19+ maintainers = [ lib.maintainers.raskin ] ;
20+ platforms = lib.platforms.unix;
2121 inherit version;
2222 };
2323}
pkgs/development/libraries/libexecinfo/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch
1+{ lib, stdenv, fetchurl, fetchpatch
22, enableStatic ? true
33, enableShared ? !stdenv.hostPlatform.isStatic
44}:
@@ -33,21 +33,21 @@ stdenv.mkDerivation rec {
3333 makeFlags = [ "CC:=$(CC)" "AR:=$(AR)" ];
3434
3535 buildFlags =
36− stdenv.lib.optional enableStatic "static"
37− ++ stdenv.lib.optional enableShared "dynamic";
36+ lib.optional enableStatic "static"
37+ ++ lib.optional enableShared "dynamic";
3838
3939 patchFlags = [ "-p0" ];
4040
4141 installPhase = ''
4242 install -Dm644 execinfo.h stacktraverse.h -t $out/include
43− '' + stdenv.lib.optionalString enableShared ''
43+ '' + lib.optionalString enableShared ''
4444 install -Dm755 libexecinfo.so.1 -t $out/lib
4545 ln -s $out/lib/libexecinfo.so{.1,}
46− '' + stdenv.lib.optionalString enableStatic ''
46+ '' + lib.optionalString enableStatic ''
4747 install -Dm755 libexecinfo.a -t $out/lib
4848 '';
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 description = "Quick-n-dirty BSD licensed clone of the GNU libc backtrace facility";
5252 license = licenses.bsd2;
5353 homepage = "https://www.freshports.org/devel/libexecinfo";
pkgs/development/libraries/libexif/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, gettext }:
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, gettext }:
22
33stdenv.mkDerivation rec {
44 pname = "libexif";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 nativeBuildInputs = [ autoreconfHook gettext ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 homepage = "https://libexif.github.io/";
3232 description = "A library to read and manipulate EXIF data in digital photographs";
3333 license = licenses.lgpl21;
pkgs/development/libraries/libextractor/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, substituteAll
1+{ fetchurl, lib, stdenv, substituteAll
22, libtool, gettext, zlib, bzip2, flac, libvorbis
33, exiv2, libgsf, rpm, pkg-config, fetchpatch
44, gstreamerSupport ? true, gst_all_1 ? null
@@ -41,12 +41,12 @@ stdenv.mkDerivation rec {
4141 sha256 = "01xhcjbzv6p53wz7y2ii76kb8m9iwvnm4ip9w4a0bpgaxqz4b9fw";
4242 excludes = [ "ChangeLog" ];
4343 })
44− ] ++ stdenv.lib.optionals gstreamerSupport [
44+ ] ++ lib.optionals gstreamerSupport [
4545
4646 # Libraries cannot be wrapped so we need to hardcode the plug-in paths.
4747 (substituteAll {
4848 src = ./gst-hardcode-plugins.patch;
49− load_gst_plugins = stdenv.lib.concatMapStrings
49+ load_gst_plugins = lib.concatMapStrings
5050 (plugin: ''gst_registry_scan_path(gst_registry_get(), "${plugin}/lib/gstreamer-1.0");'')
5151 (gstPlugins gst_all_1);
5252 })
@@ -62,10 +62,10 @@ stdenv.mkDerivation rec {
6262 [ libtool gettext zlib bzip2 flac libvorbis exiv2
6363 libgsf rpm
6464 pkg-config
65− ] ++ stdenv.lib.optionals gstreamerSupport
65+ ] ++ lib.optionals gstreamerSupport
6666 ([ gst_all_1.gstreamer ] ++ gstPlugins gst_all_1)
67− ++ stdenv.lib.optionals gtkSupport [ glib gtk3 ]
68− ++ stdenv.lib.optionals videoSupport [ ffmpeg_3 libmpeg2 ];
67+ ++ lib.optionals gtkSupport [ glib gtk3 ]
68+ ++ lib.optionals videoSupport [ ffmpeg_3 libmpeg2 ];
6969
7070 configureFlags = [
7171 "--disable-ltdl-install"
@@ -105,9 +105,9 @@ stdenv.mkDerivation rec {
105105 additional MIME types are detected.
106106 '';
107107
108− license = stdenv.lib.licenses.gpl2Plus;
108+ license = lib.licenses.gpl2Plus;
109109
110110 maintainers = [ ];
111− platforms = stdenv.lib.platforms.linux;
111+ platforms = lib.platforms.linux;
112112 };
113113}
pkgs/development/libraries/libexttextcat/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libexttextcat-3.4.5";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "1j6sjwkyhqvsgyw938bxxfwkzzi1mahk66g5342lv6j89jfvrz8k";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 description = "An N-Gram-Based Text Categorization library primarily intended for language guessing";
1313 homepage = "https://wiki.documentfoundation.org/Libexttextcat";
1414 platforms = platforms.all;
pkgs/development/libraries/libf2c/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{lib, stdenv, fetchurl, unzip}:
22
33stdenv.mkDerivation rec {
44 name = "libf2c-20160102";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 meta = {
3030 description = "F2c converts Fortran 77 source code to C";
3131 homepage = "http://www.netlib.org/f2c/";
32− license = stdenv.lib.licenses.mit;
33− platforms = stdenv.lib.platforms.unix;
32+ license = lib.licenses.mit;
33+ platforms = lib.platforms.unix;
3434 };
3535}
pkgs/development/libraries/libfakekey/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
1+{ lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
22
33stdenv.mkDerivation rec {
44 pname = "libfakekey";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 buildInputs = [ libX11 libXi libXtst xorgproto ];
1414 NIX_LDFLAGS = "-lX11";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "X virtual keyboard library";
1818 homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
1919 license = licenses.gpl2;
pkgs/development/libraries/libfaketime/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl }:
1+{ lib, stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "libfaketime";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 patches = [
1313 ./no-date-in-gzip-man-page.patch
14− ] ++ (stdenv.lib.optionals stdenv.cc.isClang [
14+ ] ++ (lib.optionals stdenv.cc.isClang [
1515 # https://github.com/wolfcw/libfaketime/issues/277
1616 ./0001-Remove-unsupported-clang-flags.patch
1717 ]);
@@ -27,11 +27,11 @@ stdenv.mkDerivation rec {
2727 PREFIX = placeholder "out";
2828 LIBDIRNAME = "/lib";
2929
30− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=cast-function-type -Wno-error=format-truncation";
30+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=cast-function-type -Wno-error=format-truncation";
3131
3232 checkInputs = [ perl ];
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "Report faked system time to programs without having to change the system-wide time";
3636 homepage = "https://github.com/wolfcw/libfaketime/";
3737 license = licenses.gpl2;
pkgs/development/libraries/libff/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, gmp, openssl, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, gmp, openssl, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libff";
@@ -16,14 +16,14 @@ stdenv.mkDerivation rec {
1616
1717 # CMake is hardcoded to always build static library which causes linker
1818 # failure for Haskell applications depending on haskellPackages.hevm on macOS.
19− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
19+ postPatch = lib.optionalString stdenv.isDarwin ''
2020 substituteInPlace libff/CMakeLists.txt --replace "STATIC" "SHARED"
2121 '';
2222
2323 nativeBuildInputs = [ cmake pkg-config ];
2424 buildInputs = [ boost gmp openssl ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "C++ library for Finite Fields and Elliptic Curves";
2828 changelog = "https://github.com/scipr-lab/libff/blob/develop/CHANGELOG.md";
2929 homepage = "https://github.com/scipr-lab/libff";
pkgs/development/libraries/libffcall/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libffcall";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 rm -rf $out/share
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Foreign function call library";
2424 homepage = "https://www.gnu.org/software/libffcall/";
2525 license = licenses.gpl2Plus;
pkgs/development/libraries/libffi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch
1+{ lib, stdenv, fetchurl, fetchpatch
22, autoreconfHook
33
44}:
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling.
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A foreign function call interface library";
3737 longDescription = ''
3838 The libffi library provides a portable, high level programming
pkgs/development/libraries/libfido2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, cmake
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 nativeBuildInputs = [ cmake pkg-config ];
2121
2222 buildInputs = [ hidapi libcbor openssl ]
23− ++ stdenv.lib.optionals stdenv.isLinux [ udev ];
23+ ++ lib.optionals stdenv.isLinux [ udev ];
2424
2525 cmakeFlags = [
2626 "-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 "-DCMAKE_INSTALL_LIBDIR=lib"
2929 ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = ''
3333 Provides library functionality for FIDO 2.0, including communication with a device over USB.
3434 '';
pkgs/development/libraries/libfilezilla/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, autoreconfHook
44, gettext
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
2121 nativeBuildInputs = [ autoreconfHook pkg-config ];
2222
2323 buildInputs = [ gettext gnutls nettle ]
24− ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
24+ ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
2525
2626 enableParallelBuilding = true;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://lib.filezilla-project.org/";
3030 description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
3131 license = licenses.gpl2Plus;
pkgs/development/libraries/libfishsound/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libvorbis, speex, flac, pkg-config }:
1+{ lib, stdenv, fetchurl, libvorbis, speex, flac, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "libfishsound-1.0.0";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://xiph.org/fishsound/";
1717 description = "A simple programming interface for decoding and encoding audio data using Xiph.org codecs (FLAC, Speex and Vorbis)";
1818 longDescription = ''libfishsound by itself is designed to handle raw codec streams from a lower level layer such as UDP datagrams. When these codecs are used in files, they are commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files.
pkgs/development/libraries/libfixposix/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libfixposix";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/sionescu/libfixposix";
1818 description = "Thin wrapper over POSIX syscalls and some replacement functionality";
1919 license = licenses.boost;
pkgs/development/libraries/libfm/default.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, glib, intltool, menu-cache, pango, pkg-config, vala
1+{ lib, stdenv, fetchurl, glib, intltool, menu-cache, pango, pkg-config, vala
22, extraOnly ? false
33, withGtk3 ? false, gtk2, gtk3 }:
44let
55 gtk = if withGtk3 then gtk3 else gtk2;
6− inherit (stdenv.lib) optional;
6+ inherit (lib) optional;
77in
88stdenv.mkDerivation rec {
99 name = if extraOnly
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535
3636 enableParallelBuilding = true;
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "https://blog.lxde.org/category/pcmanfm/";
4040 license = licenses.lgpl21Plus;
4141 description = "A glib-based library for file management";
pkgs/development/libraries/libfprint/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, pkg-config
44, meson
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
5050 "-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
5151 ];
5252
53− meta = with stdenv.lib; {
53+ meta = with lib; {
5454 homepage = "https://fprint.freedesktop.org/";
5555 description = "A library designed to make it easy to add support for consumer fingerprint readers";
5656 license = licenses.lgpl21;
pkgs/development/libraries/libfpx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch }:
1+{ lib, stdenv, fetchurl, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 name = "libfpx-1.3.1-7";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 };
1010
1111 # Darwin gets misdetected as Windows without this
12− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-D__unix";
12+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-D__unix";
1313
1414 patches = [
1515 (fetchpatch {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 substituteInPlace jpeg/ejpeg.h --replace "int No_JPEG_Header_Flag" ""
2424 '' else null;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "http://www.imagemagick.org";
2828 description = "A library for manipulating FlashPIX images";
2929 license = "Flashpix";
pkgs/development/libraries/libfreefare/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libnfc, openssl
1+{ lib, stdenv, fetchurl, pkg-config, libnfc, openssl
22, libobjc ? null }:
33
44stdenv.mkDerivation {
@@ -11,9 +11,9 @@ stdenv.mkDerivation {
1111 };
1212
1313 nativeBuildInputs = [ pkg-config ];
14− buildInputs = [ libnfc openssl ] ++ stdenv.lib.optional stdenv.isDarwin libobjc;
14+ buildInputs = [ libnfc openssl ] ++ lib.optional stdenv.isDarwin libobjc;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations";
1818 license = licenses.lgpl3;
1919 homepage = "https://github.com/nfc-tools/libfreefare";
pkgs/development/libraries/libfsm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, bmake
33}:
44
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
4747
4848 outputs = [ "out" "lib" "dev" ];
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 description = "DFA regular expression library & friends";
5252 homepage = "https://github.com/katef/libfsm";
5353 license = licenses.bsd2;
pkgs/development/libraries/libftdi/1.x.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkg-config, libusb1, libconfuse
1+{ lib, stdenv, fetchurl, cmake, pkg-config, libusb1, libconfuse
22, cppSupport ? true, boost ? null
33, pythonSupport ? true, python3 ? null, swig ? null
44, docSupport ? true, doxygen ? null
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
1717 };
1818
1919 nativeBuildInputs = [ cmake pkg-config ];
20− buildInputs = with stdenv.lib; [ libconfuse ]
20+ buildInputs = with lib; [ libconfuse ]
2121 ++ optionals cppSupport [ boost ]
2222 ++ optionals pythonSupport [ python3 swig ]
2323 ++ optionals docSupport [ doxygen ];
2424
25− preBuild = stdenv.lib.optionalString docSupport ''
25+ preBuild = lib.optionalString docSupport ''
2626 make doc_i
2727 '';
2828
@@ -32,12 +32,12 @@ stdenv.mkDerivation rec {
3232 mkdir -p "$out/etc/udev/rules.d/"
3333 cp ../packages/99-libftdi.rules "$out/etc/udev/rules.d/"
3434 cp -r doc/man "$out/share/"
35− '' + stdenv.lib.optionalString docSupport ''
35+ '' + lib.optionalString docSupport ''
3636 mkdir -p "$out/share/libftdi/doc/"
3737 cp -r doc/html "$out/share/libftdi/doc/"
3838 '';
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "A library to talk to FTDI chips using libusb";
4242 homepage = "https://www.intra2net.com/en/developer/libftdi/";
4343 license = with licenses; [ lgpl2 gpl2 ];
pkgs/development/libraries/libfyaml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gnum4 }:
1+{ lib, stdenv, fetchurl, gnum4 }:
22
33stdenv.mkDerivation rec {
44 pname = "libfyaml";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ gnum4 ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://github.com/pantoniou/libfyaml";
1616 description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite";
1717 license = licenses.mit;
pkgs/development/libraries/libgadu/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib}:
1+{lib, stdenv, fetchurl, zlib}:
22
33stdenv.mkDerivation {
44
@@ -14,8 +14,8 @@ stdenv.mkDerivation {
1414 meta = {
1515 description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)";
1616 homepage = "http://toxygen.net/libgadu/";
17− platforms = stdenv.lib.platforms.linux;
18− license = stdenv.lib.licenses.lgpl21;
17+ platforms = lib.platforms.linux;
18+ license = lib.licenses.lgpl21;
1919 };
2020
2121}
pkgs/development/libraries/libgaminggear/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkg-config, gettext
1+{ lib, stdenv, fetchurl, cmake, pkg-config, gettext
22, gtk2, libcanberra, libnotify, pcre, sqlite, xorg
33, harfbuzz
44}:
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 meta = {
3737 description = "Provides functionality for gaming input devices";
3838 homepage = "https://sourceforge.net/projects/libgaminggear/";
39− platforms = stdenv.lib.platforms.linux;
40− license = stdenv.lib.licenses.gpl2Plus;
39+ platforms = lib.platforms.linux;
40+ license = lib.licenses.gpl2Plus;
4141 };
4242}
pkgs/development/libraries/libgcrypt/1.5.nix+3−3
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 sha256 = "0ydy7bgra5jbq9mxl5x031nif3m6y3balc6ndw2ngj11wnsjc61h";
1111 };
1212
13− patches = stdenv.lib.optionals stdenv.isDarwin [
13+ patches = lib.optionals stdenv.isDarwin [
1414 (fetchpatch {
1515 name = "fix-x86_64-apple-darwin.patch";
1616 sha256 = "138sfwl1avpy19320dbd63mskspc1khlc93j1f1zmylxx3w19csi";
@@ -26,13 +26,13 @@ stdenv.mkDerivation rec {
2626 # Also make sure includes are fixed for callers who don't use libgpgcrypt-config
2727 postInstall = ''
2828 sed -i 's,#include <gpg-error.h>,#include "${libgpgerror.dev}/include/gpg-error.h",g' $out/include/gcrypt.h
29− '' + stdenv.lib.optionalString enableCapabilities ''
29+ '' + lib.optionalString enableCapabilities ''
3030 sed -i 's,\(-lcap\),-L${libcap.lib}/lib \1,' $out/lib/libgcrypt.la
3131 '';
3232
3333 doCheck = true;
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://www.gnu.org/software/libgcrypt/";
3737 description = "General-pupose cryptographic library";
3838 license = licenses.lgpl2Plus;
pkgs/development/libraries/libgcrypt/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gettext, libgpgerror, enableCapabilities ? false, libcap
1+{ lib, stdenv, fetchurl, gettext, libgpgerror, enableCapabilities ? false, libcap
22, buildPackages
33}:
44
@@ -19,16 +19,16 @@ stdenv.mkDerivation rec {
1919 # The CPU Jitter random number generator must not be compiled with
2020 # optimizations and the optimize -O0 pragma only works for gcc.
2121 # The build enables -O2 by default for everything else.
22− hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "fortify";
22+ hardeningDisable = lib.optional stdenv.cc.isClang "fortify";
2323
2424 depsBuildBuild = [ buildPackages.stdenv.cc ];
2525
2626 buildInputs = [ libgpgerror ]
27− ++ stdenv.lib.optional stdenv.isDarwin gettext
28− ++ stdenv.lib.optional enableCapabilities libcap;
27+ ++ lib.optional stdenv.isDarwin gettext
28+ ++ lib.optional enableCapabilities libcap;
2929
3030 configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ]
31− ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-asm";
31+ ++ lib.optional stdenv.hostPlatform.isMusl "--disable-asm";
3232
3333 # Necessary to generate correct assembly when compiling for aarch32 on
3434 # aarch64
@@ -43,20 +43,20 @@ stdenv.mkDerivation rec {
4343 # Also make sure includes are fixed for callers who don't use libgpgcrypt-config
4444 postFixup = ''
4545 sed -i 's,#include <gpg-error.h>,#include "${libgpgerror.dev}/include/gpg-error.h",g' "$dev/include/gcrypt.h"
46− '' + stdenv.lib.optionalString enableCapabilities ''
46+ '' + lib.optionalString enableCapabilities ''
4747 sed -i 's,\(-lcap\),-L${libcap.lib}/lib \1,' $out/lib/libgcrypt.la
4848 '';
4949
5050 # TODO: figure out why this is even necessary and why the missing dylib only crashes
5151 # random instead of every test
52− preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
52+ preCheck = lib.optionalString stdenv.isDarwin ''
5353 mkdir -p $out/lib
5454 cp src/.libs/libgcrypt.20.dylib $out/lib
5555 '';
5656
5757 doCheck = true;
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 homepage = "https://www.gnu.org/software/libgcrypt/";
6161 description = "General-purpose cryptographic library";
6262 license = licenses.lgpl2Plus;
pkgs/development/libraries/libgda/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, intltool, itstool, libxml2, gtk3, openssl, gnome3, gobject-introspection, vala, libgee
1+{ lib, stdenv, fetchurl, pkg-config, intltool, itstool, libxml2, gtk3, openssl, gnome3, gobject-introspection, vala, libgee
22, overrideCC, gcc6, fetchpatch, autoreconfHook, gtk-doc, autoconf-archive, yelp-tools
33, mysqlSupport ? false, libmysqlclient ? null
44, postgresSupport ? false, postgresql ? null
@@ -12,7 +12,7 @@ assert postgresSupport -> postgresql != null;
1212 version = "5.2.10";
1313
1414 src = fetchurl {
15− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
15+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1616 sha256 = "1j1l4dwjgw6w4d1v4bl5a4kwyj7bcih8mj700ywm7xakh1xxyv3g";
1717 };
1818
@@ -24,7 +24,7 @@ assert postgresSupport -> postgresql != null;
2424 })
2525 ];
2626
27− configureFlags = with stdenv.lib; [
27+ configureFlags = with lib; [
2828 "--with-mysql=${if mysqlSupport then "yes" else "no"}"
2929 "--with-postgres=${if postgresSupport then "yes" else "no"}"
3030
@@ -41,7 +41,7 @@ assert postgresSupport -> postgresql != null;
4141 hardeningDisable = [ "format" ];
4242
4343 nativeBuildInputs = [ pkg-config intltool itstool libxml2 gobject-introspection vala autoreconfHook gtk-doc autoconf-archive yelp-tools ];
44− buildInputs = with stdenv.lib; [ gtk3 openssl libgee ]
44+ buildInputs = with lib; [ gtk3 openssl libgee ]
4545 ++ optional (mysqlSupport) libmysqlclient
4646 ++ optional (postgresSupport) postgresql;
4747
@@ -51,7 +51,7 @@ assert postgresSupport -> postgresql != null;
5151 };
5252 };
5353
54− meta = with stdenv.lib; {
54+ meta = with lib; {
5555 description = "Database access library";
5656 homepage = "https://www.gnome-db.org/";
5757 license = [ licenses.lgpl2 licenses.gpl2 ];
pkgs/development/libraries/libgdamm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glibmm, libgda, libxml2, gnome3
1+{ lib, stdenv, fetchurl, pkg-config, glibmm, libgda, libxml2, gnome3
22, mysqlSupport ? false
33, postgresSupport ? false }:
44
@@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
1313 outputs = [ "out" "dev" ];
1414
1515 src = fetchurl {
16− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
16+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1717 sha256 = "1fyh15b3f8hmwbswalxk1g4l04yvvybksn5nm7gznn5jl5q010p9";
1818 };
1919
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929 };
3030 };
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "C++ bindings for libgda";
3434 homepage = "https://www.gnome-db.org/";
3535 license = licenses.lgpl21Plus;
pkgs/development/libraries/libgdata/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, meson
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 outputs = [ "out" "dev" "installedTests" ];
2727
2828 src = fetchurl {
29− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
29+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3030 sha256 = "0bj7ij6k3lxjn62jgh8vabr8vfjs48aylnnl3779warw5iwyzfga";
3131 };
3232
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
7676 };
7777 };
7878
79− meta = with stdenv.lib; {
79+ meta = with lib; {
8080 description = "GData API library";
8181 homepage = "https://wiki.gnome.org/Projects/libgdata";
8282 maintainers = with maintainers; [ raskin lethalman ] ++ teams.gnome.members;
pkgs/development/libraries/libgdiplus/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, glib, cairo, Carbon, fontconfig
1+{ lib, stdenv, fetchFromGitHub, pkg-config, glib, cairo, Carbon, fontconfig
22, libtiff, giflib, libjpeg, libpng
33, libXrender, libexif, autoreconfHook, fetchpatch }:
44
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 nativeBuildInputs = [ autoreconfHook pkg-config ];
2323
24− configureFlags = stdenv.lib.optional stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
24+ configureFlags = lib.optional stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
2525
2626 enableParallelBuilding = true;
2727
@@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
2929 [ glib cairo fontconfig libtiff giflib
3030 libjpeg libpng libXrender libexif
3131 ]
32− ++ stdenv.lib.optional stdenv.isDarwin Carbon;
32+ ++ lib.optional stdenv.isDarwin Carbon;
3333
34− postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
34+ postInstall = lib.optionalString stdenv.isDarwin ''
3535 ln -s $out/lib/libgdiplus.0.dylib $out/lib/libgdiplus.so
3636 '';
3737
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 make check -w
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Mono library that provides a GDI+-compatible API on non-Windows operating systems";
4444 homepage = "https://www.mono-project.com/docs/gui/libgdiplus/";
4545 platforms = platforms.unix;
pkgs/development/libraries/libgee/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, vala, pkg-config, glib, gobject-introspection, gnome3 }:
1+{ lib, stdenv, fetchurl, autoconf, vala, pkg-config, glib, gobject-introspection, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libgee";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh";
1212 };
1313
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 };
2626 };
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
3030 homepage = "https://wiki.gnome.org/Projects/Libgee";
3131 license = licenses.lgpl21Plus;
pkgs/development/libraries/libgeotiff/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libtiff, libjpeg, proj, zlib, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, libtiff, libjpeg, proj, zlib, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 version = "1.5.1";
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
2929 meta = {
3030 description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery";
3131 homepage = "https://github.com/OSGeo/libgeotiff";
32− license = stdenv.lib.licenses.mit;
33− maintainers = [stdenv.lib.maintainers.marcweber];
34− platforms = with stdenv.lib.platforms; linux ++ darwin;
32+ license = lib.licenses.mit;
33+ maintainers = [lib.maintainers.marcweber];
34+ platforms = with lib.platforms; linux ++ darwin;
3535 };
3636}
pkgs/development/libraries/libgepub/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, gnome3
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, gnome3
22, webkitgtk, libsoup, libxml2, libarchive }:
33
44stdenv.mkDerivation rec {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 version = "0.6.0";
77
88 src = fetchurl {
9− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "16dkyywqdnfngmwsgbyga0kl9vcnzczxi3lmhm27pifrq5f3k2n7";
1111 };
1212
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 };
2323 };
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "GObject based library for handling and rendering epub documents";
2727 license = licenses.lgpl21Plus;
2828 platforms = platforms.linux;
pkgs/development/libraries/libgig/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libsndfile, libtool, pkg-config, libuuid }:
1+{ lib, stdenv, fetchurl, autoconf, automake, libsndfile, libtool, pkg-config, libuuid }:
22
33stdenv.mkDerivation rec {
44 pname = "libgig";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "http://www.linuxsampler.org";
2222 description = "Gigasampler file access library";
2323 license = licenses.gpl2;
pkgs/development/libraries/libgit2-glib/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gnome3, meson, ninja, pkg-config, vala, libssh2
1+{ lib, stdenv, fetchurl, gnome3, meson, ninja, pkg-config, vala, libssh2
22, gtk-doc, gobject-introspection, libgit2, glib, python3 }:
33
44stdenv.mkDerivation rec {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 version = "0.99.0.1";
77
88 src = fetchurl {
9− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "1pmrcnsa7qdda73c3dxf47733mwprmj5ljpw3acxbj6r8k27anp0";
1111 };
1212
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 python3.pkgs.pygobject3 # this should really be a propagated input of python output
3939 ];
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "A glib wrapper library around the libgit2 git access library";
4343 homepage = "https://wiki.gnome.org/Projects/Libgit2-glib";
4444 license = licenses.lgpl21;
pkgs/development/libraries/libgksu/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, wrapGAppsHook, gtk2, gnome2, gnome3,
1+{ lib, stdenv, fetchurl, pkg-config, wrapGAppsHook, gtk2, gnome2, gnome3,
22 libstartup_notification, libgtop, perlPackages,
33 autoreconfHook, intltool, docbook_xsl, xauth
44}:
@@ -79,8 +79,8 @@ stdenv.mkDerivation rec {
7979 programs in an X session.
8080 '';
8181 homepage = "https://www.nongnu.org/gksu/";
82− license = stdenv.lib.licenses.lgpl2;
83− maintainers = [ stdenv.lib.maintainers.romildo ];
84− platforms = stdenv.lib.platforms.linux;
82+ license = lib.licenses.lgpl2;
83+ maintainers = [ lib.maintainers.romildo ];
84+ platforms = lib.platforms.linux;
8585 };
8686}
pkgs/development/libraries/libglvnd/default.nix+2−2
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 ] ++ lib.optional stdenv.cc.isClang "-Wno-error");
3333
3434 # Indirectly: https://bugs.freedesktop.org/show_bug.cgi?id=35268
35− configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-tls";
35+ configureFlags = lib.optional stdenv.hostPlatform.isMusl "--disable-tls";
3636
3737 outputs = [ "out" "dev" ];
3838
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545
4646 passthru = { inherit (addOpenGLRunpath) driverLink; };
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 description = "The GL Vendor-Neutral Dispatch library";
5050 homepage = "https://github.com/NVIDIA/libglvnd";
5151 license = licenses.bsd2;
pkgs/development/libraries/libgnome-keyring/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool }:
1+{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool }:
22
33stdenv.mkDerivation rec {
44 pname = "libgnome-keyring";
55 version = "2.32.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
99 sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n";
1010 };
1111
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 inherit (glib.meta) platforms maintainers;
1919 homepage = "https://wiki.gnome.org/Projects/GnomeKeyring";
20− license = with stdenv.lib.licenses; [ gpl2 lgpl2 ];
20+ license = with lib.licenses; [ gpl2 lgpl2 ];
2121 };
2222}
pkgs/development/libraries/libgnomekbd/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libgnomekbd";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp";
1212 };
1313
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 glib
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Keyboard management library";
3434 maintainers = teams.gnome.members;
3535 license = licenses.gpl2;
pkgs/development/libraries/libgnurl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool, groff, perl, pkg-config, python2, zlib, gnutls,
1+{ lib, stdenv, fetchurl, libtool, groff, perl, pkg-config, python2, zlib, gnutls,
22 libidn2, libunistring, nghttp2 }:
33
44stdenv.mkDerivation rec {
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 "--without-librtmp"
3737 ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A fork of libcurl used by GNUnet";
4141 homepage = "https://gnunet.org/en/gnurl.html";
4242 maintainers = with maintainers; [ vrthra ];
pkgs/development/libraries/libgpg-error/default.nix+1−1
@@ -65,7 +65,7 @@ in stdenv.mkDerivation (rec {
6565
6666 doCheck = true; # not cross
6767
68− meta = with stdenv.lib; {
68+ meta = with lib; {
6969 homepage = "https://www.gnupg.org/related_software/libgpg-error/index.html";
7070 description = "A small library that defines common error values for all GnuPG components";
7171
pkgs/development/libraries/libgphoto2/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
22, libusb1
33, libtool
44, libexif
@@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
4949 from digital cameras.
5050 '';
5151 # XXX: the homepage claims LGPL, but several src files are lgpl21Plus
52− license = stdenv.lib.licenses.lgpl21Plus;
53− platforms = with stdenv.lib.platforms; unix;
54− maintainers = with stdenv.lib.maintainers; [ jcumming ];
52+ license = lib.licenses.lgpl21Plus;
53+ platforms = with lib.platforms; unix;
54+ maintainers = with lib.maintainers; [ jcumming ];
5555 };
5656}
pkgs/development/libraries/libgpod/default.nix+1−1
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 homepage = "https://gtkpod.sourceforge.net/";
4040 description = "Library used by gtkpod to access the contents of an ipod";
4141 license = "LGPL";
42− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
42+ platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux;
4343 maintainers = [ ];
4444 };
4545}
pkgs/development/libraries/libgringotts/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, zlib, bzip2, libmcrypt, libmhash }:
1+{ lib, stdenv, fetchurl, pkg-config, zlib, bzip2, libmcrypt, libmhash }:
22
33stdenv.mkDerivation rec {
44 pname = "libgringotts";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ zlib bzip2 libmcrypt libmhash ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A small library to encapsulate data in an encrypted structure";
1717 homepage = "http://libgringotts.sourceforge.net/";
1818 license = licenses.gpl2Plus;
pkgs/development/libraries/libgroove/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libav, SDL2, chromaprint, libebur128 }:
1+{ lib, stdenv, fetchFromGitHub, cmake, libav, SDL2, chromaprint, libebur128 }:
22
33stdenv.mkDerivation rec {
44 version = "4.3.0";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 nativeBuildInputs = [ cmake ];
1717 buildInputs = [ libav SDL2 chromaprint libebur128 ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Streaming audio processing library";
2121 homepage = "https://github.com/andrewrk/libgroove";
2222 license = licenses.mit;
pkgs/development/libraries/libgrss/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, vala, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, vala, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome3 }:
22
33let
44 version = "0.7.0";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010 outputs = [ "out" "dev" "devdoc" ];
1111
1212 src = fetchurl {
13− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
13+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1414 sha256 = "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7";
1515 };
1616
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
3030 };
3131 };
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Glib abstaction to handle feeds in RSS, Atom and other formats";
3535 homepage = "https://wiki.gnome.org/Projects/Libgrss";
3636 license = licenses.lgpl3Plus;
pkgs/development/libraries/libgsf/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, intltool, gettext, glib, libxml2, zlib, bzip2
1+{ fetchurl, lib, stdenv, pkg-config, intltool, gettext, glib, libxml2, zlib, bzip2
22, perl, gdk-pixbuf, libiconv, libintl, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 version = "1.14.47";
77
88 src = fetchurl {
9− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
9+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1010 sha256 = "0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i";
1111 };
1212
@@ -28,12 +28,12 @@ stdenv.mkDerivation rec {
2828 };
2929 };
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "GNOME's Structured File Library";
3333 homepage = "https://www.gnome.org/projects/libgsf";
3434 license = licenses.lgpl2Plus;
3535 maintainers = with maintainers; [ lovek323 ];
36− platforms = stdenv.lib.platforms.unix;
36+ platforms = lib.platforms.unix;
3737
3838 longDescription = ''
3939 Libgsf aims to provide an efficient extensible I/O abstraction for
pkgs/development/libraries/libgssglue/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, kerberos }:
1+{ lib, stdenv, fetchurl, kerberos }:
22
33stdenv.mkDerivation rec {
44 name = "libgssglue-0.4";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 EOF
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "http://www.citi.umich.edu/projects/nfsv4/linux/";
2424 description = "Exports a gssapi interface which calls other random gssapi libraries";
2525 license = licenses.bsd3;
pkgs/development/libraries/libgtop/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, glib
44, pkg-config
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 version = "2.40.0";
1515
1616 src = fetchurl {
17− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
17+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1818 sha256 = "1m6jbqk8maa52gxrf223442fr5bvvxgb7ham6v039i3r1i62gwvq";
1919 };
2020
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 };
3737 };
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "A library that reads information about processes and the running system";
4141 license = licenses.gpl2Plus;
4242 maintainers = teams.gnome.members;
pkgs/development/libraries/libgudev/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, udev
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 outputs = [ "out" "dev" ];
1515
1616 src = fetchurl {
17− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
17+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1818 sha256 = "0drf39qhsdz35kwb18hnfj2ig4yfxhfks66m783zlhnvy2narbhv";
1919 };
2020
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 };
3232 };
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "A library that provides GObject bindings for libudev";
3636 homepage = "https://wiki.gnome.org/Projects/libgudev";
3737 maintainers = [ maintainers.eelco ] ++ teams.gnome.members;
pkgs/development/libraries/libguestfs/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, autoreconfHook, makeWrapper
1+{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, makeWrapper
22, ncurses, cpio, gperf, cdrkit, flex, bison, qemu, pcre, augeas, libxml2
33, acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex, db
44, gmp, readline, file, numactl, libapparmor, jansson
@@ -7,7 +7,7 @@
77, appliance ? null
88, javaSupport ? false, jdk ? null }:
99
10−assert appliance == null || stdenv.lib.isDerivation appliance;
10+assert appliance == null || lib.isDerivation appliance;
1111assert javaSupport -> jdk != null;
1212
1313stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 libtirpc
2929 ] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ])
3030 ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt gettext-stub ounit ])
31− ++ stdenv.lib.optional javaSupport jdk;
31+ ++ lib.optional javaSupport jdk;
3232
3333 prePatch = ''
3434 # build-time scripts
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545 patchShebangs .
4646 '';
4747 configureFlags = [ "--disable-appliance" "--disable-daemon" "--with-distro=NixOS" ]
48− ++ stdenv.lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
48+ ++ lib.optionals (!javaSupport) [ "--disable-java" "--without-java" ];
4949 patches = [ ./libguestfs-syms.patch ];
5050 NIX_CFLAGS_COMPILE="-I${libxml2.dev}/include/libxml2/";
5151 installFlags = [ "REALLY_INSTALL=yes" ];
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
5959 done
6060 '';
6161
62− postFixup = stdenv.lib.optionalString (appliance != null) ''
62+ postFixup = lib.optionalString (appliance != null) ''
6363 mkdir -p $out/{lib,lib64}
6464 ln -s ${appliance} $out/lib64/guestfs
6565 ln -s ${appliance} $out/lib/guestfs
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
8585 runHook postInstallCheck
8686 '';
8787
88− meta = with stdenv.lib; {
88+ meta = with lib; {
8989 description = "Tools for accessing and modifying virtual machine disk images";
9090 license = with licenses; [ gpl2 lgpl21 ];
9191 homepage = "https://libguestfs.org/";
pkgs/development/libraries/libgumath/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, libndtypes
44, libxnd
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525
2626 doCheck = true;
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Library supporting function dispatch on general data containers. C base and Python wrapper";
3030 homepage = "https://xnd.io/";
3131 license = licenses.bsd3;
pkgs/development/libraries/libgweather/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, libxml2, glib, gtk3, gettext, libsoup
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, libxml2, glib, gtk3, gettext, libsoup
22, gtk-doc, docbook_xsl, docbook_xml_dtd_43, gobject-introspection, python3, tzdata, geocode-glib, vala, gnome3 }:
33
44stdenv.mkDerivation rec {
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 outputs = [ "out" "dev" "devdoc" ];
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1212 sha256 = "0l74hc02rvzm4p530y539a67jwb080fqdaazdl8j0fr3xvq0j9yy";
1313 };
1414
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 };
3333 };
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A library to access weather information from online services for numerous locations";
3737 homepage = "https://wiki.gnome.org/Projects/LibGWeather";
3838 license = licenses.gpl2Plus;
pkgs/development/libraries/libgxps/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, cairo
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, cairo
22, libarchive, freetype, libjpeg, libtiff, gnome3, lcms2
33}:
44
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 version = "0.3.1";
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "157s4c9gjjss6yd7qp7n4q6s72gz1k4ilsx4xjvp357azk49z4qs";
1212 };
1313
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 };
2727 };
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A GObject based library for handling and rendering XPS documents";
3131 homepage = "https://wiki.gnome.org/Projects/libgxps";
3232 license = licenses.lgpl21Plus;
pkgs/development/libraries/libhandy/0.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, meson, ninja, pkg-config, gobject-introspection, vala
1+{ lib, stdenv, fetchFromGitLab, meson, ninja, pkg-config, gobject-introspection, vala
22, gtk-doc, docbook_xsl, docbook_xml_dtd_43
33, gtk3, gnome3
44, dbus, xvfb_run, libxml2
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 meson test --print-errorlogs
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "A library full of GTK widgets for mobile phones";
4848 homepage = "https://source.puri.sm/Librem5/libhandy";
4949 license = licenses.lgpl21Plus;
pkgs/development/libraries/libhandy/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 outputBin = "dev";
3030
3131 src = fetchurl {
32− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3333 sha256 = "sha256-VZuzrMLDYkiJF+ty7SW9wYH0riaslNF3Y0zF00yGf3o=";
3434 };
3535
@@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
8080 meson test --print-errorlogs
8181 '';
8282
83− meta = with stdenv.lib; {
83+ meta = with lib; {
8484 changelog = "https://gitlab.gnome.org/GNOME/libhandy/-/tags/${version}";
8585 description = "Building blocks for modern adaptive GNOME apps";
8686 homepage = "https://gitlab.gnome.org/GNOME/libhandy";
pkgs/development/libraries/libhangul/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "libhangul-0.1.0";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "0ni9b0v70wkm0116na7ghv03pgxsfpfszhgyj3hld3bxamfal1ar";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 description = "Core algorithm library for Korean input routines";
1313 homepage = "https://github.com/choehwanjin/libhangul";
1414 license = licenses.lgpl21;
pkgs/development/libraries/libharu/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, cmake, zlib, libpng }:
1+{ lib, stdenv, fetchzip, cmake, zlib, libpng }:
22
33stdenv.mkDerivation {
44 name = "libharu-2.3.0";
@@ -14,8 +14,8 @@ stdenv.mkDerivation {
1414 meta = {
1515 description = "Cross platform, open source library for generating PDF files";
1616 homepage = "http://libharu.org/";
17− license = stdenv.lib.licenses.zlib;
18− maintainers = [ stdenv.lib.maintainers.marcweber ];
19− platforms = stdenv.lib.platforms.unix;
17+ license = lib.licenses.zlib;
18+ maintainers = [ lib.maintainers.marcweber ];
19+ platforms = lib.platforms.unix;
2020 };
2121}
pkgs/development/libraries/libhdhomerun/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33# libhdhomerun requires UDP port 65001 to be open in order to detect and communicate with tuners.
44# If your firewall is enabled, make sure to have something like:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 sha256 = "1v80jk056ii2iv2w7sq24i3prjrbhxql5vqhafs7vq54qmwvgbnb";
1414 };
1515
16− patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
16+ patchPhase = lib.optionalString stdenv.isDarwin ''
1717 substituteInPlace Makefile --replace "gcc" "cc"
1818 substituteInPlace Makefile --replace "-arch i386" ""
1919 '';
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 cp *.h $out/include/hdhomerun
2626 '';
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "Implements the libhdhomerun protocol for use with Silicondust HDHomeRun TV tuners";
3030 homepage = "https://www.silicondust.com/support/linux";
3131 license = licenses.lgpl21Only;
pkgs/development/libraries/libheif/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libde265, x265, libpng,
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libde265, x265, libpng,
22 libjpeg, libaom }:
33
44stdenv.mkDerivation rec {
@@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 homepage = "http://www.libheif.org/";
2525 description = "ISO/IEC 23008-12:2017 HEIF image file format decoder and encoder";
26− license = stdenv.lib.licenses.lgpl3;
27− platforms = stdenv.lib.platforms.unix;
28− maintainers = with stdenv.lib.maintainers; [ gebner ];
26+ license = lib.licenses.lgpl3;
27+ platforms = lib.platforms.unix;
28+ maintainers = with lib.maintainers; [ gebner ];
2929 };
3030
3131}
pkgs/development/libraries/libhttpseverywhere/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, meson, ninja, makeFontsConf, vala, fetchpatch
1+{ lib, stdenv, fetchurl, pkg-config, meson, ninja, makeFontsConf, vala, fetchpatch
22, gnome3, glib, json-glib, libarchive, libsoup, gobject-introspection }:
33
44let
@@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
88 name = "${pname}-${version}";
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1212 sha256 = "1jmn6i4vsm89q1axlq4ajqkzqmlmjaml9xhw3h9jnal46db6y00w";
1313 };
1414
@@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
3939 };
4040 };
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Library to use HTTPSEverywhere in desktop applications";
4444 homepage = "https://gitlab.gnome.org/GNOME/libhttpseverywhere";
4545 license = licenses.lgpl3;
pkgs/development/libraries/libiberty/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages
1+{ lib, stdenv, buildPackages
22, staticBuild ? stdenv.hostPlatform.isStatic
33}:
44
@@ -15,13 +15,13 @@ stdenv.mkDerivation {
1515 postUnpack = "sourceRoot=\${sourceRoot}/libiberty";
1616
1717 configureFlags = [ "--enable-install-libiberty" ]
18− ++ stdenv.lib.optional (!staticBuild) "--enable-shared";
18+ ++ lib.optional (!staticBuild) "--enable-shared";
1919
20− postInstall = stdenv.lib.optionalString (!staticBuild) ''
20+ postInstall = lib.optionalString (!staticBuild) ''
2121 cp pic/libiberty.a $out/lib*/libiberty.a
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://gcc.gnu.org/";
2626 license = licenses.lgpl2;
2727 description = "Collection of subroutines used by various GNU programs";
pkgs/development/libraries/libibmad/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libibumad }:
1+{ lib, stdenv, fetchurl, libibumad }:
22
33stdenv.mkDerivation rec {
44 name = "libibmad-1.3.13";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 buildInputs = [ libibumad ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 homepage = "https://www.openfabrics.org/";
1515 license = licenses.gpl2;
1616 platforms = platforms.linux;
pkgs/development/libraries/libibumad/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libibumad-1.3.10.2";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0bkygb3lbpaj6s4vsyixybrrkcnilbijv4ga5p1xdwyr3gip83sh";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "https://www.openfabrics.org/";
1313 license = licenses.gpl2;
1414 platforms = platforms.linux;
pkgs/development/libraries/libical/default.nix+1−1
@@ -96,7 +96,7 @@ stdenv.mkDerivation rec {
9696 runHook postInstallCheck
9797 '';
9898
99− meta = with stdenv.lib; {
99+ meta = with lib; {
100100 homepage = "https://github.com/libical/libical";
101101 description = "An Open Source implementation of the iCalendar protocols";
102102 license = licenses.mpl20;
pkgs/development/libraries/libicns/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, autoreconfHook, libpng, openjpeg }:
1+{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, libpng, openjpeg }:
22
33stdenv.mkDerivation rec {
44 pname = "libicns";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 buildInputs = [ libpng openjpeg ];
2121 NIX_CFLAGS_COMPILE = [ "-I${openjpeg.dev}/include/${openjpeg.incDir}" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Library for manipulation of the Mac OS icns resource format";
2525 homepage = "https://icns.sourceforge.io";
2626 license = with licenses; [ gpl2 lgpl2 lgpl21 ];
pkgs/development/libraries/libid3tag/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib, gperf}:
1+{lib, stdenv, fetchurl, zlib, gperf}:
22
33stdenv.mkDerivation rec {
44 pname = "libid3tag";
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 --subst-var-by version "${version}"
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "ID3 tag manipulation library";
3939 homepage = "http://mad.sourceforge.net/";
4040 license = licenses.gpl2;
pkgs/development/libraries/libidn/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, libiconv }:
1+{ fetchurl, lib, stdenv, libiconv }:
22
33stdenv.mkDerivation rec {
44 name = "libidn-1.36";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 hardeningDisable = [ "format" ];
1717
18− buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
18+ buildInputs = lib.optional stdenv.isDarwin libiconv;
1919
2020 doCheck = false; # fails
2121
@@ -40,8 +40,8 @@ stdenv.mkDerivation rec {
4040 '';
4141
4242 repositories.git = "git://git.savannah.gnu.org/libidn.git";
43− license = stdenv.lib.licenses.lgpl2Plus;
44− platforms = stdenv.lib.platforms.all;
43+ license = lib.licenses.lgpl2Plus;
44+ platforms = lib.platforms.all;
4545 maintainers = [ ];
4646 };
4747}
pkgs/development/libraries/libidn2/default.nix+5−5
@@ -1,11 +1,11 @@
1−{ fetchurl, stdenv, libiconv, libunistring, help2man, buildPackages }:
1+{ fetchurl, lib, stdenv, libiconv, libunistring, help2man, buildPackages }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
55# cgit) that are needed here should be included directly in Nixpkgs as
66# files.
77
8−with stdenv.lib;
8+with lib;
99
1010stdenv.mkDerivation rec {
1111 pname = "libidn2";
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
3838 '';
3939
4040 repositories.git = "https://gitlab.com/jas/libidn2";
41− license = with stdenv.lib.licenses; [ lgpl3Plus gpl2Plus gpl3Plus ];
42− platforms = stdenv.lib.platforms.all;
43− maintainers = with stdenv.lib.maintainers; [ fpletz ];
41+ license = with lib.licenses; [ lgpl3Plus gpl2Plus gpl3Plus ];
42+ platforms = lib.platforms.all;
43+ maintainers = with lib.maintainers; [ fpletz ];
4444 };
4545}
pkgs/development/libraries/libiec61883/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libraw1394 }:
1+{ lib, stdenv, fetchurl, pkg-config, libraw1394 }:
22
33stdenv.mkDerivation rec {
44 version = "1.2.0";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 propagatedBuildInputs = [ libraw1394 ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://www.linux1394.org";
1919 license = licenses.lgpl21Plus;
2020 platforms = platforms.linux;
pkgs/development/libraries/libieee1284/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, libtool, xmlto, docbook_xml_dtd_412, docbook_xsl }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, xmlto, docbook_xml_dtd_412, docbook_xsl }:
22
33stdenv.mkDerivation rec {
44 pname = "libieee1284";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 ./bootstrap
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Parallel port communication library";
3333 homepage = "http://cyberelk.net/tim/software/libieee1284/";
3434 license = licenses.gpl2Plus;
pkgs/development/libraries/libiio/default.nix+1−1
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 moveToOutput ${python.sitePackages} "$python"
5454 '';
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 description = "API for interfacing with the Linux Industrial I/O Subsystem";
5858 homepage = "https://github.com/analogdevicesinc/libiio";
5959 license = licenses.lgpl21Plus;
pkgs/development/libraries/libimagequant/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libimagequant";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 patchShebangs ./configure
1616 '';
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://pngquant.org/lib/";
2020 description = "Image quantization library";
2121 longDescription = "Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.";
pkgs/development/libraries/libime/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchFromGitHub
44, cmake
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353 fcitx5
5454 ];
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 description = "A library to support generic input method implementation";
5858 homepage = "https://github.com/fcitx/libime";
5959 license = licenses.lgpl21Plus;
pkgs/development/libraries/libimobiledevice/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config, gnutls
1+{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config, gnutls
22, libgcrypt, libtasn1, glib, libplist, libusbmuxd }:
33
44stdenv.mkDerivation rec {
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 "--without-cython"
3737 ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 homepage = "https://github.com/libimobiledevice/libimobiledevice";
4141 description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
4242 longDescription = ''
pkgs/development/libraries/libinfinity/default.nix+7−7
@@ -1,6 +1,6 @@
11{ gtkWidgets ? false # build GTK widgets for libinfinity
22, avahiSupport ? false # build support for Avahi in libinfinity
3−, stdenv, fetchurl, pkg-config, glib, libxml2, gnutls, gsasl
3+, lib, stdenv, fetchurl, pkg-config, glib, libxml2, gnutls, gsasl
44, gobject-introspection
55, gtk3 ? null, gtk-doc, docbook_xsl, docbook_xml_dtd_412, avahi ? null, libdaemon, libidn, gss
66, libintl }:
@@ -23,8 +23,8 @@ let
2323
2424 nativeBuildInputs = [ pkg-config gtk-doc docbook_xsl docbook_xml_dtd_412 gobject-introspection ];
2525 buildInputs = [ glib libxml2 gsasl libidn gss libintl libdaemon ]
26− ++ stdenv.lib.optional gtkWidgets gtk3
27− ++ stdenv.lib.optional avahiSupport avahi;
26+ ++ lib.optional gtkWidgets gtk3
27+ ++ lib.optional avahiSupport avahi;
2828
2929 propagatedBuildInputs = [ gnutls ];
3030
@@ -39,15 +39,15 @@ let
3939 ];
4040
4141 passthru = {
42− infinoted = "${self.bin}/bin/infinoted-${stdenv.lib.versions.majorMinor version}";
42+ infinoted = "${self.bin}/bin/infinoted-${lib.versions.majorMinor version}";
4343 };
4444
4545 meta = {
4646 homepage = "https://gobby.github.io/";
4747 description = "An implementation of the Infinote protocol written in GObject-based C";
48− license = stdenv.lib.licenses.lgpl2Plus;
49− maintainers = [ stdenv.lib.maintainers.phreedom ];
50− platforms = with stdenv.lib.platforms; linux ++ darwin;
48+ license = lib.licenses.lgpl2Plus;
49+ maintainers = [ lib.maintainers.phreedom ];
50+ platforms = with lib.platforms; linux ++ darwin;
5151 };
5252 };
5353in self
pkgs/development/libraries/libinjection/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, python
33}:
44
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 # no binaries, so out = library, dev = headers
2828 outputs = [ "out" "dev" ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "SQL / SQLI tokenizer parser analyzer";
3232 homepage = "https://github.com/client9/libinjection";
3333 license = licenses.bsd3;
pkgs/development/libraries/libinklevel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libusb1 }:
1+{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
22
33stdenv.mkDerivation rec {
44 pname = "libinklevel";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 outputs = [ "out" "dev" "doc" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A library for checking the ink level of your printer";
2121 longDescription = ''
2222 Libinklevel is a library for checking the ink level of your printer on a
pkgs/development/libraries/libinotify-kqueue/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, autoreconfHook }:
1+{ lib, stdenv, fetchzip, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libinotify-kqueue";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 doCheck = true;
1515 checkFlags = [ "test" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Inotify shim for macOS and BSD";
1919 homepage = "https://github.com/libinotify-kqueue/libinotify-kqueue";
2020 license = licenses.mit;
pkgs/development/libraries/libinput/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitLab, pkg-config, meson, ninja
1+{ lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja
22, libevdev, mtdev, udev, libwacom
33, documentationSupport ? false, doxygen ? null, graphviz ? null # Documentation
44, eventGUISupport ? false, cairo ? null, glib ? null, gtk3 ? null # GUI event viewer support
@@ -10,7 +10,7 @@ assert eventGUISupport -> cairo != null && glib != null && gtk3 != null;
1010assert testsSupport -> check != null && valgrind != null && python3 != null;
1111
1212let
13− mkFlag = optSet: flag: "-D${flag}=${stdenv.lib.boolToString optSet}";
13+ mkFlag = optSet: flag: "-D${flag}=${lib.boolToString optSet}";
1414
1515 sphinx-build = if documentationSupport then
1616 python3.pkgs.sphinx.overrideAttrs (super: {
@@ -24,7 +24,7 @@ let
2424 else null;
2525in
2626
27−with stdenv.lib;
27+with lib;
2828stdenv.mkDerivation rec {
2929 pname = "libinput";
3030 version = "1.16.4";
pkgs/development/libraries/libiodbc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ config, stdenv, fetchurl, pkg-config, gtk2, Carbon
1+{ config, lib, stdenv, fetchurl, pkg-config, gtk2, Carbon
22, useGTK ? config.libiodbc.gtk or false }:
33
44stdenv.mkDerivation rec {
@@ -10,15 +10,15 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 nativeBuildInputs = [ pkg-config ];
13− buildInputs = stdenv.lib.optionals useGTK [ gtk2 ]
14− ++ stdenv.lib.optional stdenv.isDarwin Carbon;
13+ buildInputs = lib.optionals useGTK [ gtk2 ]
14+ ++ lib.optional stdenv.isDarwin Carbon;
1515
1616 preBuild =
1717 ''
1818 export NIX_LDFLAGS_BEFORE="-rpath $out/lib"
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "iODBC driver manager";
2323 homepage = "http://www.iodbc.org";
2424 platforms = platforms.unix;
pkgs/development/libraries/libipfix/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 pname = "libipfix";
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
77 url = "mirror://sourceforge/libipfix/files/libipfix/libipfix_110209.tgz";
88 sha256 = "0h7v0sxjjdc41hl5vq2x0yhyn04bczl11bqm97825mivrvfymhn6";
99 };
10− meta = with stdenv.lib; {
10+ meta = with lib; {
1111 homepage = "http://libipfix.sourceforge.net/";
1212 description = "The libipfix C-library implements the IPFIX protocol defined by the IP Flow Information Export working group of the IETF";
1313 license = licenses.lgpl3;
pkgs/development/libraries/libipt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libipt";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Intel Processor Trace decoder library";
1818 homepage = "https://github.com/intel/libipt";
1919 license = licenses.bsd3;
pkgs/development/libraries/libiptcdata/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "libiptcdata-1.0.4";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 meta = {
1212 description = "Library for reading and writing the IPTC metadata in images and other files";
1313 homepage = "http://libiptcdata.sourceforge.net/";
14− license = stdenv.lib.licenses.gpl2Plus;
15− platforms = stdenv.lib.platforms.unix;
14+ license = lib.licenses.gpl2Plus;
15+ platforms = lib.platforms.unix;
1616 };
1717}
pkgs/development/libraries/libircclient/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "1.10";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 --replace "cp " "install "
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A small but extremely powerful library which implements the client IRC protocol";
2525 homepage = "http://www.ulduzsoft.com/libircclient/";
2626 license = licenses.lgpl3;
pkgs/development/libraries/libirecovery/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config
1+{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config
22, libusb1
33, readline
44}:
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 ''--with-udevrule="OWNER=\"root\", GROUP=\"myusergroup\", MODE=\"0660\""''
3939 ];
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 homepage = "https://github.com/libimobiledevice/libirecovery";
4343 description = "Library and utility to talk to iBoot/iBSS via USB on Mac OS X, Windows, and Linux";
4444 longDescription = ''
pkgs/development/libraries/libiscsi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libiscsi";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 # This problem is gone on libiscsi master.
1717 NIX_CFLAGS_COMPILE = if stdenv.hostPlatform.is32bit then "-Wno-error=sign-compare" else null;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "iscsi client library and utilities";
2121 homepage = "https://github.com/sahlberg/libiscsi";
2222 license = licenses.lgpl2;
pkgs/development/libraries/libisds/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, expat
44, gpgme
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 buildInputs = [ expat gpgme libgcrypt libxml2 libxslt curl docbook_xsl ];
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Client library for accessing SOAP services of Czech government-provided Databox infomation system";
2929 homepage = "http://xpisar.wz.cz/libisds/";
3030 license = licenses.lgpl3;
pkgs/development/libraries/libisoburn/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, acl, attr, zlib, libburn, libisofs }:
1+{ lib, stdenv, fetchurl, acl, attr, zlib, libburn, libisofs }:
22
33stdenv.mkDerivation rec {
44 pname = "libisoburn";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 buildInputs = [ attr zlib libburn libisofs ];
1313 propagatedBuildInputs = [ acl ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://libburnia-project.org/";
1717 description = "Enables creation and expansion of ISO-9660 filesystems on CD/DVD/BD ";
1818 license = licenses.gpl2Plus;
pkgs/development/libraries/libisofs/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, acl, attr, zlib }:
1+{ lib, stdenv, fetchurl, acl, attr, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "libisofs";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 buildInputs = [ attr zlib ];
1313 propagatedBuildInputs = [ acl ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://libburnia-project.org/";
1717 description = "A library to create an ISO-9660 filesystem with extensions like RockRidge or Joliet";
1818 license = licenses.gpl2Plus;
pkgs/development/libraries/libite/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libconfuse }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libconfuse }:
22
33stdenv.mkDerivation rec {
44 pname = "libite";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 buildInputs = [ libconfuse ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 inherit (src.meta) homepage;
1919 description = "Lightweight library of frog DNA";
2020 longDescription = ''
pkgs/development/libraries/libivykis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, file, protobufc }:
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, file, protobufc }:
22
33stdenv.mkDerivation rec {
44 pname = "libivykis";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ autoreconfHook pkg-config ];
1414 buildInputs = [ file protobufc ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://libivykis.sourceforge.net/";
1818 description = ''
1919 A thin wrapper over various OS'es implementation of I/O readiness
pkgs/development/libraries/libixp-hg/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, txt2tags }:
1+{ lib, stdenv, fetchurl, unzip, txt2tags }:
22
33stdenv.mkDerivation rec {
44 rev = "148";
@@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
1919 meta = {
2020 homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp
2121 description = "Portable, simple C-language 9P client and server libary";
22− maintainers = with stdenv.lib.maintainers; [ kovirobi ];
23− license = stdenv.lib.licenses.mit;
22+ maintainers = with lib.maintainers; [ kovirobi ];
23+ license = lib.licenses.mit;
2424 inherit version;
25− platforms = with stdenv.lib.platforms; unix;
25+ platforms = with lib.platforms; unix;
2626 };
2727}
pkgs/development/libraries/libjcat/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, docbook_xml_dtd_43
44, docbook-xsl-nons
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
7474 };
7575 };
7676
77− meta = with stdenv.lib; {
77+ meta = with lib; {
7878 description = "Library for reading and writing Jcat files";
7979 homepage = "https://github.com/hughsie/libjcat";
8080 license = licenses.lgpl21Plus;
pkgs/development/libraries/libjpeg-turbo/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, nasm
1+{ lib, stdenv, fetchFromGitHub, cmake, nasm
22, enableStatic ? stdenv.hostPlatform.isStatic
33, enableShared ? !stdenv.hostPlatform.isStatic
44}:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 };
1717
1818 patches =
19− stdenv.lib.optional (stdenv.hostPlatform.libc or null == "msvcrt")
19+ lib.optional (stdenv.hostPlatform.libc or null == "msvcrt")
2020 ./mingw-boolean.patch;
2121
2222 outputs = [ "bin" "dev" "out" "man" "doc" ];
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 doInstallCheck = true;
3232 installCheckTarget = "test";
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 homepage = "https://libjpeg-turbo.org/";
3636 description = "A faster (using SIMD) libjpeg implementation";
3737 license = licenses.ijg; # and some parts under other BSD-style licenses
pkgs/development/libraries/libjpeg/default.nix+4−4
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, static ? false }:
1+{ lib, stdenv, fetchurl, static ? false }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation {
66 name = "libjpeg-9d";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 meta = {
1818 homepage = "http://www.ijg.org/";
1919 description = "A library that implements the JPEG image file format";
20− license = stdenv.lib.licenses.free;
21− platforms = stdenv.lib.platforms.unix;
20+ license = lib.licenses.free;
21+ platforms = lib.platforms.unix;
2222 };
2323}
pkgs/development/libraries/libjreen/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, qt4, pkg-config, gsasl }:
1+{ lib, stdenv, fetchurl, cmake, qt4, pkg-config, gsasl }:
22
33stdenv.mkDerivation rec {
44 pname = "libjreen";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 meta = {
1616 description = "C++ Jabber library using Qt framework";
1717 homepage = "https://qutim.org/jreen/";
18− license = stdenv.lib.licenses.gpl2Plus;
19− platforms = stdenv.lib.platforms.unix;
18+ license = lib.licenses.gpl2Plus;
19+ platforms = lib.platforms.unix;
2020 };
2121}
pkgs/development/libraries/libjson-rpc-cpp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, pkg-config
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
7171 preInstall = ''
7272 function fixRunPath {
7373 p=$(patchelf --print-rpath $1)
74− q="$p:${stdenv.lib.makeLibraryPath [ jsoncpp argtable libmicrohttpd curl ]}:$out/lib"
74+ q="$p:${lib.makeLibraryPath [ jsoncpp argtable libmicrohttpd curl ]}:$out/lib"
7575 patchelf --set-rpath $q $1
7676 }
7777
@@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
9292 runHook postInstall
9393 '';
9494
95− meta = with stdenv.lib; {
95+ meta = with lib; {
9696 description = "C++ framework for json-rpc (json remote procedure call)";
9797 homepage = "https://github.com/cinemast/libjson-rpc-cpp";
9898 license = licenses.mit;
pkgs/development/libraries/libjson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22let
33 version = "7.6.1";
44in stdenv.mkDerivation {
@@ -13,7 +13,7 @@ in stdenv.mkDerivation {
1313 makeFlags = [ "prefix=$(out)" ];
1414 preInstall = "mkdir -p $out/lib";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://libjson.sourceforge.net/";
1818 description = "A JSON reader and writer";
1919 longDescription = ''
pkgs/development/libraries/libkate/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libogg, libpng }:
1+{ lib, stdenv, fetchurl, libogg, libpng }:
22
33stdenv.mkDerivation rec {
44 name = "libkate-0.4.1";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 buildInputs = [ libogg libpng ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 description = "A library for encoding and decoding Kate streams";
1515 longDescription = ''
1616 This is libkate, the reference implementation of a codec for the Kate
pkgs/development/libraries/libkeyfinder/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fftw, qtbase, qmake }:
1+{ lib, stdenv, fetchFromGitHub, fftw, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libkeyfinder";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 cp -a lib*.so* $out/lib
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "Musical key detection for digital audio (C++ library)";
3434 homepage = "http://www.ibrahimshaath.co.uk/keyfinder/";
3535 license = licenses.gpl3Plus;
pkgs/development/libraries/libkml/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, boost
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 cmakeFlags = [
2828 "-DBUILD_TESTING=ON"
2929 # Darwin tests require rpath for libs in build dir
30− ] ++ stdenv.lib.optional stdenv.isDarwin [
30+ ] ++ lib.optional stdenv.isDarwin [
3131 "-DCMAKE_SKIP_BUILD_RPATH=OFF"
3232 ];
3333
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646
4747 doCheck = true;
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 description = "Reference implementation of OGC KML 2.2";
5151 homepage = "https://github.com/libkml/libkml";
5252 license = licenses.bsd3;
pkgs/development/libraries/libksba/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ buildPackages, stdenv, fetchurl, gettext, libgpgerror }:
1+{ buildPackages, lib, stdenv, fetchurl, gettext, libgpgerror }:
22
33stdenv.mkDerivation rec {
44 name = "libksba-1.5.0";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 rmdir --ignore-fail-on-non-empty $out/bin
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://www.gnupg.org";
2727 description = "CMS and X.509 access library";
2828 platforms = platforms.all;
pkgs/development/libraries/libksi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }:
22
33stdenv.mkDerivation rec {
44 pname = "libksi";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 "--with-cafile=/etc/ssl/certs/ca-certificates.crt"
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://github.com/GuardTime/libksi";
2424 description = "Keyless Signature Infrastructure API library";
2525 license = licenses.asl20;
pkgs/development/libraries/libktorrent/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, extra-cmake-modules
1+{ lib, stdenv, fetchurl, cmake, extra-cmake-modules
22, karchive, kcrash, ki18n, kio, solid
33, boost, gmp, qca-qt5, libgcrypt
44}:
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
2727 inherit mainVersion;
2828 };
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "A BitTorrent library used by KTorrent";
3232 homepage = "https://www.kde.org/applications/internet/ktorrent/";
3333 maintainers = with maintainers; [ eelco ];
pkgs/development/libraries/liblangtag/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchFromBitbucket, autoreconfHook, gtk-doc, gettext
1+{ lib, stdenv, fetchurl, fetchFromBitbucket, autoreconfHook, gtk-doc, gettext
22, pkg-config, glib, libxml2, gobject-introspection, gnome-common, unzip
33}:
44
@@ -42,9 +42,9 @@ stdenv.mkDerivation rec {
4242 meta = {
4343 inherit version;
4444 description = "An interface library to access tags for identifying languages";
45− license = stdenv.lib.licenses.mpl20;
46− maintainers = [stdenv.lib.maintainers.raskin];
47− platforms = stdenv.lib.platforms.linux;
45+ license = lib.licenses.mpl20;
46+ maintainers = [lib.maintainers.raskin];
47+ platforms = lib.platforms.linux;
4848 # There are links to a homepage that are broken by a BitBucket change
4949 homepage = "https://bitbucket.org/tagoh/liblangtag/overview";
5050 };
pkgs/development/libraries/liblastfm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, pkg-config, which, cmake
1+{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, which, cmake
22, fftwSinglePrec, libsamplerate, qtbase
33, darwin }:
44
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
2121
2222 nativeBuildInputs = [ pkg-config which cmake ];
2323 buildInputs = [ fftwSinglePrec libsamplerate qtbase ]
24− ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
24+ ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "https://github.com/lastfm/liblastfm";
2828 repositories.git = "git://github.com/lastfm/liblastfm.git";
2929 description = "Official LastFM library";
pkgs/development/libraries/liblastfmSF/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, curl, openssl }:
1+{ lib, stdenv, fetchurl, pkg-config, curl, openssl }:
22
33stdenv.mkDerivation {
44 name = "liblastfm-SF-0.5";
@@ -15,6 +15,6 @@ stdenv.mkDerivation {
1515 meta = {
1616 homepage = "http://liblastfm.sourceforge.net";
1717 description = "Unofficial C lastfm library";
18− license = stdenv.lib.licenses.gpl3;
18+ license = lib.licenses.gpl3;
1919 };
2020}
pkgs/development/libraries/liblaxjson/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "1.0.5";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Library for parsing JSON config files";
1818 homepage = "https://github.com/andrewrk/liblaxjson";
1919 license = licenses.mit;
pkgs/development/libraries/liblcf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, expat, icu }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, expat, icu }:
22
33stdenv.mkDerivation rec {
44 pname = "liblcf";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 propagatedBuildInputs = [ expat icu ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Library to handle RPG Maker 2000/2003 and EasyRPG projects";
1919 homepage = "https://github.com/EasyRPG/liblcf";
2020 license = licenses.mit;
pkgs/development/libraries/liblinear/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fixDarwinDylibNames }:
1+{ lib, stdenv, fetchFromGitHub, fixDarwinDylibNames }:
22
33let
44 soVersion = "4";
@@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
1515
1616 outputs = [ "bin" "dev" "out" ];
1717
18− nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
18+ nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
1919
2020 buildFlags = [ "lib" "predict" "train" ];
2121
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
3232 install -Dm444 -t $dev/include linear.h
3333 '';
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A library for large linear classification";
3737 homepage = "https://www.csie.ntu.edu.tw/~cjlin/liblinear/";
3838 license = licenses.bsd3;
pkgs/development/libraries/liblinphone/default.nix+2−2
@@ -40,7 +40,7 @@
4040, soci
4141, speex
4242, sqlite
43−, stdenv
43+, lib, stdenv
4444, udev
4545, xercesc
4646, xsd
@@ -123,7 +123,7 @@ stdenv.mkDerivation rec {
123123 ln -s ${belcard}/share/belr/grammars/* $out/share/belr/grammars/
124124 '';
125125
126− meta = with stdenv.lib; {
126+ meta = with lib; {
127127 homepage = "https://www.linphone.org/technical-corner/liblinphone";
128128 description = "Library for SIP calls and instant messaging";
129129 license = licenses.gpl3Plus;
pkgs/development/libraries/liblo/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "liblo-0.31";
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
1313 meta = {
1414 description = "Lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
1515 homepage = "https://sourceforge.net/projects/liblo";
16− license = stdenv.lib.licenses.gpl2;
17− maintainers = [stdenv.lib.maintainers.marcweber];
18− platforms = with stdenv.lib.platforms; linux ++ darwin;
16+ license = lib.licenses.gpl2;
17+ maintainers = [lib.maintainers.marcweber];
18+ platforms = with lib.platforms; linux ++ darwin;
1919 };
2020}
pkgs/development/libraries/liblockfile/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 _name = "liblockfile";
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 description = "Shared library with NFS-safe locking functions";
2323 homepage = "http://packages.debian.org/unstable/libs/liblockfile1";
24− license = stdenv.lib.licenses.gpl2Plus;
24+ license = lib.licenses.gpl2Plus;
2525
26− maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
27− platforms = stdenv.lib.platforms.all;
26+ maintainers = [ lib.maintainers.bluescreen303 ];
27+ platforms = lib.platforms.all;
2828 };
2929}
pkgs/development/libraries/liblogging/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config
1+{ lib, stdenv, fetchurl, pkg-config
22, systemd ? null
33}:
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 "--enable-man-pages"
2121 ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://www.liblogging.org/";
2525 description = "Lightweight signal-safe logging library";
2626 license = licenses.bsd2;
pkgs/development/libraries/liblognorm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libestr, json_c, pcre, fastJson }:
1+{ lib, stdenv, fetchurl, pkg-config, libestr, json_c, pcre, fastJson }:
22
33stdenv.mkDerivation rec {
44 name = "liblognorm-2.0.6";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 configureFlags = [ "--enable-regexp" ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://www.liblognorm.com/";
1818 description = "Help to make sense out of syslog data, or, actually, any event data that is present in text form";
1919 license = licenses.lgpl21;
pkgs/development/libraries/liblouis/default.nix+2−2
@@ -1,5 +1,5 @@
11{ fetchFromGitHub
2−, stdenv
2+, lib, stdenv
33, autoreconfHook
44, pkg-config
55, gettext
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
5858
5959 doCheck = true;
6060
61− meta = with stdenv.lib; {
61+ meta = with lib; {
6262 description = "Open-source braille translator and back-translator";
6363 homepage = "http://liblouis.org/";
6464 license = licenses.lgpl21;
pkgs/development/libraries/liblqr-1/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib }:
22
33stdenv.mkDerivation rec {
44 name = "liblqr-1-0.4.2";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 propagatedBuildInputs = [ glib ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://liblqr.wikidot.com";
1616 description = "Seam-carving C/C++ library called Liquid Rescaling";
1717 platforms = platforms.all;
pkgs/development/libraries/liblscp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool, pkg-config }:
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "liblscp";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 enableParallelBuilding = true;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "http://www.linuxsampler.org";
2020 description = "LinuxSampler Control Protocol (LSCP) wrapper library";
2121 license = licenses.gpl2;
pkgs/development/libraries/libltc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "libltc-1.3.1";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
88 sha256 = "173h9dgmain3nyrwk6q2d7yl4fnh4vacag4s2p01n5b7nyrkxrjh";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://x42.github.io/libltc/";
1313 description = "POSIX-C Library for handling Linear/Logitudinal Time Code (LTC)";
1414 license = licenses.lgpl3Plus;
pkgs/development/libraries/liblxi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, pkg-config, autoreconfHook
33, libtirpc, rpcsvc-proto, avahi, libxml2
44}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 buildInputs = [ libtirpc avahi libxml2 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Library for communicating with LXI compatible instruments";
2323 longDescription = ''
2424 liblxi is an open source software library which offers a simple
pkgs/development/libraries/libmad/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, autoconf }:
1+{ lib, stdenv, fetchurl, fetchpatch, autoconf }:
22
33stdenv.mkDerivation rec {
44 pname = "libmad";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 # optimize.diff is taken from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/optimize.diff?h=packages/libmad
3737 # It is included here in order to fix a build failure in Clang
3838 # But it may be useful to fix other, currently unknown problems as well
39− ++ stdenv.lib.optionals stdenv.cc.isClang [
39+ ++ lib.optionals stdenv.cc.isClang [
4040 (fetchpatch {
4141 url = "https://github.com/KaOSx/main/raw/1270b8080f37fb6cca562829a521991800b0a497/libmad/optimize.diff";
4242 sha256 = "0hcxzz9ql1fizyqbsgdchdwi7bvchfr72172j43hpyj53p0yabc6";
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
5353
5454 preConfigure = "autoconf";
5555
56− meta = with stdenv.lib; {
56+ meta = with lib; {
5757 homepage = "https://sourceforge.net/projects/mad/";
5858 description = "A high-quality, fixed-point MPEG audio decoder supporting MPEG-1 and MPEG-2";
5959 license = licenses.gpl2;
pkgs/development/libraries/libmanette/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, ninja
44, meson
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 outputs = [ "out" "dev" "devdoc" ];
2222
2323 src = fetchurl {
24− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
24+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2525 sha256 = "1b3bcdkk5xd5asq797cch9id8692grsjxrc1ss87vv11m1ck4rb3";
2626 };
2727
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 };
5555 };
5656
57− meta = with stdenv.lib; {
57+ meta = with lib; {
5858 description = "A simple GObject game controller library";
5959 homepage = "https://gnome.pages.gitlab.gnome.org/libmanette/";
6060 license = licenses.lgpl21Plus;
pkgs/development/libraries/libmatchbox/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libX11, libXext, libpng, libXft, libICE, pango, libjpeg}:
1+{ lib, stdenv, fetchurl, libX11, libXext, libpng, libXft, libICE, pango, libjpeg}:
22
33stdenv.mkDerivation rec {
44 pname = "libmatchbox";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 meta = {
1717 description = "Library of the matchbox X window manager";
1818 homepage = "http://matchbox-project.org/";
19− license = stdenv.lib.licenses.gpl2Plus;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.gpl2Plus;
20+ platforms = lib.platforms.unix;
2121 };
2222}
pkgs/development/libraries/libmatheval/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, guile, autoconf, flex, fetchpatch }:
1+{ lib, stdenv, fetchurl, pkg-config, guile, autoconf, flex, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 version = "1.1.11";
@@ -38,9 +38,9 @@ stdenv.mkDerivation rec {
3838 symbolic derivatives and output expressions to strings.
3939 '';
4040 homepage = "https://www.gnu.org/software/libmatheval/";
41− license = stdenv.lib.licenses.gpl3;
42− maintainers = [ stdenv.lib.maintainers.bzizou ];
43− platforms = stdenv.lib.platforms.linux;
41+ license = lib.licenses.gpl3;
42+ maintainers = [ lib.maintainers.bzizou ];
43+ platforms = lib.platforms.linux;
4444 };
4545}
4646
pkgs/development/libraries/libmatroska/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
22, libebml }:
33
44stdenv.mkDerivation rec {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 "-DBUILD_SHARED_LIBS=YES"
2121 ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A library to parse Matroska files";
2525 homepage = "https://matroska.org/";
2626 license = licenses.lgpl21;
pkgs/development/libraries/libmaxminddb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libmaxminddb";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "sha256-fFbnkf8qZVIV5+04ZLH/3X00o4g1d57+1WpC8Fa9WKo=";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "C library for working with MaxMind geolocation DB files";
1414 homepage = "https://github.com/maxmind/libmaxminddb";
1515 license = licenses.asl20;
pkgs/development/libraries/libmbim/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, pkg-config
44, gobject-introspection
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838
3939 doCheck = true;
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 homepage = "https://www.freedesktop.org/wiki/Software/libmbim/";
4343 description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
4444 platforms = platforms.linux;
pkgs/development/libraries/libmcrypt/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
1+{ lib, stdenv, fetchurl, darwin, disablePosixThreads ? false }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation {
66 name = "libmcrypt-2.5.8";
pkgs/development/libraries/libmd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libmd";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ autoreconfHook ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://www.hadrons.org/software/${pname}/";
1616 changelog = "https://archive.hadrons.org/software/libmd/libmd-${version}.announce";
1717 # Git: https://git.hadrons.org/cgit/libmd.git
pkgs/development/libraries/libmediaart/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome3, fetchpatch }:
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome3, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 pname = "libmediaart";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" "devdoc" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
1212 };
1313
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 };
3434 };
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 description = "Library tasked with managing, extracting and handling media art caches";
3838 maintainers = teams.gnome.members;
3939 license = licenses.gpl2;
pkgs/development/libraries/libmediainfo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib }:
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libzen, zlib }:
22
33stdenv.mkDerivation rec {
44 version = "20.09";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
2222 '';
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Shared library for mediainfo";
2626 homepage = "https://mediaarea.net/";
2727 license = licenses.bsd2;
pkgs/development/libraries/libmemcached/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, cyrus_sasl, libevent }:
1+{ lib, stdenv, fetchurl, fetchpatch, cyrus_sasl, libevent }:
22
33stdenv.mkDerivation {
44 name = "libmemcached-1.0.18";
@@ -13,19 +13,19 @@ stdenv.mkDerivation {
1313 # https://bugs.launchpad.net/libmemcached/+bug/1281907
1414 # Fix building on macOS (patch from Homebrew)
1515 # https://bugs.launchpad.net/libmemcached/+bug/1245562
16− patches = stdenv.lib.optional stdenv.isLinux ./libmemcached-fix-linking-with-libpthread.patch
17− ++ stdenv.lib.optional stdenv.isDarwin (fetchpatch {
16+ patches = lib.optional stdenv.isLinux ./libmemcached-fix-linking-with-libpthread.patch
17+ ++ lib.optional stdenv.isDarwin (fetchpatch {
1818 url = "https://raw.githubusercontent.com/Homebrew/homebrew/bfd4a0a4626b61c2511fdf573bcbbc6bbe86340e/Library/Formula/libmemcached.rb";
1919 sha256 = "1gjf3vd7hiyzxjvlg2zfc3y2j0lyr6nhbws4xb5dmin3csyp8qb8";
2020 })
21− ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./musl-fixes.patch;
21+ ++ lib.optional stdenv.hostPlatform.isMusl ./musl-fixes.patch;
2222
2323 buildInputs = [ libevent ];
2424 propagatedBuildInputs = [ cyrus_sasl ];
2525
2626 NIX_CFLAGS_COMPILE = "-fpermissive";
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 homepage = "https://libmemcached.org";
3030 description = "Open source C/C++ client library and tools for the memcached server";
3131 license = licenses.bsd3;
pkgs/development/libraries/libmesode/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, libtool
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 doCheck = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client";
3131 longDescription = ''
3232 Reasons for forking:
pkgs/development/libraries/libmhash/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "mhash";
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
2323 '';
2424 homepage = "http://mhash.sourceforge.net";
2525 license = "LGPL";
26− platforms = stdenv.lib.platforms.unix;
26+ platforms = lib.platforms.unix;
2727 };
2828}
pkgs/development/libraries/libmicrodns/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, meson
44, ninja
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 pkg-config
2323 ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Minimal mDNS resolver library, used by VLC";
2727 homepage = "https://github.com/videolabs/libmicrodns";
2828 license = licenses.lgpl21;
pkgs/development/libraries/libmicrohttpd/generic.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, libgcrypt, curl, gnutls, pkg-config, libiconv, libintl, version, src }:
1+{ lib, stdenv, libgcrypt, curl, gnutls, pkg-config, libiconv, libintl, version, src }:
22
33stdenv.mkDerivation rec {
44 pname = "libmicrohttpd";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 # Disabled because the tests can time-out.
1717 doCheck = false;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Embeddable HTTP server library";
2121
2222 longDescription = ''
pkgs/development/libraries/libmikmod/default.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, texinfo, alsaLib, libpulseaudio, CoreAudio }:
1+{ lib, stdenv, fetchurl, texinfo, alsaLib, libpulseaudio, CoreAudio }:
22
33let
4− inherit (stdenv.lib) optional optionalString;
4+ inherit (lib) optional optionalString;
55
66in stdenv.mkDerivation rec {
77 name = "libmikmod-3.3.11.1";
@@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
1818
1919 NIX_LDFLAGS = optionalString stdenv.isLinux "-lasound";
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A library for playing tracker music module files";
2323 homepage = "https://mikmod.shlomifish.org/";
2424 license = licenses.lgpl2Plus;
pkgs/development/libraries/libmilter/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4 }:
1+{ lib, stdenv, fetchurl, m4 }:
22
33stdenv.mkDerivation rec {
44 pname = "libmilter";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 nativeBuildInputs = [ m4 ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Sendmail Milter mail filtering API library";
4141 platforms = platforms.unix;
4242 maintainers = with maintainers; [ fpletz ];
pkgs/development/libraries/libminc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, zlib, netcdf, nifticlib, hdf5 }:
1+{ lib, stdenv, fetchFromGitHub, cmake, zlib, netcdf, nifticlib, hdf5 }:
22
33stdenv.mkDerivation rec {
44 pname = "libminc";
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 # ezminc_rw_test: can't find libminc_io.so.5.2.0
3636 '';
3737
38− meta = with stdenv.lib; {
38+ meta = with lib; {
3939 homepage = "https://github.com/BIC-MNI/libminc";
4040 description = "Medical imaging library based on HDF5";
4141 maintainers = with maintainers; [ bcdarwin ];
pkgs/development/libraries/libmkv/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
1+{ lib, stdenv, fetchFromGitHub, libtool, autoconf, automake }:
22
33stdenv.mkDerivation rec {
44 pname = "libmkv";
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
2222 It is written in plain C, and intended to be very portable.
2323 '';
2424 homepage = "https://github.com/saintdev/libmkv";
25− license = stdenv.lib.licenses.gpl2;
26− maintainers = [ stdenv.lib.maintainers.wmertens ];
27− platforms = stdenv.lib.platforms.unix;
25+ license = lib.licenses.gpl2;
26+ maintainers = [ lib.maintainers.wmertens ];
27+ platforms = lib.platforms.unix;
2828 };
2929}
pkgs/development/libraries/libmms/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, glib, pkg-config }:
1+{ lib, stdenv, fetchurl, glib, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "libmms-0.6.4";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Library for downloading (streaming) media files using the mmst and mmsh protocols";
1717 homepage = "http://libmms.sourceforge.net";
1818 platforms = platforms.all;
pkgs/development/libraries/libmng/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, libpng, libjpeg, lcms2 }:
1+{ lib, stdenv, fetchurl, zlib, libpng, libjpeg, lcms2 }:
22
33stdenv.mkDerivation rec {
44 name = "libmng-2.0.3";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 propagatedBuildInputs = [ zlib libpng libjpeg lcms2 ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Reference library for reading, displaying, writing and examining Multiple-Image Network Graphics";
1818 homepage = "http://www.libmng.com";
1919 license = licenses.zlib;
pkgs/development/libraries/libmnl/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libmnl-1.0.4";
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 re-inventing the wheel.
1919 '';
2020 homepage = "https://netfilter.org/projects/libmnl/index.html";
21− license = stdenv.lib.licenses.lgpl21Plus;
21+ license = lib.licenses.lgpl21Plus;
2222
23− platforms = stdenv.lib.platforms.linux;
23+ platforms = lib.platforms.linux;
2424 };
2525}
pkgs/development/libraries/libmodbus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libmodbus-3.1.6";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 "ac_cv_func_realloc_0_nonnull=yes"
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Library to send/receive data according to the Modbus protocol";
2323 homepage = "https://libmodbus.org/";
2424 license = licenses.lgpl21Plus;
pkgs/development/libraries/libmodplug/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, file }:
1+{ lib, stdenv, fetchurl, file }:
22
33let
44 version = "0.8.9.0";
@@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
1212 --replace /usr/bin/file ${file}/bin/file
1313 '';
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "MOD playing library";
1717 homepage = "http://modplug-xmms.sourceforge.net/";
1818 license = licenses.publicDomain;
pkgs/development/libraries/libmodule/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, cmake, pkg-config }:
33
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 pkg-config
1818 ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "C simple and elegant implementation of an actor library";
2222 homepage = "https://github.com/FedeDP/libmodule";
2323 platforms = platforms.linux;
pkgs/development/libraries/libmodulemd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, substituteAll
33, fetchFromGitHub
44, fetchpatch
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
7878 echo "$out ${python3.pkgs.pygobject3} ${python3.pkgs.six}" > "$py/nix-support/propagated-build-inputs"
7979 '';
8080
81− meta = with stdenv.lib; {
81+ meta = with lib; {
8282 description = "C Library for manipulating module metadata files";
8383 homepage = "https://github.com/fedora-modularity/libmodulemd";
8484 license = licenses.mit;
pkgs/development/libraries/libmongo-client/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib }:
22
33stdenv.mkDerivation rec {
44 name = "libmongo-client-0.1.8";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 sed -i 's/Requires.private/Requires/g' src/libmongo-client.pc.in
2020 '';
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "http://algernon.github.io/libmongo-client/";
2424 description = "An alternative C driver for MongoDB";
2525 license = licenses.asl20;
pkgs/development/libraries/libmowgli/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libmowgli";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0xx4vndmwz40pxa5gikl8z8cskpdl9a30i2i5fjncqzlp4pspymp";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "A development framework for C providing high performance and highly flexible algorithms";
1414 homepage = "https://github.com/atheme/libmowgli-2";
1515 license = licenses.isc;
pkgs/development/libraries/libmp3splt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool, libmad, libid3tag }:
1+{ lib, stdenv, fetchurl, libtool, libmad, libid3tag }:
22
33stdenv.mkDerivation rec {
44 name = "libmp3splt-0.9.2";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 configureFlags = [ "--disable-pcre" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://sourceforge.net/projects/mp3splt/";
1919 description = "Utility to split mp3, ogg vorbis and FLAC files without decoding";
2020 maintainers = with maintainers; [ bosu ];
pkgs/development/libraries/libmpack/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libtool }:
1+{ lib, stdenv, fetchFromGitHub, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "libmpack";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 makeFlags = [ "LIBTOOL=libtool" "PREFIX=$(out)" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Simple implementation of msgpack in C";
1919 homepage = "https://github.com/tarruda/libmpack/";
2020 license = licenses.mit;
pkgs/development/libraries/libmpc/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, gmp, mpfr
33}:
44
@@ -33,9 +33,9 @@ stdenv.mkDerivation {
3333 '';
3434
3535 homepage = "http://mpc.multiprecision.org/";
36− license = stdenv.lib.licenses.lgpl2Plus;
36+ license = lib.licenses.lgpl2Plus;
3737
38− platforms = stdenv.lib.platforms.all;
38+ platforms = lib.platforms.all;
3939 maintainers = [ ];
4040 };
4141}
pkgs/development/libraries/libmpcdec/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "libmpcdec-1.2.6";
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
1010
1111 meta = {
1212 description = "Musepack SV7 decoder library";
13− platforms = stdenv.lib.platforms.unix;
14− license = stdenv.lib.licenses.bsd3;
13+ platforms = lib.platforms.unix;
14+ license = lib.licenses.bsd3;
1515 };
1616}
pkgs/development/libraries/libmpeg2/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 version = "0.5.1";
@@ -10,13 +10,13 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 # Otherwise clang fails with 'duplicate symbol ___sputc'
13− buildFlags = stdenv.lib.optional stdenv.isDarwin "CFLAGS=-std=gnu89";
13+ buildFlags = lib.optional stdenv.isDarwin "CFLAGS=-std=gnu89";
1414
1515 meta = {
1616 homepage = "http://libmpeg2.sourceforge.net/";
1717 description = "A free library for decoding mpeg-2 and mpeg-1 video streams";
18− license = stdenv.lib.licenses.gpl2;
19− maintainers = with stdenv.lib.maintainers; [ ];
20− platforms = with stdenv.lib.platforms; unix;
18+ license = lib.licenses.gpl2;
19+ maintainers = with lib.maintainers; [ ];
20+ platforms = with lib.platforms; unix;
2121 };
2222}
pkgs/development/libraries/libmrss/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, curl, libnxml, pkg-config}:
1+{lib, stdenv, fetchurl, curl, libnxml, pkg-config}:
22
33stdenv.mkDerivation {
44 name = "libmrss-0.19.2";
@@ -14,9 +14,9 @@ stdenv.mkDerivation {
1414 meta = {
1515 homepage = "http://www.autistici.org/bakunin/libmrss/doc";
1616 description = "C library for parsing, writing and creating RSS/ATOM files or streams";
17− license = stdenv.lib.licenses.lgpl2;
17+ license = lib.licenses.lgpl2;
1818
19− platforms = stdenv.lib.platforms.all;
20− maintainers = [ stdenv.lib.maintainers.viric ];
19+ platforms = lib.platforms.all;
20+ maintainers = [ lib.maintainers.viric ];
2121 };
2222}
pkgs/development/libraries/libmspack/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "libmspack-0.7.1alpha";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 meta = {
1212 description = "A de/compression library for various Microsoft formats";
1313 homepage = "https://www.cabextract.org.uk/libmspack";
14− license = stdenv.lib.licenses.lgpl2;
15− platforms = stdenv.lib.platforms.unix;
14+ license = lib.licenses.lgpl2;
15+ platforms = lib.platforms.unix;
1616 };
1717}
pkgs/development/libraries/libmtp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, gettext, libtool, pkg-config
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, gettext, libtool, pkg-config
22, libusb1
33, libiconv
44}:
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 # tried to install files to /lib/udev, hopefully OK
4040 configureFlags = [ "--with-udev=$$bin/lib/udev" ];
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 homepage = "http://libmtp.sourceforge.net";
4444 description = "An implementation of Microsoft's Media Transfer Protocol";
4545 longDescription = ''
pkgs/development/libraries/libmusicbrainz/5.x.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, neon, libdiscid, libxml2, pkg-config }:
22
33stdenv.mkDerivation rec {
44 version = "5.1.0";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 dontUseCmakeBuildDir=true;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "http://musicbrainz.org/doc/libmusicbrainz";
2121 description = "MusicBrainz Client Library (5.x version)";
2222 longDescription = ''
pkgs/development/libraries/libmusicbrainz/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, neon, libdiscid }:
1+{ lib, stdenv, fetchurl, cmake, neon, libdiscid }:
22
33stdenv.mkDerivation rec {
44 name = "libmusicbrainz-3.0.3";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "1i9qly13bwwmgj68vma766hgvsd1m75236haqsp9zgh5znlmkm3z";
1212 };
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://musicbrainz.org/doc/libmusicbrainz";
1616 description = "MusicBrainz Client Library (3.x version)";
1717 longDescription = ''
pkgs/development/libraries/libmwaw/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge}:
1+{lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge}:
22let
33 s = # Generated upstream information
44 rec {
@@ -24,8 +24,8 @@ stdenv.mkDerivation {
2424 meta = {
2525 inherit (s) version;
2626 description = ''Import library for some old mac text documents'';
27− license = stdenv.lib.licenses.mpl20 ;
28− maintainers = [stdenv.lib.maintainers.raskin];
29− platforms = stdenv.lib.platforms.unix;
27+ license = lib.licenses.mpl20 ;
28+ maintainers = [lib.maintainers.raskin];
29+ platforms = lib.platforms.unix;
3030 };
3131}
pkgs/development/libraries/libmx/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, libtool, pkg-config, automake, autoconf, intltool
33, glib, gobject-introspection, gtk2, gtk-doc
44, clutter, clutter-gtk
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646 sed -i 's/GLfloat/gfloat/g' mx/mx-texture-frame.c
4747 '';
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 homepage = "http://www.clutter-project.org/";
5151 description = "A Clutter-based toolkit";
5252 longDescription =
pkgs/development/libraries/libmypaint/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, autoconf
33, automake
44, fetchFromGitHub
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545
4646 preConfigure = "./autogen.sh";
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 homepage = "http://mypaint.org/";
5050 description = "Library for making brushstrokes which is used by MyPaint and other projects";
5151 license = licenses.isc;
pkgs/development/libraries/libmysqlconnectorcpp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, cmake
44, boost
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 meta = {
3636 homepage = "https://dev.mysql.com/downloads/connector/cpp/";
3737 description = "C++ library for connecting to mysql servers";
38− license = stdenv.lib.licenses.gpl2;
39− platforms = stdenv.lib.platforms.unix;
38+ license = lib.licenses.gpl2;
39+ platforms = lib.platforms.unix;
4040 };
4141}
pkgs/development/libraries/libnabo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, cmake, eigen, boost}:
1+{lib, stdenv, fetchFromGitHub, cmake, eigen, boost}:
22
33stdenv.mkDerivation rec {
44 version = "1.0.7";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 doCheck = true;
2222 checkTarget = "test";
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 inherit (src.meta) homepage;
2626 description = "A fast K Nearest Neighbor library for low-dimensional spaces";
2727 license = licenses.bsd3;
pkgs/development/libraries/libnatpmp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnatpmp";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 makeFlags = [ "INSTALLPREFIX=$(out)" ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://miniupnp.free.fr/libnatpmp.html";
1717 description = "NAT-PMP client";
1818 license = licenses.bsd3;
pkgs/development/libraries/libnats-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, cmake, protobuf, protobufc
33, libsodium, openssl
44}:
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 separateDebugInfo = true;
2121 outputs = [ "out" "dev" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "C API for the NATS messaging system";
2525 homepage = "https://github.com/nats-io/nats.c";
2626 license = licenses.asl20;
pkgs/development/libraries/libnatspec/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, popt, libiconv }:
1+{ lib, stdenv, fetchurl, autoreconfHook, popt, libiconv }:
22
33stdenv.mkDerivation (rec {
44 name = "libnatspec-0.3.0";
@@ -12,12 +12,12 @@ stdenv.mkDerivation (rec {
1212
1313 buildInputs = [ popt ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://natspec.sourceforge.net/";
1717 description = "A library intended to smooth national specificities in using of programs";
1818 platforms = platforms.unix;
1919 license = licenses.lgpl21;
2020 };
21−} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
21+} // lib.optionalAttrs (!stdenv.isLinux) {
2222 propagatedBuildInputs = [ libiconv ];
2323})
pkgs/development/libraries/libndctl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook
22, asciidoctor, pkg-config, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
33, json_c, kmod, which, util-linux, udev, keyutils
44}:
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 echo "m4_define([GIT_VERSION], [${version}])" > version.m4;
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "Tools for managing the Linux Non-Volatile Memory Device sub-system";
4444 homepage = "https://github.com/pmem/ndctl";
4545 license = licenses.lgpl21;
pkgs/development/libraries/libndp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libndp-1.7";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "1dlinhl39va00v55qygjc9ap77yqf7xvn4rwmvdr49xhzzxhlj1c";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://libndp.org/";
1313 description = "Library for Neighbor Discovery Protocol";
1414 platforms = platforms.linux;
pkgs/development/libraries/libndtypes/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33}:
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919
2020 doCheck = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Dynamic types for data description and in-memory computations";
2424 homepage = "https://xnd.io/";
2525 license = licenses.bsdOriginal;
pkgs/development/libraries/libnest2d/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, clipper, nlopt, boost, python3 }:
1+{ lib, stdenv, fetchFromGitHub, cmake, clipper, nlopt, boost, python3 }:
22
33stdenv.mkDerivation rec {
44 version = "2020-10-09-unstable";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 CLIPPER_PATH = "${clipper.out}";
2121 cmakeFlags = [ "-DLIBNEST2D_HEADER_ONLY=OFF" ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description =
2525 "2D irregular bin packaging and nesting library written in modern C++";
2626 homepage = "https://github.com/Ultimaker/libnest2d";
pkgs/development/libraries/libnet/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnet";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 patches = [ ./fix-includes.patch ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://github.com/sam-github/libnet";
1616 description = "Portable framework for low-level network packet construction";
1717 license = licenses.bsd3;
pkgs/development/libraries/libnetfilter_acct/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libmnl }:
22
33stdenv.mkDerivation rec {
44 version = "1.0.3";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ libmnl ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://www.netfilter.org/projects/libnetfilter_acct/";
1717 description = "Userspace library providing interface to extended accounting infrastructure";
1818 license = licenses.gpl2;
pkgs/development/libraries/libnetfilter_conntrack/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libnfnetlink, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libnfnetlink, libmnl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnetfilter_conntrack";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 propagatedBuildInputs = [ libnfnetlink ];
1414 nativeBuildInputs = [ pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Userspace library providing an API to the in-kernel connection tracking state table";
1818 longDescription = ''
1919 libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
pkgs/development/libraries/libnetfilter_cthelper/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libmnl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnetfilter_cthelper";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 is used by conntrack-tools.
2222 '';
2323 homepage = "http://www.netfilter.org/projects/libnetfilter_cthelper/";
24− license = stdenv.lib.licenses.gpl2Plus;
25− platforms = stdenv.lib.platforms.linux;
24+ license = lib.licenses.gpl2Plus;
25+ platforms = lib.platforms.linux;
2626 };
2727}
pkgs/development/libraries/libnetfilter_cttimeout/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libmnl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnetfilter_cttimeout";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 be attached to traffic flows. This library is used by conntrack-tools.
2222 '';
2323 homepage = "https://netfilter.org/projects/libnetfilter_cttimeout/";
24− license = stdenv.lib.licenses.gpl2Plus;
25− platforms = stdenv.lib.platforms.linux;
24+ license = lib.licenses.gpl2Plus;
25+ platforms = lib.platforms.linux;
2626 };
2727}
pkgs/development/libraries/libnetfilter_log/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libnfnetlink, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libnfnetlink, libmnl }:
22
33stdenv.mkDerivation rec {
44 pname = "libnetfilter_log";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 propagatedBuildInputs = [ libnfnetlink ];
1414 nativeBuildInputs = [ pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Userspace library providing interface to packets that have been logged by the kernel packet filter";
1818 longDescription = ''
1919 libnetfilter_log is a userspace library providing interface to packets
pkgs/development/libraries/libnetfilter_queue/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libmnl, libnfnetlink }:
1+{ lib, stdenv, fetchurl, pkg-config, libmnl, libnfnetlink }:
22
33stdenv.mkDerivation rec {
44 version = "1.0.5";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ libmnl libnfnetlink ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "http://www.netfilter.org/projects/libnetfilter_queue/";
1717 description = "Userspace API to packets queued by the kernel packet filter";
1818 license = licenses.gpl2;
pkgs/development/libraries/libnfc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libusb-compat-0_1, readline }:
1+{ lib, stdenv, fetchurl, libusb-compat-0_1, readline }:
22
33stdenv.mkDerivation {
44 pname = "libnfc";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111
1212 buildInputs = [ libusb-compat-0_1 readline ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "Open source library libnfc for Near Field Communication";
1616 license = licenses.gpl3;
1717 homepage = "https://github.com/nfc-tools/libnfc";
pkgs/development/libraries/libnfnetlink/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libnfnetlink-1.0.1";
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
2424 It is only used by other netfilter.org projects, like the aforementioned ones.
2525 '';
2626 homepage = "http://www.netfilter.org/projects/libnfnetlink/index.html";
27− license = stdenv.lib.licenses.gpl2;
27+ license = lib.licenses.gpl2;
2828
29− platforms = stdenv.lib.platforms.linux;
29+ platforms = lib.platforms.linux;
3030 };
3131}
pkgs/development/libraries/libnfs/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libnfs";
@@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ autoreconfHook ];
1515
16− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
16+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=tautological-compare";
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "NFS client library";
2222 homepage = "https://github.com/sahlberg/libnfs";
2323 license = with licenses; [ lgpl2 bsd2 gpl3 ];
pkgs/development/libraries/libnftnl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libmnl }:
1+{ lib, stdenv, fetchurl, pkg-config, libmnl }:
22
33stdenv.mkDerivation rec {
44 version = "1.1.8";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ pkg-config ];
1313 buildInputs = [ libmnl ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A userspace library providing a low-level netlink API to the in-kernel nf_tables subsystem";
1717 homepage = "http://netfilter.org/projects/libnftnl";
1818 license = licenses.gpl2Plus;
pkgs/development/libraries/libngspice/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, bison, flex, fftw}:
1+{lib, stdenv, fetchurl, bison, flex, fftw}:
22
33# Note that this does not provide the ngspice command-line utility. For that see
44# the ngspice derivation.
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 configureFlags = [ "--with-ngshared" "--enable-xspice" "--enable-cider" ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "The Next Generation Spice (Electronic Circuit Simulator)";
2121 homepage = "http://ngspice.sourceforge.net";
2222 license = with licenses; [ bsd3 gpl2Plus lgpl2Plus ]; # See https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/COPYING
pkgs/development/libraries/libnice/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, meson
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
6969 # see https://github.com/NixOS/nixpkgs/pull/53293#issuecomment-453739295
7070 doCheck = false;
7171
72− meta = with stdenv.lib; {
72+ meta = with lib; {
7373 description = "GLib ICE implementation";
7474 longDescription = ''
7575 Libnice is an implementation of the IETF's Interactice Connectivity
pkgs/development/libraries/libnih/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, dbus, expat }:
1+{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
22
33let version = "1.0.3"; in
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 meta = {
2020 description = "A small library for C application development";
2121 homepage = "https://launchpad.net/libnih";
22− license = stdenv.lib.licenses.gpl2;
23− platforms = stdenv.lib.platforms.linux;
22+ license = lib.licenses.gpl2;
23+ platforms = lib.platforms.linux;
2424 };
2525}
pkgs/development/libraries/libnixxml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, autoreconfHook, pkg-config, libxml2, gd, glib, getopt, libxslt, nix }:
1+{ fetchFromGitHub, lib, stdenv, autoreconfHook, pkg-config, libxml2, gd, glib, getopt, libxslt, nix }:
22
33stdenv.mkDerivation {
44 name = "libnixxml";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 ./bootstrap
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "XML-based Nix-friendly data integration library";
2222 homepage = https://github.com/svanderburg/libnixxml;
2323 license = licenses.mit;
pkgs/development/libraries/libnotify/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, meson
44, ninja
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 outputs = [ "out" "man" "dev" ];
1919
2020 src = fetchurl {
21− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
21+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2222 sha256 = "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36";
2323 };
2424
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
5050 };
5151 };
5252
53− meta = with stdenv.lib; {
53+ meta = with lib; {
5454 homepage = "https://developer.gnome.org/notification-spec/";
5555 description = "A library that sends desktop notifications to a notification daemon";
5656 platforms = platforms.unix;
pkgs/development/libraries/libnova/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, autoreconfHook }:
1+{ lib, stdenv, fetchgit, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libnova";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 autoreconfHook
1616 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Celestial Mechanics, Astrometry and Astrodynamics Library";
2020 homepage = "http://libnova.sf.net";
2121 license = licenses.gpl2;
pkgs/development/libraries/libnsl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtirpc, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libnsl";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 buildInputs = [ libtirpc ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Client interface library for NIS(YP) and NIS+";
1919 homepage = "https://github.com/thkukuk/libnsl";
2020 license = licenses.lgpl21;
pkgs/development/libraries/libnxml/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, curl}:
1+{lib, stdenv, fetchurl, curl}:
22
33stdenv.mkDerivation {
44 name = "libnxml-0.18.3";
@@ -13,9 +13,9 @@ stdenv.mkDerivation {
1313 meta = {
1414 homepage = "https://www.autistici.org/bakunin/libnxml/";
1515 description = "C library for parsing, writing and creating XML 1.0 and 1.1 files or streams";
16− license = stdenv.lib.licenses.lgpl2;
16+ license = lib.licenses.lgpl2;
1717
18− platforms = stdenv.lib.platforms.all;
19− maintainers = [ stdenv.lib.maintainers.viric ];
18+ platforms = lib.platforms.all;
19+ maintainers = [ lib.maintainers.viric ];
2020 };
2121}
pkgs/development/libraries/liboauth/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, nss, nspr, pkg-config }:
1+{ fetchurl, lib, stdenv, nss, nspr, pkg-config }:
22
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 --replace "-lnss3" "-L${nss.out}/lib -lnss3"
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 platforms = platforms.linux;
2727 description = "C library implementing the OAuth secure authentication protocol";
2828 homepage = "http://liboauth.sourceforge.net/";
pkgs/development/libraries/libodfgen/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge}:
1+{lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib, libwpg, libwpd, librevenge}:
22let
33 s = # Generated upstream information
44 rec {
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
2323 meta = {
2424 inherit (s) version;
2525 description = ''A base library for generating ODF documents'';
26− license = stdenv.lib.licenses.mpl20 ;
27− maintainers = [stdenv.lib.maintainers.raskin];
28− platforms = stdenv.lib.platforms.unix;
26+ license = lib.licenses.mpl20 ;
27+ maintainers = [lib.maintainers.raskin];
28+ platforms = lib.platforms.unix;
2929 };
3030}
pkgs/development/libraries/libofa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, expat, curl, fftw }:
1+{ lib, stdenv, fetchurl, expat, curl, fftw }:
22
33let
44 version = "0.9.3";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 propagatedBuildInputs = [ expat curl fftw ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 homepage = "https://code.google.com/archive/p/musicip-libofa/";
3333 description = "Library Open Fingerprint Architecture";
3434 longDescription = ''
pkgs/development/libraries/libofx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, opensp, pkg-config, libxml2, curl
1+{ lib, stdenv, fetchFromGitHub, opensp, pkg-config, libxml2, curl
22, autoconf, automake, libtool, gengetopt, libiconv }:
33
44stdenv.mkDerivation rec {
@@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
1515 preConfigure = "./autogen.sh";
1616 configureFlags = [ "--with-opensp-includes=${opensp}/include/OpenSP" ];
1717 nativeBuildInputs = [ pkg-config libtool autoconf automake gengetopt ];
18− buildInputs = [ opensp libxml2 curl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
18+ buildInputs = [ opensp libxml2 curl ] ++ lib.optional stdenv.isDarwin libiconv;
1919
2020 meta = {
2121 description = "Opensource implementation of the Open Financial eXchange specification";
2222 homepage = "http://libofx.sourceforge.net/";
2323 license = "LGPL";
24− platforms = stdenv.lib.platforms.unix;
24+ platforms = lib.platforms.unix;
2525 maintainers = [ ];
2626 };
2727}
pkgs/development/libraries/libogg/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch }:
1+{ lib, stdenv, fetchurl, fetchpatch }:
22
33stdenv.mkDerivation rec {
44 name = "libogg-1.3.4";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 outputs = [ "out" "dev" "doc" ];
1212
13− patches = stdenv.lib.optionals stdenv.isDarwin [
13+ patches = lib.optionals stdenv.isDarwin [
1414 # Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
1515 (fetchpatch {
1616 url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 })
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Media container library to manipulate Ogg files";
2323 longDescription = ''
2424 Library to work with Ogg multimedia container format.
pkgs/development/libraries/liboggz/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libogg, pkg-config }:
1+{ lib, stdenv, fetchurl, libogg, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "liboggz-1.1.1";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 homepage = "https://xiph.org/oggz/";
1717 description = "A C library and tools for manipulating with Ogg files and streams";
1818 longDescription = ''
pkgs/development/libraries/liboil/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config }:
1+{lib, stdenv, fetchurl, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "liboil-0.3.17";
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
1717
1818 # fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix"
1919 # errors
20− configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";
20+ configureFlags = lib.optional stdenv.isDarwin "--build=x86_64";
2121
2222 # fixes a cast in inline asm: easier than patching
23− buildFlags = stdenv.lib.optional stdenv.isDarwin "CFLAGS=-fheinous-gnu-extensions";
23+ buildFlags = lib.optional stdenv.isDarwin "CFLAGS=-fheinous-gnu-extensions";
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A library of simple functions that are optimized for various CPUs";
2727 homepage = "https://liboil.freedesktop.org";
2828 license = licenses.bsd2;
pkgs/development/libraries/libomxil-bellagio/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libomxil-bellagio";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 configureFlags =
13− stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" ];
13+ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "ac_cv_func_malloc_0_nonnull=yes" ];
1414
1515 patches = [ ./fedora-fixes.patch ];
1616
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 # developed anymore. Alternatively, gcc7Stdenv could be used.
2121 NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://sourceforge.net/projects/omxil/";
2525 description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
2626 license = licenses.lgpl21;
pkgs/development/libraries/liboop/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation {
44 name = "liboop-1.0";
@@ -12,6 +12,6 @@ stdenv.mkDerivation {
1212 description = "Event loop library";
1313 homepage = "http://liboop.ofb.net/";
1414 license = "LGPL";
15− platforms = stdenv.lib.platforms.linux;
15+ platforms = lib.platforms.linux;
1616 };
1717}
pkgs/development/libraries/libopcodes/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages
1+{ lib, stdenv, buildPackages
22, autoreconfHook, bison, binutils-unwrapped
33, libiberty, libbfd
44}:
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
3434
3535 enableParallelBuilding = true;
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "A library from binutils for manipulating machine code";
3939 homepage = "https://www.gnu.org/software/binutils/";
4040 license = licenses.gpl3Plus;
pkgs/development/libraries/libopenaptx/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libopenaptx";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 enableParallelBuilding = true;
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Audio Processing Technology codec (aptX)";
2626 license = licenses.lgpl21Plus;
2727 homepage = "https://github.com/pali/libopenaptx";
pkgs/development/libraries/liboping/default.nix+2−2
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ ncurses perl ];
1515
16− configureFlags = stdenv.lib.optional (perl == null) "--with-perl-bindings=no";
16+ configureFlags = lib.optional (perl == null) "--with-perl-bindings=no";
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "C library to generate ICMP echo requests (a.k.a. ping packets)";
2020 longDescription = ''
2121 liboping is a C library to generate ICMP echo requests, better known as
pkgs/development/libraries/libopus/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, fixedPoint ? false, withCustomModes ? true }:
33
44let
@@ -15,14 +15,14 @@ stdenv.mkDerivation {
1515
1616 outputs = [ "out" "dev" ];
1717
18− configureFlags = stdenv.lib.optional fixedPoint "--enable-fixed-point"
19− ++ stdenv.lib.optional withCustomModes "--enable-custom-modes";
18+ configureFlags = lib.optional fixedPoint "--enable-fixed-point"
19+ ++ lib.optional withCustomModes "--enable-custom-modes";
2020
2121 doCheck = !stdenv.isi686; # test_unit_LPC_inv_pred_gain fails
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Open, royalty-free, highly versatile audio codec";
25− license = stdenv.lib.licenses.bsd3;
25+ license = lib.licenses.bsd3;
2626 homepage = "https://www.opus-codec.org/";
2727 platforms = platforms.unix;
2828 };
pkgs/development/libraries/libopusenc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libopus }:
1+{ lib, stdenv, fetchurl, pkg-config, libopus }:
22
33let
44 version = "0.2.1";
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [ libopus ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Library for encoding .opus audio files and live streams";
2424 license = licenses.bsd3;
2525 homepage = "https://www.opus-codec.org/";
pkgs/development/libraries/libosinfo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, pkg-config
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
7474
7575 doCheck = true;
7676
77− meta = with stdenv.lib; {
77+ meta = with lib; {
7878 description = "GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support";
7979 homepage = "https://libosinfo.org/";
8080 license = licenses.lgpl2Plus;
pkgs/development/libraries/libosmium/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, protozero, expat, zlib, bzip2, boost }:
1+{ lib, stdenv, fetchFromGitHub, cmake, protozero, expat, zlib, bzip2, boost }:
22
33stdenv.mkDerivation rec {
44 pname = "libosmium";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 doCheck = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Fast and flexible C++ library for working with OpenStreetMap data";
2424 homepage = "https://osmcode.org/libosmium/";
2525 license = licenses.boost;
pkgs/development/libraries/libosmpbf/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, protobuf}:
1+{lib, stdenv, fetchurl, protobuf}:
22
33stdenv.mkDerivation {
44 name = "libosmpbf-1.3.3";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 meta = {
1818 homepage = "https://github.com/scrosby/OSM-binary";
1919 description = "C library to read and write OpenStreetMap PBF files";
20− license = stdenv.lib.licenses.lgpl3;
21− platforms = stdenv.lib.platforms.unix;
20+ license = lib.licenses.lgpl3;
21+ platforms = lib.platforms.unix;
2222 };
2323}
pkgs/development/libraries/libossp-uuid/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33let version = "1.6.2"; in
44
@@ -13,11 +13,11 @@ stdenv.mkDerivation {
1313
1414 configureFlags = [
1515 "ac_cv_va_copy=yes"
16− ] ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
16+ ] ++ lib.optional stdenv.isFreeBSD "--with-pic";
1717
1818 patches = [ ./shtool.patch ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "http://www.ossp.org/pkg/lib/uuid/";
2222 description = "OSSP uuid ISO-C and C++ shared library";
2323 longDescription =
pkgs/development/libraries/libotr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libgcrypt, autoreconfHook }:
1+{ lib, stdenv, fetchurl, libgcrypt, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 name = "libotr-4.1.1";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ autoreconfHook ];
1414 propagatedBuildInputs = [ libgcrypt ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "http://www.cypherpunks.ca/otr/";
1818 repositories.git = "git://git.code.sf.net/p/otr/libotr";
1919 license = licenses.lgpl21;
pkgs/development/libraries/libow/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
1+{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, libtool }:
22
33stdenv.mkDerivation rec {
44 version = "3.2p4";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ autoconf automake pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "1-Wire File System full library";
1818 homepage = "https://owfs.org/";
1919 license = licenses.gpl2;
pkgs/development/libraries/libowfat/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libowfat-0.32";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 makeFlags = [ "prefix=$(out)" ];
1212 enableParallelBuilding = true;
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 description = "A GPL reimplementation of libdjb";
1616 homepage = "https://www.fefe.de/libowfat/";
1717 license = licenses.gpl2;
pkgs/development/libraries/libp11/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
22, openssl }:
33
44stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 enableParallelBuilding = true;
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
2727 homepage = "https://github.com/OpenSC/libp11";
2828 license = licenses.lgpl21Plus;
pkgs/development/libraries/libpam-wrapper/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchgit
33, cmake
44, linux-pam
@@ -18,12 +18,12 @@ stdenv.mkDerivation rec {
1818 sha256 = "00mqhsashx7njrvxz085d0b88nizhdy7m3x17ip5yhvwsl63km6p";
1919 };
2020
21− nativeBuildInputs = [ cmake ] ++ stdenv.lib.optional enablePython [ python ];
21+ nativeBuildInputs = [ cmake ] ++ lib.optional enablePython [ python ];
2222
2323 # We must use linux-pam, using openpam will result in broken fprintd.
2424 buildInputs = [ linux-pam ];
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Wrapper for testing PAM modules";
2828 homepage = "https://cwrap.org/pam_wrapper.html";
2929 license = licenses.gpl3Plus;
pkgs/development/libraries/libpaper/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 version = "1.1.28";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 meta = {
3434 description = "Library for handling paper characteristics";
3535 homepage = "http://packages.debian.org/unstable/source/libpaper";
36− license = stdenv.lib.licenses.gpl2;
37− platforms = stdenv.lib.platforms.unix;
36+ license = lib.licenses.gpl2;
37+ platforms = lib.platforms.unix;
3838 };
3939}
pkgs/development/libraries/libpar2/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libsigcxx }:
1+{ lib, stdenv, fetchurl, pkg-config, libsigcxx }:
22
33let version = "0.4"; in
44
@@ -16,12 +16,12 @@ stdenv.mkDerivation rec {
1616
1717 patches = [ ./libpar2-0.4-external-verification.patch ];
1818
19− CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11";
19+ CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
2020
2121 meta = {
2222 homepage = "http://parchive.sourceforge.net/";
23− license = stdenv.lib.licenses.gpl2Plus;
23+ license = lib.licenses.gpl2Plus;
2424 description = "A library for using Parchives (parity archive volume sets)";
25− platforms = stdenv.lib.platforms.unix;
25+ platforms = lib.platforms.unix;
2626 };
2727}
pkgs/development/libraries/libpcap/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, flex, bison, bluez, pkg-config, withBluez ? false }:
1+{ lib, stdenv, fetchurl, flex, bison, bluez, pkg-config, withBluez ? false }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "libpcap";
pkgs/development/libraries/libpeas/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, gettext, gnome3
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, gnome3
22, glib, gtk3, gobject-introspection, python3, ncurses
33}:
44
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 outputs = [ "out" "dev" ];
1010
1111 src = fetchurl {
12− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1313 sha256 = "05cb7drn6arc4gi02wgsvzibigi2riz5gnfnmlb0zmbfnj9ikna2";
1414 };
1515
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 };
2727 };
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A GObject-based plugins engine";
3131 homepage = "https://wiki.gnome.org/Projects/Libpeas";
3232 license = licenses.gpl2Plus;
pkgs/development/libraries/libpfm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, enableShared ? !stdenv.hostPlatform.isStatic
33}:
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation (rec {
2020
2121 NIX_CFLAGS_COMPILE = "-Wno-error";
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Helper library to program the performance monitoring events";
2525 longDescription = ''
2626 This package provides a library, called libpfm4 which is used to
@@ -32,7 +32,7 @@ stdenv.mkDerivation (rec {
3232 maintainers = [ maintainers.pierron ];
3333 platforms = platforms.linux;
3434 };
35−} // stdenv.lib.optionalAttrs ( ! enableShared )
35+} // lib.optionalAttrs ( ! enableShared )
3636{
3737 CONFIG_PFMLIB_SHARED = "n";
3838}
pkgs/development/libraries/libpgf/default.nix+4−4
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
1+{ lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix }:
22
3−with stdenv.lib;
3+with lib;
44
55let
66 version = "6.14.12";
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
2323 meta = {
2424 homepage = "https://www.libpgf.org/";
2525 description = "Progressive Graphics Format";
26− license = stdenv.lib.licenses.lgpl21Plus;
27− platforms = stdenv.lib.platforms.unix;
26+ license = lib.licenses.lgpl21Plus;
27+ platforms = lib.platforms.unix;
2828 };
2929}
pkgs/development/libraries/libphonenumber/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, gmock, boost, pkg-config, protobuf, icu }:
1+{ lib, stdenv, fetchFromGitHub, cmake, gmock, boost, pkg-config, protobuf, icu }:
22
33stdenv.mkDerivation rec {
44 pname = "phonenumber";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 checkPhase = "./libphonenumber_test";
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Google's i18n library for parsing and using phone numbers";
3232 license = licenses.asl20;
3333 maintainers = with maintainers; [ illegalprime ];
pkgs/development/libraries/libpinyin/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchFromGitHub
1+{ lib, stdenv, fetchurl, fetchFromGitHub
22, autoreconfHook
33, glib
44, db
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 nativeBuildInputs = [ autoreconfHook glib db pkg-config ];
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Library for intelligent sentence-based Chinese pinyin input method";
3333 homepage = "https://sourceforge.net/projects/libpinyin";
3434 license = licenses.gpl2;
pkgs/development/libraries/libpipeline/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libpipeline-1.5.3";
@@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
88 sha256 = "1c5dl017xil2ssb6a5vg927bnsbc9vymfgi9ahvqbb8gypx0igsx";
99 };
1010
11− patches = stdenv.lib.optionals stdenv.isDarwin [ ./fix-on-osx.patch ];
11+ patches = lib.optionals stdenv.isDarwin [ ./fix-on-osx.patch ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 homepage = "http://libpipeline.nongnu.org";
1515 description = "C library for manipulating pipelines of subprocesses in a flexible and convenient way";
1616 platforms = platforms.unix;
pkgs/development/libraries/libplacebo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, fetchpatch
44, meson
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757 "-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
5858 ];
5959
60− meta = with stdenv.lib; {
60+ meta = with lib; {
6161 description = "Reusable library for GPU-accelerated video/image rendering primitives";
6262 longDescription = ''
6363 Reusable library for GPU-accelerated image/view processing primitives and
pkgs/development/libraries/libplist/default.nix+6−6
@@ -1,4 +1,4 @@
1−{ stdenv, autoreconfHook, fetchFromGitHub, pkg-config, enablePython ? false, python, glib }:
1+{ lib, stdenv, autoreconfHook, fetchFromGitHub, pkg-config, enablePython ? false, python, glib }:
22
33stdenv.mkDerivation rec {
44 pname = "libplist";
@@ -11,27 +11,27 @@ stdenv.mkDerivation rec {
1111 sha256 = "1vxhpjxniybqsg5wcygmdmr5dv7p2zb34dqnd3bi813rnnzsdjm6";
1212 };
1313
14− outputs = ["bin" "dev" "out" ] ++ stdenv.lib.optional enablePython "py";
14+ outputs = ["bin" "dev" "out" ] ++ lib.optional enablePython "py";
1515
1616 nativeBuildInputs = [
1717 pkg-config
1818 autoreconfHook
19− ] ++ stdenv.lib.optionals enablePython [
19+ ] ++ lib.optionals enablePython [
2020 python
2121 python.pkgs.cython
2222 ];
2323
24− configureFlags = stdenv.lib.optionals (!enablePython) [
24+ configureFlags = lib.optionals (!enablePython) [
2525 "--without-cython"
2626 ];
2727
2828 propagatedBuildInputs = [ glib ];
2929
30− postFixup = stdenv.lib.optionalString enablePython ''
30+ postFixup = lib.optionalString enablePython ''
3131 moveToOutput "lib/${python.libPrefix}" "$py"
3232 '';
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "A library to handle Apple Property List format in binary or XML";
3636 homepage = "https://github.com/libimobiledevice/libplist";
3737 license = licenses.lgpl21Plus;
pkgs/development/libraries/libpng/12.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib }:
1+{ lib, stdenv, fetchurl, zlib }:
22
33assert stdenv.hostPlatform == stdenv.buildPlatform -> zlib != null;
44
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 postInstall = ''mv "$out/bin" "$dev/bin"'';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "The official reference implementation for the PNG file format";
2525 homepage = "http://www.libpng.org/pub/png/libpng.html";
2626 license = licenses.libpng;
pkgs/development/libraries/libpng/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, apngSupport ? true }:
1+{ lib, stdenv, fetchurl, zlib, apngSupport ? true }:
22
33assert zlib != null;
44
@@ -8,7 +8,7 @@ let
88 url = "mirror://sourceforge/libpng-apng/libpng-${patchVersion}-apng.patch.gz";
99 sha256 = "1dh0250mw9b2hx7cdmnb2blk7ddl49n6vx8zz7jdmiwxy38v4fw2";
1010 };
11− whenPatched = stdenv.lib.optionalString apngSupport;
11+ whenPatched = lib.optionalString apngSupport;
1212
1313in stdenv.mkDerivation rec {
1414 name = "libpng" + whenPatched "-apng" + "-${version}";
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929
3030 passthru = { inherit zlib; };
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "The official reference implementation for the PNG file format" + whenPatched " with animation patch";
3434 homepage = "http://www.libpng.org/pub/png/libpng.html";
3535 license = licenses.libpng2;
pkgs/development/libraries/libpointmatcher/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, eigen, boost, libnabo }:
1+{ lib, stdenv, fetchFromGitHub, cmake, eigen, boost, libnabo }:
22
33stdenv.mkDerivation rec {
44 pname = "libpointmatcher";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 ./utest/utest --path ../examples/data/
2525 '';
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 inherit (src.meta) homepage;
2929 description = "An \"Iterative Closest Point\" library for 2-D/3-D mapping in robotic";
3030 license = licenses.bsd3;
pkgs/development/libraries/libportal/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, meson
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949 glib
5050 ];
5151
52− meta = with stdenv.lib; {
52+ meta = with lib; {
5353 description = "Flatpak portal library";
5454 homepage = "https://github.com/flatpak/libportal";
5555 license = licenses.lgpl2Plus;
pkgs/development/libraries/libproxy/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, pkg-config
44, cmake
@@ -82,21 +82,21 @@ stdenv.mkDerivation rec {
8282 sha256 = "0pdy9sw49lxpaiwq073cisk0npir5bkch70nimdmpszxwp3fv1d8";
8383 })
8484
85− ] ++ stdenv.lib.optionals stdenv.isDarwin [
85+ ] ++ lib.optionals stdenv.isDarwin [
8686 (fetchpatch {
8787 url = "https://github.com/libproxy/libproxy/commit/44158f03f8522116758d335688ed840dfcb50ac8.patch";
8888 sha256 = "0axfvb6j7gcys6fkwi9dkn006imhvm3kqr83gpwban8419n0q5v1";
8989 })
9090 ];
9191
92− postFixup = stdenv.lib.optionalString stdenv.isLinux ''
92+ postFixup = lib.optionalString stdenv.isLinux ''
9393 # config_gnome3 uses the helper to find GNOME proxy settings
9494 wrapProgram $out/libexec/pxgsettings --prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}"
9595 '';
9696
9797 doCheck = false; # fails 1 out of 10 tests
9898
99− meta = with stdenv.lib; {
99+ meta = with lib; {
100100 platforms = platforms.linux ++ platforms.darwin;
101101 license = licenses.lgpl21;
102102 homepage = "http://libproxy.github.io/libproxy/";
pkgs/development/libraries/libpseudo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, glib, ncurses}:
1+{lib, stdenv, fetchurl, pkg-config, glib, ncurses}:
22stdenv.mkDerivation rec {
33 name = "libpseudo-1.2.0";
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [ glib ncurses ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "http://libpseudo.sourceforge.net/";
2424 description = "Simple, thread-safe messaging between threads";
2525 license = licenses.gpl2Plus;
pkgs/development/libraries/libpsl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, autoreconfHook
44, docbook_xsl
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 pkg-config
3333 python3
3434 libxslt
35− ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
35+ ] ++ lib.optionals (!stdenv.isDarwin) [
3636 valgrind
3737 ];
3838
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
6060 "--with-psl-distfile=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
6161 "--with-psl-file=${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"
6262 "--with-psl-testfile=${publicsuffix-list}/share/publicsuffix/test_psl.txt"
63− ] ++ stdenv.lib.optionals (!stdenv.isDarwin) [
63+ ] ++ lib.optionals (!stdenv.isDarwin) [
6464 "--enable-valgrind-tests"
6565 ];
6666
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
6868
6969 doCheck = true;
7070
71− meta = with stdenv.lib; {
71+ meta = with lib; {
7272 description = "C library for the Publix Suffix List";
7373 longDescription = ''
7474 libpsl is a C library for the Publix Suffix List (PSL). A "public suffix"
pkgs/development/libraries/libpst/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, boost, libgsf,
1+{ lib, stdenv, fetchurl, autoreconfHook, boost, libgsf,
22 pkg-config, bzip2, xmlto, gettext, imagemagick, doxygen }:
33
44stdenv.mkDerivation rec {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 doCheck = true;
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://www.five-ten-sg.com/libpst/";
2626 description = "A library to read PST (MS Outlook Personal Folders) files";
2727 license = licenses.gpl2;
pkgs/development/libraries/libqalculate/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, mpfr, libxml2, intltool, pkg-config, doxygen,
1+{ lib, stdenv, fetchFromGitHub, mpfr, libxml2, intltool, pkg-config, doxygen,
22 autoreconfHook, readline, libiconv, icu, curl, gnuplot, gettext }:
33
44stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 substituteInPlace libqalculate/Calculator-plot.cc \
2929 --replace 'commandline = "gnuplot"' 'commandline = "${gnuplot}/bin/gnuplot"' \
3030 --replace '"gnuplot - ' '"${gnuplot}/bin/gnuplot - '
31− '' + stdenv.lib.optionalString stdenv.cc.isClang ''
31+ '' + lib.optionalString stdenv.cc.isClang ''
3232 substituteInPlace src/qalc.cc \
3333 --replace 'printf(_("aborted"))' 'printf("%s", _("aborted"))'
3434 '';
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 popd
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "An advanced calculator library";
4444 homepage = "http://qalculate.github.io";
4545 maintainers = with maintainers; [ gebner ];
pkgs/development/libraries/libqb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config }:
1+{ lib, stdenv, fetchurl, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "libqb-0.17.2";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 nativeBuildInputs = [ pkg-config ];
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 homepage = "https://github.com/clusterlabs/libqb";
1515 description = "A library providing high performance logging, tracing, ipc, and poll";
1616 license = licenses.lgpl21;
pkgs/development/libraries/libqglviewer/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, qmake, qtbase, libGLU, AGL }:
1+{ lib, stdenv, fetchurl, qmake, qtbase, libGLU, AGL }:
22
33stdenv.mkDerivation rec {
44 pname = "libqglviewer";
@@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ qmake ];
1313 buildInputs = [ qtbase libGLU ]
14− ++ stdenv.lib.optional stdenv.isDarwin AGL;
14+ ++ lib.optional stdenv.isDarwin AGL;
1515
1616 postPatch = ''
1717 cd QGLViewer
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
2222 homepage = "http://libqglviewer.com";
2323 license = licenses.gpl2;
pkgs/development/libraries/libqmi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gobject-introspection, glib, python3, libgudev, libmbim }:
1+{ lib, stdenv, fetchurl, pkg-config, gobject-introspection, glib, python3, libgudev, libmbim }:
22
33stdenv.mkDerivation rec {
44 pname = "libqmi";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 doCheck = true;
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 homepage = "https://www.freedesktop.org/wiki/Software/libqmi/";
3737 description = "Modem protocol helper library";
3838 platforms = platforms.linux;
pkgs/development/libraries/libr3/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, pcre
44, pkg-config
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 meta = {
2828 description = "A high-performance path dispatching library";
2929 homepage = "https://github.com/c9s/r3";
30− license = [ stdenv.lib.licenses.mit ];
30+ license = [ lib.licenses.mit ];
3131 };
3232
3333}
pkgs/development/libraries/libraspberrypi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, fetchpatch
44, cmake
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 "-DVMCS_INSTALL_PREFIX=${placeholder "out"}"
3131 ];
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Userland tools & libraries for interfacing with Raspberry Pi hardware";
3535 homepage = "https://github.com/raspberrypi/userland";
3636 license = licenses.bsd3;
pkgs/development/libraries/libraw/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libraw";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
2424 homepage = "https://www.libraw.org/";
2525 license = licenses.gpl2Plus;
pkgs/development/libraries/libraw1394/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libraw1394-2.1.2";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "0z5md84941ky5l7afayx2z6j0sk0mildxbjajq6niznd44ky7i6x";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 description = "Library providing direct access to the IEEE 1394 bus through the Linux 1394 subsystem's raw1394 user space interface";
1313 homepage = "https://ieee1394.wiki.kernel.org/index.php/Libraries#libraw1394";
1414 license = licenses.lgpl21Plus;
pkgs/development/libraries/librdf/raptor.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libxml2, curl }:
1+{ lib, stdenv, fetchurl, libxml2, curl }:
22
33stdenv.mkDerivation rec {
44 name = "raptor-1.4.21";
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 meta = {
1818 description = "The RDF Parser Toolkit";
1919 homepage = "http://librdf.org/raptor";
20− license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
21− maintainers = [ stdenv.lib.maintainers.marcweber ];
22− platforms = stdenv.lib.platforms.linux;
20+ license = with lib.licenses; [ lgpl21 asl20 ];
21+ maintainers = [ lib.maintainers.marcweber ];
22+ platforms = lib.platforms.linux;
2323 };
2424}
pkgs/development/libraries/librdf/raptor2.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libxml2, libxslt }:
1+{ lib, stdenv, fetchurl, libxml2, libxslt }:
22
33stdenv.mkDerivation rec {
44 pname = "raptor2";
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "The RDF Parser Toolkit";
2626 homepage = "http://librdf.org/raptor";
27− license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
28− maintainers = with stdenv.lib.maintainers; [ marcweber ];
29− platforms = stdenv.lib.platforms.unix;
27+ license = with lib.licenses; [ lgpl21 asl20 ];
28+ maintainers = with lib.maintainers; [ marcweber ];
29+ platforms = lib.platforms.unix;
3030 };
3131}
pkgs/development/libraries/librdf/rasqal.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
1+{ lib, stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
22
33stdenv.mkDerivation rec {
44 name = "rasqal-0.9.33";
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 description = "Library that handles Resource Description Framework (RDF)";
2525 homepage = "http://librdf.org/rasqal";
26− license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
27− maintainers = with stdenv.lib.maintainers; [ marcweber ];
28− platforms = stdenv.lib.platforms.unix;
26+ license = with lib.licenses; [ lgpl21 asl20 ];
27+ maintainers = with lib.maintainers; [ marcweber ];
28+ platforms = lib.platforms.unix;
2929 };
3030}
pkgs/development/libraries/librdf/redland.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, openssl, libxslt, perl
1+{ lib, stdenv, fetchurl, pkg-config, openssl, libxslt, perl
22, curl, pcre, libxml2, librdf_rasqal, gmp
33, libmysqlclient, withMysql ? false
44, postgresql, withPostgresql ? false
@@ -17,10 +17,10 @@ stdenv.mkDerivation rec {
1717 nativeBuildInputs = [ perl pkg-config ];
1818
1919 buildInputs = [ openssl libxslt curl pcre libxml2 gmp ]
20− ++ stdenv.lib.optional withMysql libmysqlclient
21− ++ stdenv.lib.optional withSqlite sqlite
22− ++ stdenv.lib.optional withPostgresql postgresql
23− ++ stdenv.lib.optional withBdb db;
20+ ++ lib.optional withMysql libmysqlclient
21+ ++ lib.optional withSqlite sqlite
22+ ++ lib.optional withPostgresql postgresql
23+ ++ lib.optional withBdb db;
2424
2525 propagatedBuildInputs = [ librdf_rasqal ];
2626
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 configureFlags =
3030 [ "--with-threads" ]
31− ++ stdenv.lib.optionals withBdb [
31+ ++ lib.optionals withBdb [
3232 "--with-bdb-include=${db.dev}/include"
3333 "--with-bdb-lib=${db.out}/lib"
3434 ];
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838
3939 doCheck = false; # fails 1 out of 17 tests with a segmentation fault
4040
41− meta = with stdenv.lib; {
41+ meta = with lib; {
4242 description = "C libraries that provide support for the Resource Description Framework (RDF)";
4343 homepage = "http://librdf.org/";
4444 platforms = platforms.unix;
pkgs/development/libraries/libre/default.nix+6−6
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib, openssl}:
1+{lib, stdenv, fetchurl, zlib, openssl}:
22stdenv.mkDerivation rec {
33 version = "0.6.1";
44 pname = "libre";
@@ -8,15 +8,15 @@ stdenv.mkDerivation rec {
88 };
99 buildInputs = [ zlib openssl ];
1010 makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
11− ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
12− ++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
11+ ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"
12+ ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
1313 ;
1414 meta = {
1515 description = "A library for real-time communications with async IO support and a complete SIP stack";
1616 homepage = "http://www.creytiv.com/re.html";
17− platforms = with stdenv.lib.platforms; linux;
18− maintainers = with stdenv.lib.maintainers; [raskin];
19− license = stdenv.lib.licenses.bsd3;
17+ platforms = with lib.platforms; linux;
18+ maintainers = with lib.maintainers; [raskin];
19+ license = lib.licenses.bsd3;
2020 inherit version;
2121 downloadPage = "http://www.creytiv.com/pub/";
2222 updateWalker = true;
pkgs/development/libraries/librealsense/default.nix+1−1
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
5151 cp ../wrappers/python/pyrealsense2/__init__.py $out/${pythonPackages.python.sitePackages}/pyrealsense2
5252 '';
5353
54− meta = with stdenv.lib; {
54+ meta = with lib; {
5555 description = "A cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)";
5656 homepage = "https://github.com/IntelRealSense/librealsense";
5757 license = licenses.asl20;
pkgs/development/libraries/librelp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, autoreconfHook
33, gnutls
44, openssl
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 nativeBuildInputs = [ pkg-config autoreconfHook ];
2121 buildInputs = [ gnutls zlib openssl ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "A reliable logging library";
2525 homepage = "https://www.librelp.com/";
2626 license = licenses.gpl2;
pkgs/development/libraries/librem/default.nix+6−6
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, zlib, openssl, libre}:
1+{lib, stdenv, fetchurl, zlib, openssl, libre}:
22stdenv.mkDerivation rec {
33 version = "0.6.0";
44 pname = "librem";
@@ -12,15 +12,15 @@ stdenv.mkDerivation rec {
1212 "LIBRE_INC=${libre}/include/re"
1313 ''PREFIX=$(out)''
1414 ]
15− ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.lib.getDev stdenv.cc.cc}"
16− ++ stdenv.lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
15+ ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.lib.getDev stdenv.cc.cc}"
16+ ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}"
1717 ;
1818 meta = {
1919 description = " A library for real-time audio and video processing";
2020 homepage = "http://www.creytiv.com/rem.html";
21− platforms = with stdenv.lib.platforms; linux;
22− maintainers = with stdenv.lib.maintainers; [raskin];
23− license = stdenv.lib.licenses.bsd3;
21+ platforms = with lib.platforms; linux;
22+ maintainers = with lib.maintainers; [raskin];
23+ license = lib.licenses.bsd3;
2424 downloadPage = "http://www.creytiv.com/pub/";
2525 updateWalker = true;
2626 downloadURLRegexp = "/rem-.*[.]tar[.].*";
pkgs/development/libraries/librep/default.nix+2−2
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, pkg-config, autoreconfHook
33, readline, texinfo
44, gdbm, gmp, libffi }:
55
6−with stdenv.lib;
6+with lib;
77
88stdenv.mkDerivation rec {
99 pname = "librep";
pkgs/development/libraries/libresample/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, cmake}:
1+{lib, stdenv, fetchurl, cmake}:
22
33let
44 patch = fetchurl {
@@ -20,9 +20,9 @@ stdenv.mkDerivation {
2020
2121 meta = {
2222 description = "A real-time library for sampling rate conversion library";
23− license = stdenv.lib.licenses.lgpl2Plus;
23+ license = lib.licenses.lgpl2Plus;
2424 homepage = "https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html";
25− maintainers = [ stdenv.lib.maintainers.sander ];
26− platforms = stdenv.lib.platforms.unix;
25+ maintainers = [ lib.maintainers.sander ];
26+ platforms = lib.platforms.unix;
2727 };
2828}
pkgs/development/libraries/librest/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, glib, libsoup, gobject-introspection, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, libsoup, gobject-introspection, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "rest";
55 version = "0.8.1";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9";
1010 };
1111
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 };
2222 };
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "Helper library for RESTful services";
2626 homepage = "https://wiki.gnome.org/Projects/Librest";
2727 license = licenses.lgpl21;
pkgs/development/libraries/librevenge/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, boost, pkg-config, cppunit, zlib}:
1+{lib, stdenv, fetchurl, boost, pkg-config, cppunit, zlib}:
22let
33 s = # Generated upstream information
44 rec {
@@ -35,8 +35,8 @@ stdenv.mkDerivation {
3535 meta = {
3636 inherit (s) version;
3737 description = ''A base library for writing document import filters'';
38− license = stdenv.lib.licenses.mpl20 ;
39− maintainers = [stdenv.lib.maintainers.raskin];
40− platforms = stdenv.lib.platforms.unix;
38+ license = lib.licenses.mpl20 ;
39+ maintainers = [lib.maintainers.raskin];
40+ platforms = lib.platforms.unix;
4141 };
4242}
pkgs/development/libraries/librevisa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libusb1 }:
1+{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
22
33# TODO: add VXI development files, for VXI-11 (TCPIP) support
44
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ pkg-config ];
1414 buildInputs = [ libusb1 ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Implementation of the VISA standard (for instrument control)";
1818 longDescription = ''
1919 LibreVISA aims to be a compliant implementation of the VISA standard in a
pkgs/development/libraries/librime/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
22 libyamlcpp, gmock }:
33
44stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gmock ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://rime.im/";
2121 description = "Rime Input Method Engine, the core library";
2222 license = licenses.bsd3;
pkgs/development/libraries/libroxml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "libroxml-2.3.0";
@@ -6,7 +6,7 @@ stdenv.mkDerivation {
66 url = "http://download.libroxml.net/pool/v2.x/libroxml-2.3.0.tar.gz";
77 sha256 = "0y0vc9n4rfbimjp28nx4kdfzz08j5xymh5xjy84l9fhfac5z5a0x";
88 };
9− meta = with stdenv.lib; {
9+ meta = with lib; {
1010 homepage = "http://www.libroxml.net/";
1111 description = "This library is minimum, easy-to-use, C implementation for xml file parsing";
1212 license = licenses.lgpl3;
pkgs/development/libraries/librseq/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub
1+{ lib, stdenv, fetchFromGitHub
22, autoreconfHook, linuxHeaders
33}:
44
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 rm -rf $out/share
3535 '';
3636
37− meta = with stdenv.lib; {
37+ meta = with lib; {
3838 description = "Userspace library for the Linux Restartable Sequence API";
3939 homepage = "https://github.com/compudj/librseq";
4040 license = licenses.lgpl21;
pkgs/development/libraries/librsvg/default.nix+4−4
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 name = "${pname}-${version}";
1111
1212 src = fetchurl {
13− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
13+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
1414 sha256 = "02csvx2nzygh8kyal2qiy3y6xb7d52vszxxr37dzav704a9pkncv";
1515 };
1616
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 "--enable-vala"
3434 "--enable-installed-tests"
3535 "--enable-always-build-tests"
36− ] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
36+ ] ++ lib.optional stdenv.isDarwin "--disable-Bsymbolic";
3737
3838 makeFlags = [
3939 "installed_test_metadir=$(installedTests)/share/installed-tests/RSVG"
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 ];
4242
4343 NIX_CFLAGS_COMPILE
44− = stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
44+ = lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
4545
4646 # It wants to add loaders and update the loaders.cache in gdk-pixbuf
4747 # Patching the Makefiles to it creates rsvg specific loaders and the
@@ -78,7 +78,7 @@ stdenv.mkDerivation rec {
7878 };
7979 };
8080
81− meta = with stdenv.lib; {
81+ meta = with lib; {
8282 description = "A small library to render SVG images to Cairo surfaces";
8383 homepage = "https://wiki.gnome.org/Projects/LibRsvg";
8484 license = licenses.lgpl2Plus;
pkgs/development/libraries/librsync/0.9.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 name = "librsync-0.9.7";
@@ -11,16 +11,16 @@ stdenv.mkDerivation {
1111 hardeningDisable = [ "format" ];
1212
1313 configureFlags = [
14− (stdenv.lib.enableFeature stdenv.isCygwin "static")
15− (stdenv.lib.enableFeature (!stdenv.isCygwin) "shared")
14+ (lib.enableFeature stdenv.isCygwin "static")
15+ (lib.enableFeature (!stdenv.isCygwin) "shared")
1616 ];
1717
1818 dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
1919
2020 meta = {
2121 homepage = "http://librsync.sourceforge.net/";
22− license = stdenv.lib.licenses.lgpl2Plus;
22+ license = lib.licenses.lgpl2Plus;
2323 description = "Implementation of the rsync remote-delta algorithm";
24− platforms = stdenv.lib.platforms.unix;
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/libraries/librsync/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
1+{ lib, stdenv, fetchFromGitHub, cmake, perl, zlib, bzip2, popt }:
22
33stdenv.mkDerivation rec {
44 pname = "librsync";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "http://librsync.sourceforge.net/";
2121 license = licenses.lgpl2Plus;
2222 description = "Implementation of the rsync remote-delta algorithm";
pkgs/development/libraries/librtprocess/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "librtprocess";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 homepage = "https://github.com/CarVac/librtprocess";
1818 description = "Highly optimized library for processing RAW images";
1919 license = licenses.gpl3;
pkgs/development/libraries/libs3/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, curl, libxml2 }:
1+{ lib, stdenv, fetchFromGitHub, curl, libxml2 }:
22
33stdenv.mkDerivation {
44 name = "libs3-2018-12-03";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 makeFlags = [ "DESTDIR=$(out)" ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "https://github.com/bji/libs3";
1919 description = "A library for interfacing with amazon s3";
2020 license = licenses.lgpl3Plus;
pkgs/development/libraries/libsamplerate/default.nix+3−3
@@ -1,7 +1,7 @@
1−{ stdenv, fetchurl, pkg-config, libsndfile, ApplicationServices, Carbon, CoreServices }:
1+{ lib, stdenv, fetchurl, pkg-config, libsndfile, ApplicationServices, Carbon, CoreServices }:
22
33let
4− inherit (stdenv.lib) optionals optionalString;
4+ inherit (lib) optionals optionalString;
55
66in stdenv.mkDerivation rec {
77 name = "libsamplerate-0.1.9";
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
2727 substituteInPlace examples/Makefile --replace "-fpascal-strings" ""
2828 '';
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Sample Rate Converter for audio";
3232 homepage = "http://www.mega-nerd.com/SRC/index.html";
3333 license = licenses.bsd2;
pkgs/development/libraries/libsass/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libsass";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 nativeBuildInputs = [ autoreconfHook ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A C/C++ implementation of a Sass compiler";
2727 homepage = "https://github.com/sass/libsass";
2828 license = licenses.mit;
pkgs/development/libraries/libschrift/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libschrift";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 makeFlags = [ "libschrift.a" ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://github.com/tomolt/libschrift";
2323 description = "A lightweight TrueType font rendering library";
2424 license = licenses.isc;
pkgs/development/libraries/libscrypt/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libscrypt";
@@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
1111 sha256 = "1d76ys6cp7fi4ng1w3mz2l0p9dbr7ljbk33dcywyimzjz8bahdng";
1212 };
1313
14− buildFlags = stdenv.lib.optional stdenv.isDarwin "LDFLAGS= CFLAGS_EXTRA=";
14+ buildFlags = lib.optional stdenv.isDarwin "LDFLAGS= CFLAGS_EXTRA=";
1515
1616 installFlags = [ "PREFIX=$(out)" ];
17− installTargets = stdenv.lib.optional stdenv.isDarwin "install-osx";
17+ installTargets = lib.optional stdenv.isDarwin "install-osx";
1818
1919 doCheck = true;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Shared library that implements scrypt() functionality";
2323 homepage = "https://lolware.net/2014/04/29/libscrypt.html";
2424 license = licenses.bsd2;
pkgs/development/libraries/libsearpc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, automake, autoconf, pkg-config, libtool, python2Packages, glib, jansson}:
1+{lib, stdenv, fetchFromGitHub, automake, autoconf, pkg-config, libtool, python2Packages, glib, jansson}:
22
33stdenv.mkDerivation rec {
44 version = "3.2.0";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 preConfigure = "./autogen.sh";
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "https://github.com/haiwen/libsearpc";
2626 description = "A simple and easy-to-use C language RPC framework (including both server side & client side) based on GObject System";
2727 license = licenses.lgpl3;
pkgs/development/libraries/libseccomp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, getopt, util-linux, gperf }:
1+{ lib, stdenv, fetchurl, getopt, util-linux, gperf }:
22
33stdenv.mkDerivation rec {
44 pname = "libseccomp";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 tar -zcf $pythonsrc --mtime="@$SOURCE_DATE_EPOCH" --sort=name --transform s/tmp-pythonsrc/python-foundationdb/ ./tmp-pythonsrc/
3232 '';
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "High level library for the Linux Kernel seccomp filter";
3636 homepage = "https://github.com/seccomp/libseccomp";
3737 license = licenses.lgpl21;
pkgs/development/libraries/libsecret/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, glib, pkg-config, gettext, libxslt, python3
1+{ lib, stdenv, fetchurl, fetchpatch, glib, pkg-config, gettext, libxslt, python3
22, docbook_xsl, docbook_xml_dtd_42 , libgcrypt, gobject-introspection, vala
33, gtk-doc, gnome3, gjs, libintl, dbus, xvfb_run }:
44
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 version = "0.20.4";
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "0a4xnfmraxchd9cq5ai66j12jv2vrgjmaaxz25kl031jvda4qnij";
1212 };
1313
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
5555 meta = {
5656 description = "A library for storing and retrieving passwords and other secrets";
5757 homepage = "https://wiki.gnome.org/Projects/Libsecret";
58− license = stdenv.lib.licenses.lgpl21Plus;
58+ license = lib.licenses.lgpl21Plus;
5959 inherit (glib.meta) platforms maintainers;
6060 };
6161}
pkgs/development/libraries/libserialport/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, udev, darwin }:
1+{ lib, stdenv, fetchurl, pkg-config, udev, darwin }:
22
33stdenv.mkDerivation rec {
44 name = "libserialport-0.1.1";
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
99 };
1010
1111 nativeBuildInputs = [ pkg-config ];
12− buildInputs = stdenv.lib.optional stdenv.isLinux udev
13− ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.IOKit;
12+ buildInputs = lib.optional stdenv.isLinux udev
13+ ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.IOKit;
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Cross-platform shared library for serial port access";
1717 homepage = "https://sigrok.org/";
1818 license = licenses.gpl3Plus;
pkgs/development/libraries/libshout/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config
1+{ lib, stdenv, fetchurl, pkg-config
22, libvorbis, libtheora, speex }:
33
44# need pkg-config so that libshout installs ${out}/lib/pkgconfig/shout.pc
@@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
2626 '';
2727
2828 homepage = "http://www.icecast.org";
29− license = stdenv.lib.licenses.gpl2;
30− maintainers = with stdenv.lib.maintainers; [ jcumming ];
31− platforms = with stdenv.lib.platforms; unix;
29+ license = lib.licenses.gpl2;
30+ maintainers = with lib.maintainers; [ jcumming ];
31+ platforms = with lib.platforms; unix;
3232 };
3333}
pkgs/development/libraries/libsieve/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22stdenv.mkDerivation rec {
33 version = "2.3.1";
44 pname = "libsieve";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "1gllhl9hbmc86dq3k98d4kjs5bwk0p2rlk7ywqj3fjn7jw6mbhcj";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 description = "An interpreter for RFC 3028 Sieve and various extensions";
1313 homepage = "http://sodabrew.com/libsieve/";
1414 license = licenses.lgpl21;
pkgs/development/libraries/libsigcxx/1.2.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, m4}:
1+{lib, stdenv, fetchurl, pkg-config, m4}:
22
33stdenv.mkDerivation rec {
44 name = "libsigc++-1.2.7";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkg-config ];
1212 buildInputs = [ m4];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
1616 description = "A typesafe callback system for standard C++";
1717 branch = "1.2";
pkgs/development/libraries/libsigcxx/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gnum4, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, gnum4, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libsigc++";
55 version = "2.10.1";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "00v08km4wwzbh6vjxb21388wb9dm6g2xh14rgwabnv4c2wk5z8n9";
1010 };
1111
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 };
2121 };
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://libsigcplusplus.github.io/libsigcplusplus/";
2525 description = "A typesafe callback system for standard C++";
2626 license = licenses.lgpl21;
pkgs/development/libraries/libsignal-protocol-c/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, openssl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "libsignal-protocol-c";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 outputs = [ "out" "dev" ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Signal Protocol C Library";
2424 homepage = "https://github.com/signalapp/libsignal-protocol-c";
2525 license = licenses.gpl3;
pkgs/development/libraries/libsignon-glib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, nix-update-script, pkg-config, meson, ninja, vala, python3, gtk-doc, docbook_xsl, docbook_xml_dtd_43, docbook_xml_dtd_412, glib, check, gobject-introspection }:
1+{ lib, stdenv, fetchgit, nix-update-script, pkg-config, meson, ninja, vala, python3, gtk-doc, docbook_xsl, docbook_xml_dtd_43, docbook_xml_dtd_412, glib, check, gobject-introspection }:
22
33stdenv.mkDerivation rec {
44 pname = "libsignon-glib";
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 };
4949 };
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 description = "A library for managing single signon credentials which can be used from GLib applications";
5353 homepage = "https://gitlab.com/accounts-sso/libsignon-glib";
5454 license = licenses.lgpl21;
pkgs/development/libraries/libsigsegv/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, enableSigbusFix ? false # required by kernels < 3.18.6
33}:
44
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
2828 more.
2929 '';
3030
31− license = stdenv.lib.licenses.gpl2Plus;
31+ license = lib.licenses.gpl2Plus;
3232
3333 maintainers = [ ];
34− platforms = stdenv.lib.platforms.unix;
34+ platforms = lib.platforms.unix;
3535 };
3636}
pkgs/development/libraries/libsixel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub}:
1+{lib, stdenv, fetchFromGitHub}:
22stdenv.mkDerivation rec {
33 version = "1.8.6";
44 pname = "libsixel";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 doCheck = true;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "The SIXEL library for console graphics, and converter programs";
2121 homepage = "http://saitoha.github.com/libsixel";
2222 maintainers = with maintainers; [ vrthra ];
pkgs/development/libraries/libskk/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub,
1+{ lib, stdenv, fetchFromGitHub,
22 libtool, gettext, pkg-config,
33 vala, gnome-common, gobject-introspection,
44 libgee, json-glib, skk-dicts, libxkbcommon }:
@@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
4242 user dictionary, skkserv, and CDB format dictionary.
4343 '';
4444 homepage = "https://github.com/ueno/libskk";
45− license = stdenv.lib.licenses.gpl3Plus;
46− maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
47− platforms = stdenv.lib.platforms.linux;
45+ license = lib.licenses.gpl3Plus;
46+ maintainers = with lib.maintainers; [ yuriaisaka ];
47+ platforms = lib.platforms.linux;
4848 };
4949}
pkgs/development/libraries/libslirp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, meson
44, ninja
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 echo ${version} > .tarball-version
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "General purpose TCP-IP emulator";
3131 homepage = "https://gitlab.freedesktop.org/slirp/libslirp";
3232 license = licenses.bsd3;
pkgs/development/libraries/libsmartcols/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3 }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, python3 }:
22
33stdenv.mkDerivation rec {
44 name = "libsmartcols";
@@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
2424 meta = {
2525 description = "smart column output alignment library";
2626 homepage = https://github.com/karelzak/util-linux/tree/master/libsmartcols;
27− license = stdenv.lib.licenses.gpl2Plus;
28− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
29− maintainers = with stdenv.lib.maintainers; [ rb2k ];
27+ license = lib.licenses.gpl2Plus;
28+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
29+ maintainers = with lib.maintainers; [ rb2k ];
3030 };
3131}
3232
pkgs/development/libraries/libsmi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv , fetchurl }:
1+{ lib, stdenv , fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libsmi";
@@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
99 sha256 = "1lslaxr2qcj6hf4naq5n5mparfhmswsgq4wa7zm2icqvvgdcq6pj";
1010 };
1111
12− meta = with stdenv.lib; {
12+ meta = with lib; {
1313 description = "A Library to Access SMI MIB Information";
1414 homepage = "https://www.ibr.cs.tu-bs.de/projects/libsmi/index.html";
1515 license = licenses.free;
16− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
16+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
1717 };
1818}
pkgs/development/libraries/libsnark/default.nix+3−3
@@ -5,7 +5,7 @@ let
55 inherit (stdenv) lib;
66in stdenv.mkDerivation rec {
77 name = "libsnark-pre${version}";
8− version = stdenv.lib.substring 0 8 rev;
8+ version = lib.substring 0 8 rev;
99
1010 nativeBuildInputs = [ cmake pkg-config ];
1111 buildInputs = [ openssl boost gmp ] ++ lib.optional stdenv.hostPlatform.isLinux procps;
@@ -20,10 +20,10 @@ in stdenv.mkDerivation rec {
2020 fetchSubmodules = true;
2121 };
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "C++ library for zkSNARKs";
2525 homepage = "https://github.com/scipr-lab/libsnark";
2626 license = licenses.mit;
27− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
27+ platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin;
2828 };
2929}
pkgs/development/libraries/libsndfile/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, autogen, flac, libogg, libopus, libvorbis, pkg-config, python3
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, autogen, flac, libogg, libopus, libvorbis, pkg-config, python3
22, Carbon, AudioToolbox
33}:
44
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ autoreconfHook autogen pkg-config python3 ];
1717 buildInputs = [ flac libogg libopus libvorbis ]
18− ++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
18+ ++ lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
1919
2020 enableParallelBuilding = true;
2121
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 # need headers from the Carbon.framework in /System/Library/Frameworks to
2525 # compile this on darwin -- not sure how to handle
26− preConfigure = stdenv.lib.optionalString stdenv.isDarwin
26+ preConfigure = lib.optionalString stdenv.isDarwin
2727 ''
2828 NIX_CFLAGS_COMPILE+=" -I$SDKROOT/System/Library/Frameworks/Carbon.framework/Versions/A/Headers"
2929 '';
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 # Needed on Darwin.
3232 NIX_CFLAGS_LINK = "-logg -lvorbis";
3333
34− meta = with stdenv.lib; {
34+ meta = with lib; {
3535 description = "A C library for reading and writing files containing sampled sound";
3636 homepage = "https://libsndfile.github.io/libsndfile/";
3737 license = licenses.lgpl2Plus;
pkgs/development/libraries/libsodium/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libsodium-1.0.18";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 doCheck = true;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "A modern and easy-to-use crypto library";
2020 homepage = "http://doc.libsodium.org/";
2121 license = licenses.isc;
pkgs/development/libraries/libsolv/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
1+{ lib, stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
22
33stdenv.mkDerivation rec {
44 version = "0.7.16";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 nativeBuildInputs = [ cmake ninja ];
2323 buildInputs = [ zlib expat rpm db ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A free package dependency solver";
2727 homepage = "https://github.com/openSUSE/libsolv";
2828 license = licenses.bsd3;
pkgs/development/libraries/libsoundio/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, alsaLib, libjack2, libpulseaudio, AudioUnit }:
1+{ lib, stdenv, fetchFromGitHub, cmake, alsaLib, libjack2, libpulseaudio, AudioUnit }:
22
33stdenv.mkDerivation rec {
44 version = "2.0.0";
@@ -14,12 +14,12 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515
1616 buildInputs = [ libjack2 libpulseaudio ]
17− ++ stdenv.lib.optional stdenv.isLinux alsaLib
18− ++ stdenv.lib.optional stdenv.isDarwin AudioUnit;
17+ ++ lib.optional stdenv.isLinux alsaLib
18+ ++ lib.optional stdenv.isDarwin AudioUnit;
1919
20− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-strict-prototypes";
20+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-strict-prototypes";
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Cross platform audio input and output";
2424 homepage = "http://libsound.io/";
2525 license = licenses.mit;
pkgs/development/libraries/libsoup/default.nix+2−2
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 version = "2.72.0";
99
1010 src = fetchurl {
11− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
11+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1212 sha256 = "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p";
1313 };
1414
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 meta = {
5555 description = "HTTP client/server library for GNOME";
5656 homepage = "https://wiki.gnome.org/Projects/libsoup";
57− license = stdenv.lib.licenses.lgpl2Plus;
57+ license = lib.licenses.lgpl2Plus;
5858 inherit (glib.meta) maintainers platforms;
5959 };
6060}
pkgs/development/libraries/libspatialindex/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33let version = "1.8.5"; in
44
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616 meta = {
1717 description = "Extensible spatial index library in C++";
1818 homepage = "http://libspatialindex.github.io/";
19− license = stdenv.lib.licenses.mit;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.mit;
20+ platforms = lib.platforms.unix;
2121 };
2222}
pkgs/development/libraries/libspectre/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkg-config, ghostscript, cairo }:
1+{ fetchurl, lib, stdenv, pkg-config, ghostscript, cairo }:
22
33stdenv.mkDerivation rec {
44 name = "libspectre-0.2.7";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 handling and rendering Postscript documents.
2828 '';
2929
30− license = stdenv.lib.licenses.gpl2Plus;
31− platforms = stdenv.lib.platforms.unix;
30+ license = lib.licenses.gpl2Plus;
31+ platforms = lib.platforms.unix;
3232 };
3333}
pkgs/development/libraries/libspf2/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 pname = "libspf2";
pkgs/development/libraries/libspiro/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, pkg-config, autoreconfHook, fetchFromGitHub }:
1+{lib, stdenv, pkg-config, autoreconfHook, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "libspiro";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ pkg-config autoreconfHook ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A library that simplifies the drawing of beautiful curves";
1818 homepage = "https://github.com/fontforge/libspiro";
1919 license = licenses.gpl3Plus;
pkgs/development/libraries/libspotify/default.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libspotify, alsaLib, readline, pkg-config, apiKey ? null, unzip, gnused }:
1+{ lib, stdenv, fetchurl, libspotify, alsaLib, readline, pkg-config, apiKey ? null, unzip, gnused }:
22
33let
44 version = "12.1.51";
@@ -47,14 +47,14 @@ else stdenv.mkDerivation {
4747
4848
4949 # darwin-specific
50− buildInputs = stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") unzip;
50+ buildInputs = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") unzip;
5151
5252 # linux-specific
53− installFlags = stdenv.lib.optional isLinux
53+ installFlags = lib.optional isLinux
5454 "prefix=$(out)";
55− patchPhase = stdenv.lib.optionalString isLinux
55+ patchPhase = lib.optionalString isLinux
5656 "${gnused}/bin/sed -i 's/ldconfig//' Makefile";
57− postInstall = stdenv.lib.optionalString isLinux
57+ postInstall = lib.optionalString isLinux
5858 "mv -v share $out";
5959
6060 passthru = {
@@ -67,7 +67,7 @@ else stdenv.mkDerivation {
6767 src = libspotify.src;
6868 nativeBuildInputs = [ pkg-config ];
6969 buildInputs = [ libspotify readline ]
70− ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
70+ ++ lib.optional (!stdenv.isDarwin) alsaLib;
7171 postUnpack = "sourceRoot=$sourceRoot/share/doc/libspotify/examples";
7272 patchPhase = "cp ${apiKey} appkey.c";
7373 installPhase = ''
@@ -82,7 +82,7 @@ else stdenv.mkDerivation {
8282 inherit apiKey;
8383 };
8484
85− meta = with stdenv.lib; {
85+ meta = with lib; {
8686 description = "Spotify API library";
8787 homepage = "https://developer.spotify.com/technologies/libspotify";
8888 maintainers = with maintainers; [ lovek323 ];
pkgs/development/libraries/libsrs2/default.nix+1−1
@@ -13,6 +13,6 @@ stdenv.mkDerivation rec {
1313 description = "The next generation SRS library from the original designer of SRS";
1414 license = with lib.licenses; [ gpl2 bsd3 ];
1515 homepage = "https://www.libsrs2.org/";
16− platforms = stdenv.lib.platforms.linux;
16+ platforms = lib.platforms.linux;
1717 };
1818}
pkgs/development/libraries/libssh/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, cmake, zlib, openssl, libsodium }:
1+{ lib, stdenv, fetchurl, pkg-config, cmake, zlib, openssl, libsodium }:
22
33stdenv.mkDerivation rec {
44 pname = "libssh";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 nativeBuildInputs = [ cmake pkg-config ];
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 description = "SSH client library";
2626 homepage = "https://libssh.org";
2727 license = licenses.lgpl2Plus;
pkgs/development/libraries/libssh2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, openssl, zlib, windows }:
1+{ lib, stdenv, fetchurl, openssl, zlib, windows }:
22
33stdenv.mkDerivation rec {
44 pname = "libssh2";
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
1212 outputs = [ "out" "dev" "devdoc" ];
1313
1414 buildInputs = [ openssl zlib ]
15− ++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
15+ ++ lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
1616
1717 patches = [
1818 # Not able to use fetchpatch here: infinite recursion
1919 ./CVE-2019-17498.patch
2020 ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "A client-side C library implementing the SSH2 protocol";
2424 homepage = "https://www.libssh2.org";
2525 platforms = platforms.all;
pkgs/development/libraries/libstatgrab/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ lib, stdenv, fetchurl
22, IOKit ? null }:
33
44stdenv.mkDerivation rec {
@@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
99 sha256 = "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav";
1010 };
1111
12− buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
12+ buildInputs = [] ++ lib.optional stdenv.isDarwin IOKit;
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://www.i-scream.org/libstatgrab/";
1616 description = "A library that provides cross platforms access to statistics about the running system";
1717 license = licenses.gpl2;
pkgs/development/libraries/libstroke/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, automake, autoconf, xlibsWrapper}:
1+{lib, stdenv, fetchurl, automake, autoconf, xlibsWrapper}:
22
33stdenv.mkDerivation {
44 name = "libstroke-0.5.1";
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
2121 meta = {
2222 description = "A library for simple gesture recognition";
2323 homepage = "https://web.archive.org/web/20161204100704/http://etla.net/libstroke/";
24− license = stdenv.lib.licenses.gpl2;
24+ license = lib.licenses.gpl2;
2525
2626 longDescription =
2727 '' libstroke, last updated in 2001, still successfully provides a basic
@@ -29,6 +29,6 @@ stdenv.mkDerivation {
2929 easy to work with, and notably used by FVWM.
3030 '';
3131
32− platforms = stdenv.lib.platforms.linux;
32+ platforms = lib.platforms.linux;
3333 };
3434}
pkgs/development/libraries/libstrophe/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, libtool
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 doCheck = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "A simple, lightweight C library for writing XMPP clients";
3131 longDescription = ''
3232 libstrophe is a lightweight XMPP client library written in C. It has
pkgs/development/libraries/libsurvive/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 zlib
3131 ];
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 description = "Open Source Lighthouse Tracking System";
3535 homepage = "https://github.com/cntools/libsurvive";
3636 license = licenses.mit;
pkgs/development/libraries/libsvm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 pname = "libsvm";
@@ -25,11 +25,11 @@ stdenv.mkDerivation rec {
2525 ln -s $out/include/svm.h $out/include/libsvm/svm.h
2626 '';
2727
28− postFixup = stdenv.lib.optionalString stdenv.isDarwin ''
28+ postFixup = lib.optionalString stdenv.isDarwin ''
2929 install_name_tool -id libsvm.2.dylib $out/lib/libsvm.2.dylib;
3030 '';
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "A library for support vector machines";
3434 homepage = "https://www.csie.ntu.edu.tw/~cjlin/libsvm/";
3535 license = licenses.bsd3;
pkgs/development/libraries/libsystemtap/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchgit, gettext, python, elfutils}:
1+{lib, stdenv, fetchgit, gettext, python, elfutils}:
22
33stdenv.mkDerivation {
44 pname = "libsystemtap";
@@ -20,11 +20,11 @@ stdenv.mkDerivation {
2020 cp -r includes/* $out/include/
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Statically defined probes development files";
2525 homepage = "https://sourceware.org/systemtap/";
2626 license = licenses.bsd3;
2727 platforms = platforms.unix;
28− maintainers = [ stdenv.lib.maintainers.farlion ];
28+ maintainers = [ lib.maintainers.farlion ];
2929 };
3030}
pkgs/development/libraries/libtap/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, pkg-config, cmake, perl }:
1+{ lib, stdenv, fetchurl, pkg-config, cmake, perl }:
22
3−with stdenv.lib;
3+with lib;
44stdenv.mkDerivation rec {
55
66 pname = "libtap";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ pkg-config ];
1515 propagatedBuildInputs = [ cmake perl ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A library to implement a test protocol";
1919 longDescription = ''
2020 libtap is a library to implement the Test Anything Protocol for
pkgs/development/libraries/libtar/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, fetchpatch, autoreconfHook }:
1+{ lib, stdenv, fetchgit, fetchpatch, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 version = "1.2.20";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 nativeBuildInputs = [ autoreconfHook ];
2828 buildInputs = [ ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "C library for manipulating POSIX tar files";
3232 homepage = "https://repo.or.cz/libtar";
3333 license = licenses.bsd3;
pkgs/development/libraries/libtasn1/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, texinfo }:
1+{ lib, stdenv, fetchurl, perl, texinfo }:
22
33stdenv.mkDerivation rec {
44 name = "libtasn1-4.16.0";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 else
2020 null;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://www.gnu.org/software/libtasn1/";
2424 description = "An ASN.1 library";
2525 longDescription = ''
pkgs/development/libraries/libtcod/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromBitbucket, cmake, SDL, libGLU, libGL, upx, zlib }:
1+{ lib, stdenv, fetchFromBitbucket, cmake, SDL, libGLU, libGL, upx, zlib }:
22
33stdenv.mkDerivation {
44
@@ -27,8 +27,8 @@ stdenv.mkDerivation {
2727 meta = {
2828 description = "API for roguelike games";
2929 homepage = "http://roguecentral.org/doryen/libtcod/";
30− license = stdenv.lib.licenses.bsd3;
31− platforms = stdenv.lib.platforms.linux;
32− maintainers = [ stdenv.lib.maintainers.skeidel ];
30+ license = lib.licenses.bsd3;
31+ platforms = lib.platforms.linux;
32+ maintainers = [ lib.maintainers.skeidel ];
3333 };
3434}
pkgs/development/libraries/libtelnet/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, autoreconfHook, zlib }:
1+{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, zlib }:
22
33stdenv.mkDerivation {
44 pname = "libtelnet";
@@ -17,8 +17,8 @@ stdenv.mkDerivation {
1717 meta = {
1818 description = "Simple RFC-complient TELNET implementation as a C library";
1919 homepage = "https://github.com/seanmiddleditch/libtelnet";
20− license = stdenv.lib.licenses.publicDomain;
21− maintainers = [ stdenv.lib.maintainers.tomberek ];
22− platforms = stdenv.lib.platforms.linux;
20+ license = lib.licenses.publicDomain;
21+ maintainers = [ lib.maintainers.tomberek ];
22+ platforms = lib.platforms.linux;
2323 };
2424}
pkgs/development/libraries/libtermkey/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 };
1212
1313 makeFlags = [ "PREFIX=$(out)" ]
14− ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
14+ ++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
1515
1616 nativeBuildInputs = [ libtool pkg-config ];
1717 buildInputs = [ ncurses unibilium ];
pkgs/development/libraries/libthai/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }:
1+{ lib, stdenv, fetchurl, makeWrapper, installShellFiles, pkg-config, libdatrie }:
22
33stdenv.mkDerivation rec {
44 pname = "libthai";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 installManPage man/man3/*.3
1818 '';
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "https://linux.thai.net/projects/libthai/";
2222 description = "Set of Thai language support routines";
2323 license = licenses.lgpl21Plus;
pkgs/development/libraries/libtheora/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, libogg, libvorbis, pkg-config}:
1+{lib, stdenv, fetchurl, libogg, libvorbis, pkg-config}:
22
33stdenv.mkDerivation rec {
44 name = "libtheora-1.1.1";
@@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
1616
1717 # GCC's -fforce-addr flag is not supported by clang
1818 # It's just an optimization, so it's safe to simply remove it
19− postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
19+ postPatch = lib.optionalString stdenv.isDarwin ''
2020 substituteInPlace configure --replace "-fforce-addr" ""
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://www.theora.org/";
2525 description = "Library for Theora, a free and open video compression format";
2626 license = licenses.bsd3;
pkgs/development/libraries/libthreadar/default.nix+2−2
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
3−with stdenv.lib;
3+with lib;
44
55stdenv.mkDerivation rec {
66 version = "1.3.1";
pkgs/development/libraries/libtiff/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33
44, pkg-config
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 doCheck = true; # not cross;
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 description = "Library and utilities for working with the TIFF image file format";
3232 homepage = "http://download.osgeo.org/libtiff";
3333 license = licenses.libtiff;
pkgs/development/libraries/libtins/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ boost, cmake, fetchFromGitHub, gtest, libpcap, openssl, stdenv }:
1+{ boost, cmake, fetchFromGitHub, gtest, libpcap, openssl, lib, stdenv }:
22
33stdenv.mkDerivation rec {
44 pname = "libtins";
@@ -36,12 +36,12 @@ stdenv.mkDerivation rec {
3636 '';
3737 checkTarget = "tests test";
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "High-level, multiplatform C++ network packet sniffing and crafting library";
4141 homepage = "https://libtins.github.io/";
4242 changelog = "https://raw.githubusercontent.com/mfontanini/${pname}/v${version}/CHANGES.md";
43− license = stdenv.lib.licenses.bsd2;
43+ license = lib.licenses.bsd2;
4444 maintainers = with maintainers; [ fdns ];
45− platforms = stdenv.lib.platforms.unix;
45+ platforms = lib.platforms.unix;
4646 };
4747}
pkgs/development/libraries/libtomcrypt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, libtool }:
1+{ lib, stdenv, fetchurl, fetchpatch, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "libtomcrypt";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 enableParallelBuilding = true;
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://www.libtom.net/LibTomCrypt/";
3838 description = "A fairly comprehensive, modular and portable cryptographic toolkit";
3939 license = with licenses; [ publicDomain wtfpl ];
pkgs/development/libraries/libtommath/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool }:
1+{ lib, stdenv, fetchurl, libtool }:
22
33stdenv.mkDerivation rec {
44 pname = "libtommath";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 enableParallelBuilding = true;
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "https://www.libtom.net/LibTomMath/";
3131 description = "A library for integer-based number-theoretic applications";
3232 license = with licenses; [ publicDomain wtfpl ];
pkgs/development/libraries/libtorrent-rasterbar/1.1.nix+1−1
@@ -40,7 +40,7 @@ in stdenv.mkDerivation {
4040 "--with-boost-libdir=${boostPython.out}/lib"
4141 ];
4242
43− meta = with stdenv.lib; {
43+ meta = with lib; {
4444 homepage = "https://libtorrent.org/";
4545 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
4646 license = licenses.bsd3;
pkgs/development/libraries/libtorrent-rasterbar/1.2.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config, automake, autoconf
1+{ lib, stdenv, fetchFromGitHub, pkg-config, automake, autoconf
22, zlib, boost, openssl, libtool, python, libiconv, ncurses, SystemConfiguration
33}:
44
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
2525 nativeBuildInputs = [ automake autoconf libtool pkg-config ];
2626
2727 buildInputs = [ boostPython openssl zlib python libiconv ncurses ]
28− ++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ];
28+ ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];
2929
3030 preConfigure = "./autotool.sh";
3131
@@ -43,7 +43,7 @@ in stdenv.mkDerivation {
4343 "--with-boost-libdir=${boostPython.out}/lib"
4444 ];
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 homepage = "https://libtorrent.org/";
4848 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
4949 license = licenses.bsd3;
pkgs/development/libraries/libtorrent-rasterbar/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake
1+{ lib, stdenv, fetchFromGitHub, cmake
22, zlib, boost, openssl, python, ncurses, SystemConfiguration
33}:
44
@@ -23,7 +23,7 @@ in stdenv.mkDerivation {
2323 nativeBuildInputs = [ cmake ];
2424
2525 buildInputs = [ boostPython openssl zlib python ncurses ]
26− ++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ];
26+ ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];
2727
2828 postInstall = ''
2929 moveToOutput "include" "$dev"
@@ -36,7 +36,7 @@ in stdenv.mkDerivation {
3636 "-Dpython-bindings=on"
3737 ];
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 homepage = "https://libtorrent.org/";
4141 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
4242 license = licenses.bsd3;
pkgs/development/libraries/libtoxcore/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, libsodium, ncurses, libopus, msgpack
1+{ lib, stdenv, fetchFromGitHub, cmake, libsodium, ncurses, libopus, msgpack
22, libvpx, check, libconfig, pkg-config }:
33
44let
@@ -22,7 +22,7 @@ let
2222
2323 buildInputs = [
2424 libsodium msgpack ncurses libconfig
25− ] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
25+ ] ++ lib.optionals (!stdenv.isAarch32) [
2626 libopus libvpx
2727 ];
2828
@@ -37,7 +37,7 @@ let
3737 -e "s|^includedir=.*|includedir=$out/include|"
3838 '';
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "P2P FOSS instant messaging application aimed to replace Skype";
4242 homepage = "https://tox.chat";
4343 license = licenses.gpl3Plus;
pkgs/development/libraries/libtoxcore/new-api.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, libsodium, ncurses, libopus
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsodium, ncurses, libopus
22, libvpx, check, libconfig, pkg-config }:
33
44stdenv.mkDerivation {
@@ -33,11 +33,11 @@ stdenv.mkDerivation {
3333 nativeBuildInputs = [ autoreconfHook pkg-config ];
3434 buildInputs = [
3535 autoreconfHook libsodium ncurses check libconfig
36− ] ++ stdenv.lib.optionals (!stdenv.isAarch32) [
36+ ] ++ lib.optionals (!stdenv.isAarch32) [
3737 libopus
3838 ];
3939
40− propagatedBuildInputs = stdenv.lib.optionals (!stdenv.isAarch32) [ libvpx ];
40+ propagatedBuildInputs = lib.optionals (!stdenv.isAarch32) [ libvpx ];
4141
4242 # Some tests fail randomly due to timeout. This kind of problem is well known
4343 # by upstream: https://github.com/irungentoo/toxcore/issues/{950,1054}
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
4747 # NOTE: run the tests locally on your machine before upgrading this package!
4848 doCheck = false;
4949
50− meta = with stdenv.lib; {
50+ meta = with lib; {
5151 description = "P2P FOSS instant messaging application aimed to replace Skype with crypto";
5252 license = licenses.gpl3Plus;
5353 maintainers = with maintainers; [ ];
pkgs/development/libraries/libtsm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, libxkbcommon, pkg-config, cmake }:
1+{ lib, stdenv, fetchFromGitHub, libxkbcommon, pkg-config, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libtsm";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ cmake pkg-config ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Terminal-emulator State Machine";
2020 homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
2121 license = licenses.mit;
pkgs/development/libraries/libu2f-host/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, pkg-config, json_c, hidapi }:
1+{ lib, stdenv, fetchurl, fetchpatch, pkg-config, json_c, hidapi }:
22
33stdenv.mkDerivation rec {
44 pname = "libu2f-host";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 doCheck = true;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 homepage = "https://developers.yubico.com/libu2f-host";
2828 description = "A C library and command-line tool that implements the host-side of the U2F protocol";
2929 license = with licenses; [ gpl3Plus lgpl21Plus ];
pkgs/development/libraries/libu2f-server/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, pkg-config, json_c, openssl, check, file, help2man, which, gengetopt }:
1+{ lib, stdenv, fetchurl, fetchpatch, pkg-config, json_c, openssl, check, file, help2man, which, gengetopt }:
22
33stdenv.mkDerivation rec {
44 name = "libu2f-server-1.1.0";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [ json_c openssl check file help2man which gengetopt ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://developers.yubico.com/libu2f-server/";
2424 description = "A C library that implements the server-side of the U2F protocol";
2525 license = licenses.bsd2;
pkgs/development/libraries/libuchardet/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "uchardet";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 doCheck = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "Mozilla's Universal Charset Detector C/C++ API";
2424 homepage = "https://www.freedesktop.org/wiki/Software/uchardet/";
2525 license = licenses.mpl11;
pkgs/development/libraries/libucl/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, pkg-config
44, autoreconfHook
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 nativeBuildInputs = [ pkg-config autoreconfHook ];
3838
39− buildInputs = with stdenv.lib;
39+ buildInputs = with lib;
4040 concatLists (
4141 mapAttrsToList (feat: enabled:
4242 optionals enabled (featureDeps."${feat}" or [])
@@ -45,10 +45,10 @@ stdenv.mkDerivation rec {
4545
4646 enableParallelBuilding = true;
4747
48− configureFlags = with stdenv.lib;
48+ configureFlags = with lib;
4949 mapAttrsToList (feat: enabled: strings.enableFeature enabled feat) features;
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 description = "Universal configuration library parser";
5353 homepage = "https://github.com/vstakhov/libucl";
5454 license = licenses.bsd2;
pkgs/development/libraries/libuecc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, cmake }:
1+{ lib, stdenv, fetchgit, cmake }:
22
33stdenv.mkDerivation rec {
44 version = "7";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ cmake ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Very small Elliptic Curve Cryptography library";
1717 homepage = "https://git.universe-factory.net/libuecc";
1818 license = licenses.bsd2;
pkgs/development/libraries/libui/default.nix+8−8
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, gtk3, Cocoa }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gtk3, Cocoa }:
22
33let
44 shortName = "libui";
@@ -16,20 +16,20 @@ stdenv.mkDerivation {
1616 };
1717
1818 nativeBuildInputs = [ cmake pkg-config ];
19− propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux gtk3
20− ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
19+ propagatedBuildInputs = lib.optional stdenv.isLinux gtk3
20+ ++ lib.optionals stdenv.isDarwin [ Cocoa ];
2121
22− preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
22+ preConfigure = lib.optionalString stdenv.isDarwin ''
2323 sed -i 's/set(CMAKE_OSX_DEPLOYMENT_TARGET "10.8")//' ./CMakeLists.txt
2424 '';
2525
2626 installPhase = ''
2727 mkdir -p $out/{include,lib}
2828 mkdir -p $out/lib/pkgconfig
29− '' + stdenv.lib.optionalString stdenv.isLinux ''
29+ '' + lib.optionalString stdenv.isLinux ''
3030 mv ./out/${shortName}.so.0 $out/lib/
3131 ln -s $out/lib/${shortName}.so.0 $out/lib/${shortName}.so
32− '' + stdenv.lib.optionalString stdenv.isDarwin ''
32+ '' + lib.optionalString stdenv.isDarwin ''
3333 mv ./out/${shortName}.A.dylib $out/lib/
3434 ln -s $out/lib/${shortName}.A.dylib $out/lib/${shortName}.dylib
3535 '' + ''
@@ -41,11 +41,11 @@ stdenv.mkDerivation {
4141 --subst-var-by out $out \
4242 --subst-var-by version "${version}"
4343 '';
44− postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
44+ postInstall = lib.optionalString stdenv.isDarwin ''
4545 install_name_tool -id $out/lib/${shortName}.A.dylib $out/lib/${shortName}.A.dylib
4646 '';
4747
48− meta = with stdenv.lib; {
48+ meta = with lib; {
4949 homepage = "https://github.com/andlabs/libui";
5050 description = "Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports";
5151 license = licenses.mit;
pkgs/development/libraries/libuinputplus/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "libuinputplus";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake pkg-config ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 inherit (src.meta) homepage;
1818 description = "Easy-to-use uinput library in C++";
1919 license = licenses.mit;
pkgs/development/libraries/libunarr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake }:
1+{ lib, stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libunarr";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ cmake ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "https://github.com/selmf/unarr";
1616 description = "A lightweight decompression library with support for rar, tar and zip archives";
1717 license = licenses.lgpl3;
pkgs/development/libraries/libunibreak/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "libunibreak";
55 version = "4.3";
66
77 src = let
8− rev_version = stdenv.lib.replaceStrings ["."] ["_"] version;
8+ rev_version = lib.replaceStrings ["."] ["_"] version;
99 in fetchFromGitHub {
1010 owner = "adah1972";
1111 repo = pname;
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ autoreconfHook ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/adah1972/libunibreak";
2020 description = "Implementation of line breaking and word breaking algorithms as in the Unicode standard";
2121 license = licenses.zlib;
pkgs/development/libraries/libuninameslist/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44}:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 autoreconfHook
1919 ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 homepage = "https://github.com/fontforge/libuninameslist/";
2323 description = "A Library of Unicode names and annotation data";
2424 license = licenses.bsd3;
pkgs/development/libraries/libunique/3.x.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, pkg-config
1+{ lib, stdenv, fetchurl, pkg-config
22, dbus, dbus-glib, gtk3, gobject-introspection
33, gtk-doc, docbook_xml_dtd_45, docbook_xsl
44, libxslt, libxml2 }:
55
6−with stdenv.lib;
6+with lib;
77stdenv.mkDerivation rec {
88
99 majorVer = "3.0";
@@ -25,6 +25,6 @@ stdenv.mkDerivation rec {
2525 description = "A library for writing single instance applications";
2626 license = licenses.lgpl21;
2727 maintainers = [ maintainers.AndersonTorres ];
28− platforms = stdenv.lib.platforms.linux;
28+ platforms = lib.platforms.linux;
2929 };
3030}
pkgs/development/libraries/libunique/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, glib, gtk2, dbus-glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, gtk2, dbus-glib }:
22
33stdenv.mkDerivation rec {
44 pname = "libunique";
55 version = "1.1.6";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
99 sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75";
1010 };
1111
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 meta = {
3232 homepage = "https://wiki.gnome.org/Attic/LibUnique";
3333 description = "A library for writing single instance applications";
34− license = stdenv.lib.licenses.lgpl21;
35− platforms = with stdenv.lib.platforms; linux ++ darwin;
34+ license = lib.licenses.lgpl21;
35+ platforms = with lib.platforms; linux ++ darwin;
3636 };
3737}
pkgs/development/libraries/libunistring/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, libiconv }:
1+{ fetchurl, lib, stdenv, libiconv }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 outputs = [ "out" "dev" "info" "doc" ];
1818
19− propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
19+ propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv;
2020
2121 configureFlags = [
2222 "--with-libiconv-prefix=${libiconv}"
@@ -64,9 +64,9 @@ stdenv.mkDerivation rec {
6464 strings as internal in-memory representation.
6565 '';
6666
67− license = stdenv.lib.licenses.lgpl3Plus;
67+ license = lib.licenses.lgpl3Plus;
6868
6969 maintainers = [ ];
70− platforms = stdenv.lib.platforms.all;
70+ platforms = lib.platforms.all;
7171 };
7272}
pkgs/development/libraries/libunity/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchgit
33, pkg-config
44, glib
@@ -56,7 +56,7 @@ stdenv.mkDerivation {
5656 "--with-pygi-overrides-dir=${placeholder "py"}/${python3.sitePackages}/gi/overrides"
5757 ];
5858
59− meta = with stdenv.lib; {
59+ meta = with lib; {
6060 description = "A library for instrumenting and integrating with all aspects of the Unity shell";
6161 homepage = "https://launchpad.net/libunity";
6262 license = licenses.lgpl3;
pkgs/development/libraries/libunwind/default.nix+1−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 doCheck = false; # fails
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://www.nongnu.org/libunwind";
3838 description = "A portable and efficient API to determine the call-chain of a program";
3939 maintainers = with maintainers; [ orivej ];
pkgs/development/libraries/liburcu/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl }:
1+{ lib, stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
44 version = "0.12.1";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 preCheck = "patchShebangs tests/unit";
1515 doCheck = true;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Userspace RCU (read-copy-update) library";
1919 homepage = "https://lttng.org/urcu";
2020 license = licenses.lgpl21Plus;
pkgs/development/libraries/liburing/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit
1+{ lib, stdenv, fetchgit
22, fetchpatch
33}:
44
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 ''
4545 ;
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "Userspace library for the Linux io_uring API";
4949 homepage = "https://git.kernel.dk/cgit/liburing/";
5050 license = licenses.lgpl21;
pkgs/development/libraries/libusb-compat/0.1.nix+2−2
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 sha256 = "1nybccgjs14b3phhaycq2jx1gym4nf6sghvnv9qdfmlqxacx0jz5";
2626 };
2727
28− patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
28+ patches = lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch;
2929
3030 # without this, libusb-compat is unable to find libusb1
3131 postFixup = ''
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 patchelf --set-rpath ${lib.makeLibraryPath buildInputs} {} \;
3434 '';
3535
36− meta = with stdenv.lib; {
36+ meta = with lib; {
3737 homepage = "https://libusb.info/";
3838 repositories.git = "https://github.com/libusb/libusb-compat-0.1";
3939 description = "cross-platform user-mode USB device library";
pkgs/development/libraries/libusb1/default.nix+7−7
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, pkg-config
@@ -26,18 +26,18 @@ stdenv.mkDerivation rec {
2626
2727 nativeBuildInputs = [ pkg-config autoreconfHook ];
2828 propagatedBuildInputs =
29− stdenv.lib.optional enableUdev udev ++
30− stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
29+ lib.optional enableUdev udev ++
30+ lib.optionals stdenv.isDarwin [ libobjc IOKit ];
3131
3232 dontDisableStatic = withStatic;
3333
34− configureFlags = stdenv.lib.optional (!enableUdev) "--disable-udev";
34+ configureFlags = lib.optional (!enableUdev) "--disable-udev";
3535
36− preFixup = stdenv.lib.optionalString enableUdev ''
37− sed 's,-ludev,-L${stdenv.lib.getLib udev}/lib -ludev,' -i $out/lib/libusb-1.0.la
36+ preFixup = lib.optionalString enableUdev ''
37+ sed 's,-ludev,-L${lib.getLib udev}/lib -ludev,' -i $out/lib/libusb-1.0.la
3838 '';
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 homepage = "https://libusb.info/";
4242 repositories.git = "https://github.com/libusb/libusb";
4343 description = "cross-platform user-mode USB device library";
pkgs/development/libraries/libusbmuxd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libplist }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libplist }:
22
33stdenv.mkDerivation rec {
44 pname = "libusbmuxd";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ autoreconfHook pkg-config ];
1515 buildInputs = [ libplist ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "A client library to multiplex connections from and to iOS devices";
1919 homepage = "https://github.com/libimobiledevice/libusbmuxd";
2020 license = licenses.lgpl21Plus;
pkgs/development/libraries/libuv/default.nix+3−3
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 "threadpool_multiple_event_loops" # times out on slow machines
2020 "get_passwd" # passed on NixOS but failed on other Linuxes
2121 "tcp_writealot" "udp_multicast_join" "udp_multicast_join6" # times out sometimes
22− ] ++ stdenv.lib.optionals stdenv.isDarwin [
22+ ] ++ lib.optionals stdenv.isDarwin [
2323 # Sometimes: timeout (no output), failed uv_listen. Someone
2424 # should report these failures to libuv team. There tests should
2525 # be much more robust.
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040 "fs_event_watch_dir_recursive" "fs_event_watch_file"
4141 "fs_event_watch_file_current_dir" "fs_event_watch_file_exact_path"
4242 "process_priority" "udp_create_early_bad_bind"
43− ] ++ stdenv.lib.optionals stdenv.isAarch32 [
43+ ] ++ lib.optionals stdenv.isAarch32 [
4444 # I observe this test failing with some regularity on ARMv7:
4545 # https://github.com/libuv/libuv/issues/1871
4646 "shutdown_close_pipe"
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
5151 '';
5252
5353 nativeBuildInputs = [ automake autoconf libtool pkg-config ];
54− buildInputs = stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
54+ buildInputs = lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
5555
5656 preConfigure = ''
5757 LIBTOOLIZE=libtoolize ./autogen.sh
pkgs/development/libraries/libuvc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44, pkg-config
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 buildInputs = [ libusb1 ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://ken.tossell.net/libuvc/";
2525 description = "Cross-platform library for USB video devices";
2626 platforms = platforms.linux;
pkgs/development/libraries/libva/1.0.0.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
2929
30− meta = with stdenv.lib; {
30+ meta = with lib; {
3131 homepage = "http://www.freedesktop.org/wiki/Software/vaapi";
3232 license = licenses.mit;
3333 description = "VAAPI library: Video Acceleration API";
pkgs/development/libraries/libva/default.nix+1−1
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 "-Ddriverdir=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
3030 ];
3131
32− meta = with stdenv.lib; {
32+ meta = with lib; {
3333 description = "An implementation for VA-API (Video Acceleration API)";
3434 longDescription = ''
3535 VA-API is an open-source library and API specification, which provides
pkgs/development/libraries/libva/utils.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja, pkg-config
1+{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config
22, libdrm, libva, libX11, libXext, libXfixes, wayland
33}:
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "A collection of utilities and examples for VA-API";
2222 longDescription = ''
2323 libva-utils is a collection of utilities and examples to exercise VA-API
pkgs/development/libraries/libvdpau-va-gl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, libX11, libpthreadstubs, libXau, libXdmcp
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, libX11, libpthreadstubs, libXau, libXdmcp
22, libXext, libvdpau, glib, libva, ffmpeg_3, libGLU }:
33
44stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 doCheck = false; # fails. needs DRI access
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "https://github.com/i-rinat/libvdpau-va-gl";
2222 description = "VDPAU driver with OpenGL/VAAPI backend";
2323 license = licenses.lgpl3;
pkgs/development/libraries/libvdpau/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, xorg, mesa, meson, ninja }:
1+{ lib, stdenv, fetchurl, pkg-config, xorg, mesa, meson, ninja }:
22
33stdenv.mkDerivation rec {
44 pname = "libvdpau";
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
1717
1818 propagatedBuildInputs = [ xorg.libX11 ];
1919
20− mesonFlags = stdenv.lib.optional stdenv.isLinux
20+ mesonFlags = lib.optional stdenv.isLinux
2121 [ "-Dmoduledir=${mesa.drivers.driverLink}/lib/vdpau" ];
2222
23− NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lX11";
23+ NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lX11";
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://people.freedesktop.org/~aplattner/vdpau/";
2727 description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
2828 license = licenses.mit; # expat version
pkgs/development/libraries/libversion/default.nix+1−1
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 doCheck = true;
2424 checkTarget = "test";
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Advanced version string comparison library";
2828 homepage = "https://github.com/repology/libversion";
2929 license = with licenses; [ mit ];
pkgs/development/libraries/libviper/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkg-config, glib, ncurses, gpm}:
1+{lib, stdenv, fetchurl, pkg-config, glib, ncurses, gpm}:
22stdenv.mkDerivation rec {
33 name = "libviper-1.4.6";
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkg-config ];
2020 buildInputs = [ glib ncurses gpm];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "http://libviper.sourceforge.net/";
2424 description = "Simple window creation and management facilities for the console";
2525 license = licenses.gpl2Plus;
pkgs/development/libraries/libvirt-glib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, gobject-introspection, intltool, vala
1+{ lib, stdenv, fetchurl, pkg-config, gobject-introspection, intltool, vala
22, libcap_ng, libvirt, libxml2
33}:
44
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 enableParallelBuilding = true;
1919 strictDeps = true;
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "Library for working with virtual machines";
2323 longDescription = ''
2424 libvirt-glib wraps libvirt to provide a high-level object-oriented API better
pkgs/development/libraries/libvirt/5.9.0.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchgit
1+{ lib, stdenv, fetchurl, fetchgit
22, pkg-config, makeWrapper, libtool, autoconf, automake, fetchpatch
33, coreutils, libxml2, gnutls, perl, python2, attr
44, iproute, iptables, readline, lvm2, util-linux, systemd, libpciaccess, gettext
@@ -10,7 +10,7 @@
1010, enableCeph ? false, ceph
1111}:
1212
13−with stdenv.lib;
13+with lib;
1414
1515# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix>
1616let
@@ -54,7 +54,7 @@ in stdenv.mkDerivation rec {
5454
5555 preConfigure = ''
5656 ${ optionalString (!buildFromTarball) "./bootstrap --no-git --gnulib-srcdir=$(pwd)/.gnulib" }
57− PATH=${stdenv.lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables ebtables lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$PATH
57+ PATH=${lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables ebtables lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$PATH
5858 # the path to qemu-kvm will be stored in VM's .xml and .save files
5959 # do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations
6060 substituteInPlace src/lxc/lxc_conf.c \
pkgs/development/libraries/libvirt/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchgit
1+{ lib, stdenv, fetchurl, fetchgit
22, makeWrapper, autoreconfHook, fetchpatch
33, coreutils, libxml2, gnutls, perl, python2, attr, glib, docutils
44, iproute, readline, lvm2, util-linux, systemd, libpciaccess, gettext
@@ -11,7 +11,7 @@
1111, enableCeph ? false, ceph
1212}:
1313
14−with stdenv.lib;
14+with lib;
1515
1616# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix>
1717let
@@ -72,14 +72,14 @@ in stdenv.mkDerivation rec {
7272 sed -i meson.build -e "s|conf.set_quoted('${var}',.*|conf.set_quoted('${var}','${value}')|"
7373 '';
7474 in ''
75− PATH=${stdenv.lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables-nftables-compat lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$PATH
75+ PATH=${lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables-nftables-compat lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$PATH
7676 # the path to qemu-kvm will be stored in VM's .xml and .save files
7777 # do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations
7878 substituteInPlace src/lxc/lxc_conf.c \
7979 --replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",'
8080 patchShebangs . # fixes /usr/bin/python references
8181 ''
82− + (stdenv.lib.concatStringsSep "\n" (stdenv.lib.mapAttrsToList patchBuilder overrides));
82+ + (lib.concatStringsSep "\n" (stdenv.lib.mapAttrsToList patchBuilder overrides));
8383
8484 mesonAutoFeatures = "auto";
8585
pkgs/development/libraries/libvisio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, libwpd, libwpg, pkg-config, zlib, gperf
1+{ lib, stdenv, fetchurl, boost, libwpd, libwpg, pkg-config, zlib, gperf
22, librevenge, libxml2, icu, perl, cppunit, doxygen
33}:
44
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 doCheck = true;
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A library providing ability to interpret and import visio diagrams into various applications";
2727 homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libvisio";
2828 license = licenses.mpl20;
pkgs/development/libraries/libvisual/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib }:
1+{ lib, stdenv, fetchurl, pkg-config, glib }:
22
33stdenv.mkDerivation rec {
44 name = "libvisual-0.4.0";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 hardeningDisable = [ "format" ];
1515
16− configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
16+ configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
1717 "ac_cv_func_malloc_0_nonnull=yes"
1818 "ac_cv_func_realloc_0_nonnull=yes"
1919 ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 description = "An abstraction library for audio visualisations";
2323 homepage = "https://sourceforge.net/projects/libvisual/";
24− license = stdenv.lib.licenses.lgpl21Plus;
25− platforms = stdenv.lib.platforms.linux;
24+ license = lib.licenses.lgpl21Plus;
25+ platforms = lib.platforms.linux;
2626 };
2727}
pkgs/development/libraries/libvmaf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja, nasm }:
1+{ lib, stdenv, fetchFromGitHub, meson, ninja, nasm }:
22
33stdenv.mkDerivation rec {
44 pname = "libvmaf";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 outputs = [ "out" "dev" ];
2121 doCheck = false;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "https://github.com/Netflix/vmaf";
2525 description = "Perceptual video quality assessment based on multi-method fusion (VMAF)";
2626 changelog = "https://github.com/Netflix/vmaf/blob/v${version}/CHANGELOG.md";
pkgs/development/libraries/libvmi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv,
1+{ lib, stdenv,
22 fetchFromGitHub,
33 autoreconfHook,
44 bison,
@@ -10,7 +10,7 @@
1010 libvirt,
1111 xenSupport ? true }:
1212
13−with stdenv.lib;
13+with lib;
1414
1515stdenv.mkDerivation rec {
1616 pname = "libvmi";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 patchelf --set-rpath "$oldrpath:${makeLibraryPath [ xen ]}" "$libvmi"
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 homepage = "http://libvmi.com/";
4141 description = "A C library for virtual machine introspection";
4242 longDescription = ''
pkgs/development/libraries/libvncserver/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, fetchpatch, cmake
1+{ lib, stdenv, fetchzip, fetchpatch, cmake
22, libjpeg, openssl, zlib, libgcrypt, libpng
33, systemd
44}:
@@ -21,14 +21,14 @@ stdenv.mkDerivation {
2121 nativeBuildInputs = [ cmake ];
2222 buildInputs = [
2323 libjpeg openssl libgcrypt libpng
24− ] ++ stdenv.lib.optional stdenv.isLinux systemd;
24+ ] ++ lib.optional stdenv.isLinux systemd;
2525 propagatedBuildInputs = [ zlib ];
2626 meta = {
2727 inherit (s) version;
2828 description = "VNC server library";
2929 homepage = "https://libvnc.github.io/";
30− license = stdenv.lib.licenses.gpl2Plus ;
31− maintainers = [stdenv.lib.maintainers.raskin];
32− platforms = stdenv.lib.platforms.unix;
30+ license = lib.licenses.gpl2Plus ;
31+ maintainers = [lib.maintainers.raskin];
32+ platforms = lib.platforms.unix;
3333 };
3434}
pkgs/development/libraries/libvorbis/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libogg, pkg-config }:
1+{ lib, stdenv, fetchurl, libogg, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "libvorbis-1.3.7";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 doCheck = true;
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = "Vorbis audio compression reference implementation";
2020 homepage = "https://xiph.org/vorbis/";
2121 license = licenses.bsd3;
pkgs/development/libraries/libvpx/1_8.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl, yasm
1+{ lib, stdenv, fetchFromGitHub, perl, yasm
22, vp8DecoderSupport ? true # VP8 decoder
33, vp8EncoderSupport ? true # VP8 encoder
44, vp9DecoderSupport ? true # VP9 decoder
@@ -40,7 +40,7 @@
4040
4141let
4242 inherit (stdenv) is64bit isMips isDarwin isCygwin;
43− inherit (stdenv.lib) enableFeature optional optionals;
43+ inherit (lib) enableFeature optional optionals;
4444in
4545
4646assert vp8DecoderSupport || vp8EncoderSupport || vp9DecoderSupport || vp9EncoderSupport;
@@ -173,7 +173,7 @@ stdenv.mkDerivation rec {
173173
174174 postInstall = ''moveToOutput bin "$bin" '';
175175
176− meta = with stdenv.lib; {
176+ meta = with lib; {
177177 description = "WebM VP8/VP9 codec SDK";
178178 homepage = "https://www.webmproject.org/";
179179 license = licenses.bsd3;
pkgs/development/libraries/libvpx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl, yasm
1+{ lib, stdenv, fetchFromGitHub, perl, yasm
22, vp8DecoderSupport ? true # VP8 decoder
33, vp8EncoderSupport ? true # VP8 encoder
44, vp9DecoderSupport ? true # VP9 decoder
@@ -40,7 +40,7 @@
4040
4141let
4242 inherit (stdenv) is64bit isMips isDarwin isCygwin;
43− inherit (stdenv.lib) enableFeature optional optionals;
43+ inherit (lib) enableFeature optional optionals;
4444in
4545
4646assert vp8DecoderSupport || vp8EncoderSupport || vp9DecoderSupport || vp9EncoderSupport;
@@ -169,7 +169,7 @@ stdenv.mkDerivation rec {
169169
170170 postInstall = ''moveToOutput bin "$bin" '';
171171
172− meta = with stdenv.lib; {
172+ meta = with lib; {
173173 description = "WebM VP8/VP9 codec SDK";
174174 homepage = "https://www.webmproject.org/";
175175 license = licenses.bsd3;
pkgs/development/libraries/libvterm-neovim/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, perl
44, libtool
@@ -20,11 +20,11 @@ stdenv.mkDerivation {
2020 nativeBuildInputs = [ libtool ];
2121
2222 makeFlags = [ "PREFIX=$(out)" ]
23− ++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
23+ ++ lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
2424
2525 enableParallelBuilding = true;
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "VT220/xterm/ECMA-48 terminal emulator library";
2929 homepage = "http://www.leonerd.org.uk/code/libvterm/";
3030 license = licenses.mit;
pkgs/development/libraries/libvterm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, ncurses }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, ncurses }:
22
33stdenv.mkDerivation rec {
44 name = "libvterm-0.99.7";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 nativeBuildInputs = [ pkg-config ];
2121 buildInputs = [ glib ncurses ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 homepage = "http://libvterm.sourceforge.net/";
2525 description = "Terminal emulator library to mimic both vt100 and rxvt";
2626 license = licenses.gpl2Plus;
pkgs/development/libraries/libwacom/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, meson, ninja, glib, pkg-config, udev, libgudev, doxygen }:
1+{ lib, stdenv, fetchFromGitHub, meson, ninja, glib, pkg-config, udev, libgudev, doxygen }:
22
33stdenv.mkDerivation rec {
44 pname = "libwacom";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 buildInputs = [ glib udev libgudev ];
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 platforms = platforms.linux;
2424 homepage = "https://linuxwacom.github.io/";
2525 description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
pkgs/development/libraries/libwebp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, libtool
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool
22, threadingSupport ? true # multi-threading
33, openglSupport ? false, freeglut ? null, libGL ? null, libGLU ? null # OpenGL (required for vwebp)
44, pngSupport ? true, libpng ? null # PNG image format
@@ -24,7 +24,7 @@ let
2424 mkFlag = optSet: flag: if optSet then "--enable-${flag}" else "--disable-${flag}";
2525in
2626
27−with stdenv.lib;
27+with lib;
2828stdenv.mkDerivation rec {
2929 pname = "libwebp";
3030 version = "1.1.0";
pkgs/development/libraries/libwebsockets/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ fetchFromGitHub, stdenv, cmake, openssl, zlib, libuv }:
1+{ fetchFromGitHub, lib, stdenv, cmake, openssl, zlib, libuv }:
22
33let
44 generic = { version, sha256 }: stdenv.mkDerivation rec {
@@ -22,9 +22,9 @@ let
2222 "-DLWS_WITH_SOCKS5=ON"
2323 ];
2424
25− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
25+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
2626
27− meta = with stdenv.lib; {
27+ meta = with lib; {
2828 description = "Light, portable C library for websockets";
2929 longDescription = ''
3030 Libwebsockets is a lightweight pure C library built to
pkgs/development/libraries/libwhereami/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
1+{ lib, stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
22
33stdenv.mkDerivation rec {
44 pname = "libwhereami";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [ boost curl leatherman ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 inherit (src.meta) homepage;
2222 description = "Library to report hypervisor information from inside a VM";
2323 license = licenses.asl20;
pkgs/development/libraries/libwmf/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkg-config
1+{ lib, stdenv, fetchFromGitHub, pkg-config
22, freetype, glib, imagemagick, libjpeg, libpng, libxml2, zlib
33}:
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 buildInputs = [ zlib imagemagick libpng glib freetype libjpeg libxml2 ];
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "WMF library from wvWare";
2424 homepage = "http://wvware.sourceforge.net/libwmf.html";
2525 downloadPage = "https://github.com/caolanm/libwmf/releases";
pkgs/development/libraries/libwnck/3.x.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, fetchpatch
44, meson
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 outputBin = "dev";
2828
2929 src = fetchurl {
30− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
30+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
3131 sha256 = "0pwjdhca9lz2n1gf9b60xf0m6ipf9snp8rqf9csj4pgdnd882l5w";
3232 };
3333
@@ -62,11 +62,11 @@ stdenv.mkDerivation rec {
6262 passthru = {
6363 updateScript = gnome3.updateScript {
6464 packageName = pname;
65− attrPath = "${pname}${stdenv.lib.versions.major version}";
65+ attrPath = "${pname}${lib.versions.major version}";
6666 };
6767 };
6868
69− meta = with stdenv.lib; {
69+ meta = with lib; {
7070 description = "Library to manage X windows and workspaces (via pagers, tasklists, etc.)";
7171 license = licenses.lgpl21Plus;
7272 platforms = platforms.linux;
pkgs/development/libraries/libwnck/default.nix+4−4
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, gtk2, intltool, xorg }:
1+{ lib, stdenv, fetchurl, pkg-config, gtk2, intltool, xorg }:
22
33stdenv.mkDerivation rec {
44 pname = "libwnck";
55 version = "2.31.0";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
1010 };
1111
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 meta = {
2222 description = "A library for creating task lists and pagers";
2323 homepage = "https://gitlab.gnome.org/GNOME/libwnck";
24− license = stdenv.lib.licenses.lgpl21;
25− maintainers = with stdenv.lib.maintainers; [ johnazoidberg ];
24+ license = lib.licenses.lgpl21;
25+ maintainers = with lib.maintainers; [ johnazoidberg ];
2626 };
2727}
pkgs/development/libraries/libwpd/0.8.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, libgsf, libxml2, bzip2 }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, libgsf, libxml2, bzip2 }:
22
33stdenv.mkDerivation rec {
44 name = "libwpd-0.8.14";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 nativeBuildInputs = [ pkg-config bzip2 ];
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Library for importing WordPerfect documents";
1919 homepage = "http://libwpd.sourceforge.net";
2020 license = with licenses; [ lgpl21 mpl20 ];
pkgs/development/libraries/libwpd/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge }:
1+{ lib, stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge }:
22
33stdenv.mkDerivation rec {
44 name = "libwpd-0.10.0";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ pkg-config ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A library for importing and exporting WordPerfect documents";
1717 homepage = "http://libwpd.sourceforge.net/";
1818 license = licenses.lgpl21;
pkgs/development/libraries/libwpg/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge }:
1+{ lib, stdenv, fetchurl, pkg-config, libwpd, zlib, librevenge }:
22
33stdenv.mkDerivation rec {
44 name = "libwpg-0.3.3";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 buildInputs = [ libwpd zlib librevenge ];
1212 nativeBuildInputs = [ pkg-config ];
1313
14− meta = with stdenv.lib; {
14+ meta = with lib; {
1515 homepage = "http://libwpg.sourceforge.net";
1616 description = "C++ library to parse WPG";
1717 license = with licenses; [ lgpl21 mpl20 ];
pkgs/development/libraries/libwps/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
1+{ lib, stdenv, fetchurl, boost, pkg-config, librevenge, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "libwps";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 NIX_CFLAGS_COMPILE = "-Wno-error=implicit-fallthrough";
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 homepage = "http://libwps.sourceforge.net/";
1919 description = "Microsoft Works document format import filter library";
2020 platforms = platforms.unix;
pkgs/development/libraries/libx86/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libx86";
@@ -13,14 +13,14 @@ stdenv.mkDerivation rec {
1313 # http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
1414 makeFlags = [
1515 "DESTDIR=$(out)"
16− ] ++ stdenv.lib.optional (!stdenv.isi686) "BACKEND=x86emu";
16+ ] ++ lib.optional (!stdenv.isi686) "BACKEND=x86emu";
1717
1818 preBuild = ''
1919 sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
2020 sed -e s@/usr@@ -i Makefile
2121 '';
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Real-mode x86 code emulator";
2525 maintainers = with maintainers; [ raskin ];
2626 platforms = [ "x86_64-linux" "i686-linux" ];
pkgs/development/libraries/libx86emu/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, perl }:
1+{ lib, stdenv, fetchFromGitHub, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "libx86emu";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 installFlags = [ "DESTDIR=$(out)" "LIBDIR=/lib" ];
2727
28− meta = with stdenv.lib; {
28+ meta = with lib; {
2929 description = "x86 emulation library";
3030 license = licenses.bsd2;
3131 homepage = "https://github.com/wfeldt/libx86emu";
pkgs/development/libraries/libxc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gfortran, perl }:
1+{ lib, stdenv, fetchurl, gfortran, perl }:
22
33let
44 version = "4.3.4";
@@ -23,7 +23,7 @@ in stdenv.mkDerivation {
2323 doCheck = true;
2424 enableParallelBuilding = true;
2525
26− meta = with stdenv.lib; {
26+ meta = with lib; {
2727 description = "Library of exchange-correlation functionals for density-functional theory";
2828 homepage = "https://octopus-code.org/wiki/Libxc";
2929 license = licenses.lgpl3;
pkgs/development/libraries/libxcomp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkg-config, libjpeg, libpng, libX11, zlib }:
1+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libjpeg, libpng, libX11, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "libxcomp";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 enableParallelBuilding = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 description = "NX compression library";
2424 homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
2525 license = licenses.gpl2;
pkgs/development/libraries/libxdg-basedir/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, fetchpatch}:
1+{lib, stdenv, fetchurl, fetchpatch}:
22
33stdenv.mkDerivation rec {
44 name = "libxdg-basedir-1.2.0";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 })
1616 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/devnev/libxdg-basedir";
2020 description = "Implementation of the XDG Base Directory specification";
2121 license = licenses.mit;
pkgs/development/libraries/libxkbcommon/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkg-config, yacc, doxygen
1+{ lib, stdenv, fetchurl, meson, ninja, pkg-config, yacc, doxygen
22, xkeyboard_config, libxcb, libxml2
33, python3
44, libX11
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232 patchShebangs ../test/
3333 '';
3434
35− meta = with stdenv.lib; {
35+ meta = with lib; {
3636 description = "A library to handle keyboard descriptions";
3737 longDescription = ''
3838 libxkbcommon is a keyboard keymap compiler and support library which
pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, yacc, flex, xkeyboard_config, libxcb, libX11 }:
1+{ lib, stdenv, fetchurl, pkg-config, yacc, flex, xkeyboard_config, libxcb, libX11 }:
22
33stdenv.mkDerivation rec {
44 name = "libxkbcommon-0.7.2";
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
1818 "--with-x-locale-root=${libX11.out}/share/X11/locale"
1919 ];
2020
21− preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
21+ preBuild = lib.optionalString stdenv.isDarwin ''
2222 sed -i 's/,--version-script=.*$//' Makefile
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 description = "A library to handle keyboard descriptions";
2727 homepage = "https://xkbcommon.org";
2828 license = licenses.mit;
pkgs/development/libraries/libxklavier/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, autoreconfHook, pkg-config, gtk-doc, xkeyboard_config, libxml2, xorg, docbook_xsl
1+{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, gtk-doc, xkeyboard_config, libxml2, xorg, docbook_xsl
22, glib, isocodes, gobject-introspection }:
33
44let
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 "--enable-gtk-doc"
3838 ];
3939
40− meta = with stdenv.lib; {
40+ meta = with lib; {
4141 description = "Library providing high-level API for X Keyboard Extension known as XKB";
4242 homepage = "http://freedesktop.org/wiki/Software/LibXklavier";
4343 license = licenses.lgpl2Plus;
pkgs/development/libraries/libxl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "libxl";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 cp -rva lib64 $out/lib
1919 '';
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A library for parsing Excel files";
2323 homepage = "https://www.libxl.com/";
2424 license = licenses.unfree;
pkgs/development/libraries/libxls/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip }:
1+{ lib, stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
44 pname = "libxls";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 enableParallelBuilding = true;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Extract Cell Data From Excel xls files";
1818 homepage = "https://sourceforge.net/projects/libxls/";
1919 license = licenses.bsd2;
pkgs/development/libraries/libxmi/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool }:
1+{ lib, stdenv, fetchurl, libtool }:
22
33stdenv.mkDerivation {
44 name = "libxmi-1.2";
@@ -14,8 +14,8 @@ stdenv.mkDerivation {
1414 meta = {
1515 description = "Library for rasterizing 2-D vector graphics";
1616 homepage = "https://www.gnu.org/software/libxmi/";
17− license = stdenv.lib.licenses.gpl2Plus;
18− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
17+ license = lib.licenses.gpl2Plus;
18+ platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
1919 maintainers = [ ];
2020 };
2121}
pkgs/development/libraries/libxmlb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, docbook_xml_dtd_43
44, docbook_xsl
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
6464 };
6565 };
6666
67− meta = with stdenv.lib; {
67+ meta = with lib; {
6868 description = "A library to help create and query binary XML blobs";
6969 homepage = "https://github.com/hughsie/libxmlb";
7070 license = licenses.lgpl21Plus;
pkgs/development/libraries/libxmlxx/default.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, libxml2, glibmm, perl, gnome3 }:
1+{ lib, stdenv, fetchurl, pkg-config, libxml2, glibmm, perl, gnome3 }:
22
33stdenv.mkDerivation rec {
44 pname = "libxml++";
55 version = "2.40.1";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a";
1010 };
1111
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 };
2222 };
2323
24− meta = with stdenv.lib; {
24+ meta = with lib; {
2525 homepage = "http://libxmlplusplus.sourceforge.net/";
2626 description = "C++ wrapper for the libxml2 XML parser library";
2727 license = licenses.lgpl2Plus;
pkgs/development/libraries/libxmlxx/v3.nix+3−3
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, pkg-config, libxml2, glibmm, perl }:
1+{ lib, stdenv, fetchurl, pkg-config, libxml2, glibmm, perl }:
22
33stdenv.mkDerivation rec {
44 pname = "libxml++";
55 version = "3.0.1";
66
77 src = fetchurl {
8− url = "mirror://gnome/sources/libxml++/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
8+ url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
99 sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
1010 };
1111
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 --replace 'docdir=''${datarootdir}' "docdir=$doc/share"
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "http://libxmlplusplus.sourceforge.net/";
2727 description = "C++ wrapper for the libxml2 XML parser library, version 3";
2828 license = licenses.lgpl2Plus;
pkgs/development/libraries/libxmp/default.nix+2−2
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libxmp-4.4.1";
55
6− meta = with stdenv.lib; {
6+ meta = with lib; {
77 description = "Extended module player library";
88 homepage = "http://xmp.sourceforge.net/";
99 longDescription = ''
pkgs/development/libraries/libxslt/default.nix+9−9
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, libxml2, findXMLCatalogs, gettext, python, libgcrypt
1+{ lib, stdenv, fetchurl, fetchpatch, libxml2, findXMLCatalogs, gettext, python, libgcrypt
22, cryptoSupport ? false
33, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
44}:
@@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
1212 sha256 = "0zrzz6kjdyavspzik6fbkpvfpbd25r2qg6py5nnjaabrsr3bvccq";
1313 };
1414
15− outputs = [ "bin" "dev" "out" "man" "doc" ] ++ stdenv.lib.optional pythonSupport "py";
15+ outputs = [ "bin" "dev" "out" "man" "doc" ] ++ lib.optional pythonSupport "py";
1616
1717 buildInputs = [ libxml2.dev ]
18− ++ stdenv.lib.optional stdenv.isDarwin gettext
19− ++ stdenv.lib.optionals pythonSupport [ libxml2.py python ]
20− ++ stdenv.lib.optionals cryptoSupport [ libgcrypt ];
18+ ++ lib.optional stdenv.isDarwin gettext
19+ ++ lib.optionals pythonSupport [ libxml2.py python ]
20+ ++ lib.optionals cryptoSupport [ libgcrypt ];
2121
2222 propagatedBuildInputs = [ findXMLCatalogs ];
2323
@@ -26,14 +26,14 @@ stdenv.mkDerivation rec {
2626 "--without-debug"
2727 "--without-mem-debug"
2828 "--without-debugger"
29− ] ++ stdenv.lib.optional pythonSupport "--with-python=${python}"
30− ++ stdenv.lib.optional (!cryptoSupport) "--without-crypto";
29+ ] ++ lib.optional pythonSupport "--with-python=${python}"
30+ ++ lib.optional (!cryptoSupport) "--without-crypto";
3131
3232 postFixup = ''
3333 moveToOutput bin/xslt-config "$dev"
3434 moveToOutput lib/xsltConf.sh "$dev"
3535 moveToOutput share/man/man1 "$bin"
36− '' + stdenv.lib.optionalString pythonSupport ''
36+ '' + lib.optionalString pythonSupport ''
3737 mkdir -p $py/nix-support
3838 echo ${libxml2.py} >> $py/nix-support/propagated-build-inputs
3939 moveToOutput ${python.libPrefix} "$py"
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 inherit pythonSupport;
4444 };
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 homepage = "http://xmlsoft.org/XSLT/";
4848 description = "A C library and tools to do XSL transformations";
4949 license = licenses.mit;
pkgs/development/libraries/libxsmm/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, coreutils, gfortran, gnused
1+{ lib, stdenv, fetchFromGitHub, coreutils, gfortran, gnused
22, python3, util-linux, which
33
44, enableStatic ? stdenv.hostPlatform.isStatic
@@ -42,11 +42,11 @@ in stdenv.mkDerivation {
4242 patchShebangs .
4343 '';
4444
45− meta = with stdenv.lib; {
45+ meta = with lib; {
4646 description = "Library targeting Intel Architecture for specialized dense and sparse matrix operations, and deep learning primitives";
4747 license = licenses.bsd3;
4848 homepage = "https://github.com/hfp/libxsmm";
4949 platforms = platforms.linux;
50− maintainers = with stdenv.lib.maintainers; [ chessai ];
50+ maintainers = with lib.maintainers; [ chessai ];
5151 };
5252}
pkgs/development/libraries/libyaml-cpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "libyaml-cpp";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DYAML_CPP_BUILD_TESTS=OFF" ];
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 inherit (src.meta) homepage;
2727 description = "A YAML parser and emitter for C++";
2828 license = licenses.mit;
pkgs/development/libraries/libyaml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44}:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 nativeBuildInputs = [ autoreconfHook ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://pyyaml.org/";
2121 description = "A YAML 1.1 parser and emitter written in C";
2222 license = licenses.mit;
pkgs/development/libraries/libykclient/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, help2man, curl }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, help2man, curl }:
22
33stdenv.mkDerivation {
44 pname = "libykclient";
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313 nativeBuildInputs = [ autoreconfHook pkg-config help2man ];
1414 buildInputs = [ curl ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Yubikey C client library";
1818 homepage = "https://developers.yubico.com/yubico-c-client";
1919 license = licenses.bsd2;
pkgs/development/libraries/libykneomgr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, pcsclite, libzip, help2man }:
1+{ lib, stdenv, fetchurl, pkg-config, pcsclite, libzip, help2man }:
22
33stdenv.mkDerivation rec {
44 name = "libykneomgr-0.1.8";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 "--with-backend=pcsc"
1616 ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://developers.yubico.com/libykneomgr";
2020 description = "A C library to interact with the CCID-part of the Yubikey NEO";
2121 license = licenses.bsd3;
pkgs/development/libraries/libyubikey/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "libyubikey-1.13";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "009l3k2zyn06dbrlja2d4p2vfnzjhlcqxi88v02mlrnb17mx1v84";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://opensource.yubico.com/yubico-c/";
1313 description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
1414 license = licenses.bsd2;
pkgs/development/libraries/libzapojit/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, glib, intltool, json-glib, librest, libsoup, gnome3, gnome-online-accounts, gobject-introspection }:
1+{ lib, stdenv, fetchurl, pkg-config, glib, intltool, json-glib, librest, libsoup, gnome3, gnome-online-accounts, gobject-introspection }:
22
33stdenv.mkDerivation rec {
44 pname = "libzapojit";
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "out" "dev" ];
88
99 src = fetchurl {
10− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
10+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1111 sha256 = "0zn3s7ryjc3k1abj4k55dr2na844l451nrg9s6cvnnhh569zj99x";
1212 };
1313
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020 };
2121 };
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "GObject wrapper for the SkyDrive and Hotmail REST APIs";
2525 homepage = "https://wiki.gnome.org/Projects/Zapojit";
2626 license = licenses.lgpl21Plus;
pkgs/development/libraries/libzdb/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, sqlite}:
1+{lib, stdenv, fetchurl, sqlite}:
22
33stdenv.mkDerivation rec
44{
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec
1717 {
1818 homepage = "http://www.tildeslash.com/libzdb/";
1919 description = "A small, easy to use Open Source Database Connection Pool Library";
20− license = stdenv.lib.licenses.gpl3;
21− platforms = stdenv.lib.platforms.linux;
20+ license = lib.licenses.gpl3;
21+ platforms = lib.platforms.linux;
2222 maintainers = [ ];
2323 };
2424}
pkgs/development/libraries/libzen/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ lib, stdenv, fetchurl, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 version = "0.4.38";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "Shared library for libmediainfo and mediainfo";
2222 homepage = "https://mediaarea.net/";
2323 license = licenses.bsd2;
pkgs/development/libraries/libzip/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, perl, zlib }:
1+{ lib, stdenv, fetchurl, cmake, perl, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "libzip";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 patchShebangs regress
2727 '';
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 homepage = "https://www.nih.at/libzip";
3131 description = "A C library for reading, creating and modifying zip archives";
3232 license = licenses.bsd3;
pkgs/development/libraries/libzmf/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkg-config, cppunit}:
1+{lib, stdenv, fetchurl, boost, icu, libpng, librevenge, zlib, doxygen, pkg-config, cppunit}:
22
33stdenv.mkDerivation rec {
44 pname = "libzmf";
@@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
1616 meta = {
1717 inherit version;
1818 description = ''A library that parses the file format of Zoner Callisto/Draw documents'';
19− license = stdenv.lib.licenses.mpl20;
20− maintainers = [stdenv.lib.maintainers.raskin];
21− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.mpl20;
20+ maintainers = [lib.maintainers.raskin];
21+ platforms = lib.platforms.unix;
2222 homepage = "https://wiki.documentfoundation.org/DLP/Libraries/libzmf";
2323 downloadPage = "http://dev-www.libreoffice.org/src/libzmf/";
2424 updateWalker = true;
pkgs/development/libraries/libzra/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, cmake
44}:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 nativeBuildInputs = [ cmake ];
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 homepage = "https://github.com/zraorg/ZRA";
2222 description = "Library for ZStandard random access";
2323 platforms = platforms.all;
pkgs/development/libraries/lief/default.nix+2−2
@@ -1,10 +1,10 @@
1−{ stdenv, fetchzip }:
1+{ lib, stdenv, fetchzip }:
22
33fetchzip {
44 url = "https://github.com/lief-project/LIEF/releases/download/0.9.0/LIEF-0.9.0-Linux.tar.gz";
55 sha256 = "1c47hwd00bp4mqd4p5b6xjfl89c3wwk9ccyc3a2gk658250g2la6";
66
7− meta = with stdenv.lib; {
7+ meta = with lib; {
88 description = "Library to Instrument Executable Formats";
99 homepage = "https://lief.quarkslab.com/";
1010 license = [ licenses.asl20 ];
pkgs/development/libraries/lightning/default.nix+3−3
@@ -1,6 +1,6 @@
1−{ stdenv, fetchurl, libopcodes }:
1+{ lib, stdenv, fetchurl, libopcodes }:
22
3−with stdenv.lib;
3+with lib;
44stdenv.mkDerivation rec {
55
66 pname = "lightning";
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
2727 '';
2828 maintainers = [ maintainers.AndersonTorres ];
2929 license = licenses.lgpl3Plus;
30− platforms = stdenv.lib.platforms.linux;
30+ platforms = lib.platforms.linux;
3131 };
3232}
pkgs/development/libraries/lime/default.nix+2−2
@@ -4,7 +4,7 @@
44, fetchFromGitLab
55, soci
66, sqlite
7−, stdenv
7+, lib, stdenv
88}:
99
1010stdenv.mkDerivation rec {
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 # Do not build static libraries
2727 cmakeFlags = [ "-DENABLE_STATIC=NO" ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "End-to-end encryption library for instant messaging";
3131 homepage = "http://www.linphone.org/technical-corner/lime";
3232 license = licenses.gpl3;
pkgs/development/libraries/linbox/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, autoreconfHook
44, givaro
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
5252 configureFlags = [
5353 "--with-blas-libs=-lblas"
5454 "--disable-optimization"
55− ] ++ stdenv.lib.optionals stdenv.isx86_64 [
55+ ] ++ lib.optionals stdenv.isx86_64 [
5656 # disable SIMD instructions (which are enabled *when available* by default)
5757 "--${if stdenv.hostPlatform.sse3Support then "enable" else "disable"}-sse3"
5858 "--${if stdenv.hostPlatform.ssse3Support then "enable" else "disable"}-ssse3"
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
6262 "--${if stdenv.hostPlatform.avx2Support then "enable" else "disable"}-avx2"
6363 "--${if stdenv.hostPlatform.fmaSupport then "enable" else "disable"}-fma"
6464 "--${if stdenv.hostPlatform.fma4Support then "enable" else "disable"}-fma4"
65− ] ++ stdenv.lib.optionals withSage [
65+ ] ++ lib.optionals withSage [
6666 "--enable-sage"
6767 ];
6868
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
7070
7171 enableParallelBuilding = true;
7272
73− meta = with stdenv.lib; {
73+ meta = with lib; {
7474 inherit version;
7575 description = "C++ library for exact, high-performance linear algebra";
7676 license = licenses.lgpl21Plus;
pkgs/development/libraries/linenoise-ng/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
44 pname = "linenoise-ng";
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
1616 meta = {
1717 homepage = "https://github.com/arangodb/linenoise-ng";
1818 description = "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters";
19− maintainers = with stdenv.lib.maintainers; [ cstrahan ];
20− platforms = stdenv.lib.platforms.all;
21− license = stdenv.lib.licenses.bsd3;
19+ maintainers = with lib.maintainers; [ cstrahan ];
20+ platforms = lib.platforms.all;
21+ license = lib.licenses.bsd3;
2222 };
2323}
pkgs/development/libraries/linenoise/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation {
44 pname = "linenoise";
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
2323 meta = {
2424 homepage = "https://github.com/antirez/linenoise";
2525 description = "A minimal, zero-config, BSD licensed, readline replacement";
26− maintainers = with stdenv.lib.maintainers; [ mpsyco ];
27− platforms = stdenv.lib.platforms.unix;
28− license = stdenv.lib.licenses.bsd2;
26+ maintainers = with lib.maintainers; [ mpsyco ];
27+ platforms = lib.platforms.unix;
28+ license = lib.licenses.bsd2;
2929 };
3030}
pkgs/development/libraries/liquid-dsp/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchFromGitHub, autoreconfHook }:
1+{lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation {
44 pname = "liquid-dsp";
@@ -16,8 +16,8 @@ stdenv.mkDerivation {
1616 meta = {
1717 homepage = "https://liquidsdr.org/";
1818 description = "Digital signal processing library for software-defined radios";
19− license = stdenv.lib.licenses.mit;
20− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.mit;
20+ platforms = lib.platforms.unix;
2121 };
2222
2323}
pkgs/development/libraries/liquidfun/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, requireFile, cmake, libGLU, libGL, libX11, libXi }:
1+{ lib, stdenv, requireFile, cmake, libGLU, libGL, libX11, libXi }:
22
33let
44 sourceInfo = rec {
@@ -36,13 +36,13 @@ stdenv.mkDerivation {
3636
3737 meta = {
3838 description = "2D physics engine based on Box2D";
39− maintainers = with stdenv.lib.maintainers;
39+ maintainers = with lib.maintainers;
4040 [
4141 qknight
4242 ];
43− platforms = stdenv.lib.platforms.linux;
43+ platforms = lib.platforms.linux;
4444 hydraPlatforms = [];
45− license = stdenv.lib.licenses.bsd2;
45+ license = lib.licenses.bsd2;
4646 homepage = "https://google.github.io/liquidfun/";
4747 };
4848}
pkgs/development/libraries/lirc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, autoreconfHook, pkg-config, help2man, python3,
1+{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, pkg-config, help2man, python3,
22 alsaLib, xlibsWrapper, libxslt, systemd, libusb-compat-0_1, libftdi1 }:
33
44stdenv.mkDerivation rec {
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 "localstatedir=$TMPDIR"
4949 ];
5050
51− meta = with stdenv.lib; {
51+ meta = with lib; {
5252 description = "Allows to receive and send infrared signals";
5353 homepage = "https://www.lirc.org/";
5454 license = licenses.gpl2;
pkgs/development/libraries/live555/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 sed \
1919 -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \
2020 -i config.linux
21− '' + stdenv.lib.optionalString (stdenv ? glibc) ''
21+ '' + lib.optionalString (stdenv ? glibc) ''
2222 substituteInPlace liveMedia/include/Locale.hh \
2323 --replace '<xlocale.h>' '<locale.h>'
2424 '';
pkgs/development/libraries/lmdb/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit }:
1+{ lib, stdenv, fetchgit }:
22
33stdenv.mkDerivation rec {
44 pname = "lmdb";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 "CC=${stdenv.cc.targetPrefix}cc"
2323 "AR=${stdenv.cc.targetPrefix}ar"
2424 ]
25− ++ stdenv.lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/liblmdb.so";
25+ ++ lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/liblmdb.so";
2626
2727 doCheck = true;
2828 checkPhase = "make test";
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
4343 EOF
4444 '';
4545
46− meta = with stdenv.lib; {
46+ meta = with lib; {
4747 description = "Lightning memory-mapped database";
4848 longDescription = ''
4949 LMDB is an ultra-fast, ultra-compact key-value embedded data store
pkgs/development/libraries/lmdbxx/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, lmdb }:
44
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919 meta = {
2020 homepage = "https://github.com/drycpp/lmdbxx#readme";
2121 description = "C++11 wrapper for the LMDB embedded B+ tree database library";
22− license = stdenv.lib.licenses.unlicense;
23− maintainers = with stdenv.lib.maintainers; [ fgaz ];
22+ license = lib.licenses.unlicense;
23+ maintainers = with lib.maintainers; [ fgaz ];
2424 };
2525}
2626
pkgs/development/libraries/log4cplus/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33let
44 name = "log4cplus-2.0.5";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414 meta = {
1515 homepage = "http://log4cplus.sourceforge.net/";
1616 description = "A port the log4j library from Java to C++";
17− license = stdenv.lib.licenses.asl20;
18− platforms = stdenv.lib.platforms.unix;
17+ license = lib.licenses.asl20;
18+ platforms = lib.platforms.unix;
1919 };
2020}
pkgs/development/libraries/log4cpp/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "log4cpp-1.1.3";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010
1111 enableParallelBuilding = true;
1212
13− meta = with stdenv.lib; {
13+ meta = with lib; {
1414 homepage = "http://log4cpp.sourceforge.net/";
1515 description = "A logging framework for C++ patterned after Apache log4j";
1616 license = licenses.lgpl21Plus;
pkgs/development/libraries/log4cxx/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libtool, libxml2, cppunit, boost
1+{ lib, stdenv, fetchurl, libtool, libxml2, cppunit, boost
22, apr, aprutil, db, expat
33}:
44
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 }' src/examples/cpp/console.cpp \
2626 src/main/cpp/inputstreamreader.cpp \
2727 src/main/cpp/socketoutputstream.cpp
28− '' + stdenv.lib.optionalString stdenv.isDarwin ''
28+ '' + lib.optionalString stdenv.isDarwin ''
2929 sed -i 's/namespace std { class locale; }/#include <locale>/' src/main/include/log4cxx/helpers/simpledateformat.h
3030 sed -i 's/\(#include <cctype>\)/\1\n#include <cstdlib>/' src/main/cpp/stringhelper.cpp
3131 '';
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 meta = {
3737 homepage = "https://logging.apache.org/log4cxx/index.html";
3838 description = "A logging framework for C++ patterned after Apache log4j";
39− license = stdenv.lib.licenses.asl20;
40− platforms = stdenv.lib.platforms.unix;
39+ license = lib.licenses.asl20;
40+ platforms = lib.platforms.unix;
4141 };
4242}
pkgs/development/libraries/log4shib/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, autoreconfHook }:
1+{ lib, stdenv, fetchgit, autoreconfHook }:
22
33stdenv.mkDerivation {
44 pname = "log4shib";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212
1313 nativeBuildInputs = [ autoreconfHook ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "A forked version of log4cpp that has been created for the Shibboleth project";
1717 maintainers = [ maintainers.jammerful ];
1818 license = licenses.lgpl21;
pkgs/development/libraries/loki/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "loki";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 enableParallelBuilding = true;
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "A C++ library of designs, containing flexible implementations of common design patterns and idioms";
2121 homepage = "http://loki-lib.sourceforge.net";
2222 license = licenses.mit;
pkgs/development/libraries/loudmouth/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib }:
1+{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib }:
22
33stdenv.mkDerivation rec {
44 version = "1.5.3";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [ pkg-config ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 description = "A lightweight C library for the Jabber protocol";
2323 platforms = platforms.linux;
2424 downloadPage = "http://mcabber.com/files/loudmouth/";
pkgs/development/libraries/lrdf/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ config, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
1+{ config, lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
22, librdf_raptor2, ladspaH, openssl, zlib
33, doCheck ? config.doCheckByDefault or false, ladspaPlugins
44}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 sha256 = "00wzkfb8y0aqd519ypz067cq099dpc89w69zw8ln39vl6f9x2pd4";
1515 };
1616
17− postPatch = stdenv.lib.optionalString doCheck ''
17+ postPatch = lib.optionalString doCheck ''
1818 sed -i -e 's:usr/local:${ladspaPlugins}:' examples/{instances,remove}_test.c
1919 '';
2020
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
2929 meta = {
3030 description = "Lightweight RDF library with special support for LADSPA plugins";
3131 homepage = "https://sourceforge.net/projects/lrdf/";
32− license = stdenv.lib.licenses.gpl2;
33− maintainers = [ stdenv.lib.maintainers.marcweber ];
34− platforms = stdenv.lib.platforms.linux;
32+ license = lib.licenses.gpl2;
33+ maintainers = [ lib.maintainers.marcweber ];
34+ platforms = lib.platforms.linux;
3535 };
3636}
pkgs/development/libraries/luabind/default.nix+3−3
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, boost-build, lua, boost}:
1+{lib, stdenv, fetchurl, boost-build, lua, boost}:
22
33stdenv.mkDerivation {
44 name = "luabind-0.9.1";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525 meta = {
2626 homepage = "https://github.com/luabind/luabind";
2727 description = "A library that helps you create bindings between C++ and Lua";
28− license = stdenv.lib.licenses.mit;
29− platforms = stdenv.lib.platforms.linux;
28+ license = lib.licenses.mit;
29+ platforms = lib.platforms.linux;
3030 };
3131}
pkgs/development/libraries/lucene++/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, boost, gtest }:
1+{ lib, stdenv, fetchurl, cmake, boost, gtest }:
22
33stdenv.mkDerivation rec {
44 pname = "lucene++";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 meta = {
2727 description = "C++ port of the popular Java Lucene search engine";
2828 homepage = "https://github.com/luceneplusplus/LucenePlusPlus";
29− license = with stdenv.lib.licenses; [ asl20 lgpl3Plus ];
30− platforms = stdenv.lib.platforms.linux;
29+ license = with lib.licenses; [ asl20 lgpl3Plus ];
30+ platforms = lib.platforms.linux;
3131 };
3232}
pkgs/development/libraries/lyra/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, installShellFiles, meson, ninja }:
1+{ lib, stdenv, fetchFromGitHub, installShellFiles, meson, ninja }:
22
33stdenv.mkDerivation rec {
44 pname = "lyra";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 cp -R $src/include/* $out/include
2323 '';
2424
25− meta = with stdenv.lib; {
25+ meta = with lib; {
2626 homepage = "https://github.com/bfgroup/Lyra";
2727 description = "A simple to use, composable, command line parser for C++ 11 and beyond";
2828 platforms = platforms.linux;
pkgs/development/libraries/lzo/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{lib, stdenv, fetchurl}:
22
33stdenv.mkDerivation rec {
44 name = "lzo-2.10";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 doCheck = true; # not cross;
1616
17− meta = with stdenv.lib; {
17+ meta = with lib; {
1818 description = "Real-time data (de)compression library";
1919 longDescription = ''
2020 LZO is a portable lossless data compression library written in ANSI C.
pkgs/development/libraries/mac/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, yasm }:
1+{ lib, stdenv, fetchurl, fetchpatch, yasm }:
22
33stdenv.mkDerivation rec {
44 pname = "mac";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 nativeBuildInputs = [ yasm ];
2828
29− meta = with stdenv.lib; {
29+ meta = with lib; {
3030 description = "APE codec and decompressor";
3131 homepage = "http://www.deb-multimedia.org/dists/testing/main/binary-amd64/package/monkeys-audio.php";
3232 license = licenses.unfreeRedistributable;
pkgs/development/libraries/malcontent/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitLab
33, fetchpatch
44, meson
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
9090 };
9191 };
9292
93− meta = with stdenv.lib; {
93+ meta = with lib; {
9494 # We need to install Polkit & AccountsService data files in `out`
9595 # but `buildEnv` only uses `bin` when both `bin` and `out` are present.
9696 outputsToInstall = [ "bin" "out" "man" ];
pkgs/development/libraries/malcontent/ui.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, meson
33, ninja
44, pkg-config
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
6464 "-Dui=enabled"
6565 ];
6666
67− meta = with stdenv.lib; {
67+ meta = with lib; {
6868 description = "UI components for parental controls library";
6969 homepage = "https://gitlab.freedesktop.org/pwithnall/malcontent";
7070 license = licenses.lgpl21Plus;
pkgs/development/libraries/mapnik/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip
1+{ lib, stdenv, fetchzip
22, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
33, libwebp, libxml2, proj, python, sqlite, zlib
44
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
6363 "XML2_LIBS=${libxml2.out}/lib"
6464 ];
6565
66− meta = with stdenv.lib; {
66+ meta = with lib; {
6767 description = "An open source toolkit for developing mapping applications";
6868 homepage = "https://mapnik.org";
6969 maintainers = with maintainers; [ hrdinka ];
pkgs/development/libraries/marisa/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
22
33stdenv.mkDerivation rec {
44 pname = "marisa";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ autoreconfHook ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 homepage = "https://github.com/s-yata/marisa-trie";
2020 description = "Static and space-efficient trie data structure library";
2121 license = licenses.bsd3;
pkgs/development/libraries/marl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, fetchFromGitHub }:
1+{ lib, stdenv, cmake, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "marl";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 # Turn on the flag to install after building the library.
1717 cmakeFlags = ["-DMARL_INSTALL=ON"];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 homepage = "https://github.com/google/marl";
2121 description = "A hybrid thread / fiber task scheduler written in C++ 11";
2222 platforms = platforms.all;
pkgs/development/libraries/martyr/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, ant, jdk}:
1+{lib, stdenv, fetchurl, ant, jdk}:
22
33stdenv.mkDerivation rec {
44 pname = "martyr";
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
2020 meta = {
2121 description = "Java framework around the IRC protocol to allow application writers easy manipulation of the protocol and client state";
2222 homepage = "http://martyr.sourceforge.net/";
23− license = stdenv.lib.licenses.lgpl21;
23+ license = lib.licenses.lgpl21;
2424 };
2525}
pkgs/development/libraries/matio/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22stdenv.mkDerivation rec {
33 name = "matio-1.5.19";
44 src = fetchurl {
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
66 sha256 = "0vr8c1mz1k6mz0sgh6n3scl5c3a71iqmy5fnydrgq504icj4vym4";
77 };
88
9− meta = with stdenv.lib; {
9+ meta = with lib; {
1010 description = "A C library for reading and writing Matlab MAT files";
1111 license = licenses.bsd2;
1212 platforms = platforms.all;
pkgs/development/libraries/mbedtls/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33
44, cmake
@@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
2323
2424 nativeBuildInputs = [ cmake ninja perl python ];
2525
26− postConfigure = stdenv.lib.optionals enableThreading ''
26+ postConfigure = lib.optionals enableThreading ''
2727 perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer
2828 perl scripts/config.pl set MBEDTLS_THREADING_PTHREAD # POSIX thread wrapper layer for the threading layer.
2929 '';
3030
3131 cmakeFlags = [ "-DUSE_SHARED_MBEDTLS_LIBRARY=on" ];
3232
33− meta = with stdenv.lib; {
33+ meta = with lib; {
3434 homepage = "https://tls.mbed.org/";
3535 description = "Portable cryptographic and TLS library, formerly known as PolarSSL";
3636 license = licenses.asl20;
pkgs/development/libraries/mdds/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boost, llvmPackages }:
1+{ lib, stdenv, fetchurl, boost, llvmPackages }:
22
33stdenv.mkDerivation rec {
44 pname = "mdds";
@@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
1414 cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
1515 '';
1616
17− buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
17+ buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
1818
1919 checkInputs = [ boost ];
2020
21− meta = with stdenv.lib; {
21+ meta = with lib; {
2222 inherit version;
2323 homepage = "https://gitlab.com/mdds/mdds";
2424 description = "A collection of multi-dimensional data structure and indexing algorithm";
pkgs/development/libraries/medfile/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, hdf5 }:
1+{ lib, stdenv, fetchurl, cmake, hdf5 }:
22
33stdenv.mkDerivation rec {
44 pname = "medfile";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 postInstall = "rm -r $out/bin/testc";
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Library to read and write MED files";
2121 homepage = "http://salome-platform.org/";
2222 platforms = platforms.linux;
pkgs/development/libraries/mediastreamer/default.nix+2−2
@@ -28,7 +28,7 @@
2828, SDL
2929, speex
3030, srtp
31−, stdenv
31+, lib, stdenv
3232}:
3333
3434stdenv.mkDerivation rec {
@@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
9999 ];
100100 NIX_LDFLAGS = "-lXext";
101101
102− meta = with stdenv.lib; {
102+ meta = with lib; {
103103 description = "A powerful and lightweight streaming engine specialized for voice/video telephony applications";
104104 homepage = "http://www.linphone.org/technical-corner/mediastreamer2";
105105 license = licenses.gpl3;
pkgs/development/libraries/mediastreamer/msopenh264.nix+2−2
@@ -5,7 +5,7 @@
55, mediastreamer
66, openh264
77, pkg-config
8−, stdenv
8+, lib, stdenv
99}:
1010
1111stdenv.mkDerivation rec {
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939 cp src/libmsopenh264.so $out/lib/mediastreamer/plugins/
4040 '';
4141
42− meta = with stdenv.lib; {
42+ meta = with lib; {
4343 description = "H.264 encoder/decoder plugin for mediastreamer2";
4444 homepage = "https://www.linphone.org/technical-corner/mediastreamer2";
4545 license = licenses.gpl2;
pkgs/development/libraries/menu-cache/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, glib, pkg-config, libfm-extra }:
1+{ lib, stdenv, fetchurl, glib, pkg-config, libfm-extra }:
22
33let name = "menu-cache-1.1.0";
44in
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 buildInputs = [ glib libfm-extra ];
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "Library to read freedesktop.org menu files";
1818 homepage = "https://blog.lxde.org/tag/menu-cache/";
1919 license = licenses.gpl2Plus;
pkgs/development/libraries/mesa-glu/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libGL, ApplicationServices }:
1+{ lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices }:
22
33stdenv.mkDerivation rec {
44 pname = "glu";
@@ -11,15 +11,15 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [ pkg-config ];
1313 propagatedBuildInputs = [ libGL ]
14− ++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
14+ ++ lib.optional stdenv.isDarwin ApplicationServices;
1515
1616 outputs = [ "out" "dev" ];
1717
1818 meta = {
1919 description = "OpenGL utility library";
2020 homepage = "https://cgit.freedesktop.org/mesa/glu/";
21− license = stdenv.lib.licenses.sgi-b-20;
22− platforms = stdenv.lib.platforms.unix;
21+ license = lib.licenses.sgi-b-20;
22+ platforms = lib.platforms.unix;
2323 broken = stdenv.hostPlatform.isAndroid;
2424 };
2525}
pkgs/development/libraries/mesa/default.nix+2−2
@@ -26,7 +26,7 @@
2626 - libOSMesa is in $osmesa (~4 MB)
2727*/
2828
29−with stdenv.lib;
29+with lib;
3030
3131let
3232 # Release calendar: https://www.mesa3d.org/release-calendar.html
@@ -207,7 +207,7 @@ stdenv.mkDerivation {
207207 done
208208 '';
209209
210− NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-fno-common";
210+ NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-fno-common";
211211
212212 passthru = {
213213 inherit libdrm;
pkgs/development/libraries/metal/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake }:
1+{ lib, stdenv, fetchFromGitHub, cmake }:
22stdenv.mkDerivation rec {
33 pname = "metal";
44 version = "2.1.1";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ cmake ];
1414
15− meta = with stdenv.lib; {
15+ meta = with lib; {
1616 description = "Single-header C++11 library designed to make you love template metaprogramming";
1717 homepage = "https://github.com/brunocodutra/metal";
1818 license = licenses.mit;
pkgs/development/libraries/microsoft_gsl/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, catch, cmake
1+{ lib, stdenv, fetchFromGitHub, catch, cmake
22}:
33
44let
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 mv ../include/ $out/
2929 '';
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "C++ Core Guideline support library";
3333 longDescription = ''
3434 The Guideline Support Library (GSL) contains functions and types that are suggested for
pkgs/development/libraries/mimalloc/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, ninja
1+{ lib, stdenv, fetchFromGitHub, cmake, ninja
22, secureBuild ? false
33}:
44
@@ -17,10 +17,10 @@ stdenv.mkDerivation rec {
1717 };
1818
1919 nativeBuildInputs = [ cmake ninja ];
20− cmakeFlags = stdenv.lib.optional secureBuild [ "-DMI_SECURE=ON" ];
20+ cmakeFlags = lib.optional secureBuild [ "-DMI_SECURE=ON" ];
2121
2222 postInstall = let
23− rel = stdenv.lib.versions.majorMinor version;
23+ rel = lib.versions.majorMinor version;
2424 in ''
2525 # first, install headers, that's easy
2626 mkdir -p $dev
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646
4747 outputs = [ "out" "dev" ];
4848
49− meta = with stdenv.lib; {
49+ meta = with lib; {
5050 description = "Compact, fast, general-purpose memory allocator";
5151 homepage = "https://github.com/microsoft/mimalloc";
5252 license = licenses.bsd2;
pkgs/development/libraries/mimetic/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cutee }:
1+{ lib, stdenv, fetchurl, cutee }:
22
33stdenv.mkDerivation rec {
44 pname = "mimetic";
@@ -11,9 +11,9 @@ stdenv.mkDerivation rec {
1111
1212 buildInputs = [ cutee ];
1313
14− patches = stdenv.lib.optional stdenv.isAarch64 ./narrowing.patch;
14+ patches = lib.optional stdenv.isAarch64 ./narrowing.patch;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "MIME handling library";
1818 homepage = "http://www.codesink.org/mimetic_mime_library.html";
1919 license = licenses.mit;
pkgs/development/libraries/miniball/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation {
44 pname = "miniball";
@@ -19,8 +19,8 @@ stdenv.mkDerivation {
1919 meta = {
2020 description = "Smallest Enclosing Balls of Points";
2121 homepage = "https://www.inf.ethz.ch/personal/gaertner/miniball.html";
22− license = stdenv.lib.licenses.gpl3;
23− maintainers = [ stdenv.lib.maintainers.erikryb ];
24− platforms = stdenv.lib.platforms.unix;
22+ license = lib.licenses.gpl3;
23+ maintainers = [ lib.maintainers.erikryb ];
24+ platforms = lib.platforms.unix;
2525 };
2626}
pkgs/development/libraries/minixml/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub }:
1+{ lib, stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 pname = "mxml";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313
1414 enableParallelBuilding = true;
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "A small XML library";
1818 homepage = "https://www.msweet.org/mxml/";
1919 license = licenses.asl20;
pkgs/development/libraries/minizip/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, zlib, autoreconfHook }:
1+{ lib, stdenv, zlib, autoreconfHook }:
22
33stdenv.mkDerivation {
44 name = "minizip-${zlib.version}";
@@ -12,6 +12,6 @@ stdenv.mkDerivation {
1212 meta = {
1313 description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
1414 inherit (zlib.meta) license homepage;
15− platforms = stdenv.lib.platforms.unix;
15+ platforms = lib.platforms.unix;
1616 };
1717}
pkgs/development/libraries/minizip2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config, zlib, bzip2, xz, zstd, openssl }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, bzip2, xz, zstd, openssl }:
22
33stdenv.mkDerivation rec {
44 pname = "minizip";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 buildInputs = [ zlib bzip2 xz zstd openssl ];
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "Compression library implementing the deflate compression method found in gzip and PKZIP";
2525 homepage = "https://github.com/nmoinvaz/minizip";
2626 license = licenses.zlib;
pkgs/development/libraries/mlt/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, makeWrapper
1+{ lib, stdenv, fetchFromGitHub, makeWrapper
22, SDL, ffmpeg, frei0r, libjack2, libdv, libsamplerate, libexif
33, libvorbis, libxml2, movit, pkg-config, sox, fftw, opencv4, SDL2
44, gtk2, genericUpdater, common-updater-scripts, libebur128
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444 rev-prefix = "v";
4545 };
4646
47− meta = with stdenv.lib; {
47+ meta = with lib; {
4848 description = "Open source multimedia framework, designed for television broadcasting";
4949 homepage = "https://www.mltframework.org";
5050 license = licenses.gpl3;
pkgs/development/libraries/mlt/qt-5.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchFromGitHub
33, SDL
44, ffmpeg
@@ -23,7 +23,7 @@
2323, mkDerivation
2424, which
2525}:
26−let inherit (stdenv.lib) getDev; in
26+let inherit (lib) getDev; in
2727mkDerivation rec {
2828 pname = "mlt";
2929 version = "6.22.1";
@@ -102,7 +102,7 @@ mkDerivation rec {
102102 rev-prefix = "v";
103103 };
104104
105− meta = with stdenv.lib; {
105+ meta = with lib; {
106106 description = "Open source multimedia framework, designed for television broadcasting";
107107 homepage = "https://www.mltframework.org/";
108108 license = licenses.gpl3;
pkgs/development/libraries/mm-common/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv
1+{ lib, stdenv
22, fetchurl
33, gnome3
44, meson
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 version = "1.0.2";
1212
1313 src = fetchurl {
14− url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
14+ url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
1515 sha256 = "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2";
1616 };
1717
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 };
2929 };
3030
31− meta = with stdenv.lib; {
31+ meta = with lib; {
3232 description = "Common build files of GLib/GTK C++ bindings";
3333 longDescription = ''
3434 The mm-common module provides the build infrastructure and utilities
pkgs/development/libraries/mongoc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchzip, perl, pkg-config, libbson
1+{ lib, stdenv, fetchzip, perl, pkg-config, libbson
22, openssl, which, zlib, snappy
33}:
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 enableParallelBuilding = true;
1919
20− meta = with stdenv.lib; {
20+ meta = with lib; {
2121 description = "The official C client library for MongoDB";
2222 homepage = "https://github.com/mongodb/mongo-c-driver";
2323 license = licenses.asl20;
pkgs/development/libraries/mono-addins/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mono4, gtk-sharp-2_0 }:
1+{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mono4, gtk-sharp-2_0 }:
22
33stdenv.mkDerivation rec {
44 pname = "mono-addins";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919
2020 dontStrip = true;
2121
22− meta = with stdenv.lib; {
22+ meta = with lib; {
2323 homepage = "https://www.mono-project.com/archived/monoaddins/";
2424 description = "A generic framework for creating extensible applications";
2525 longDescription = ''
pkgs/development/libraries/motif/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkg-config, libtool
1+{ lib, stdenv, fetchurl, pkg-config, libtool
22, xlibsWrapper, xbitmaps, libXrender, libXmu, libXt
33, expat, libjpeg, libpng, libiconv
44, flex
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 prePatch = ''
3434 rm lib/Xm/Xm.h
35− '' + stdenv.lib.optionalString (!demoSupport) ''
35+ '' + lib.optionalString (!demoSupport) ''
3636 sed '/^SUBDIRS =,^$/s/\<demos\>//' -i Makefile.{am,in}
3737 '';
3838
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
4141 ./Add-X.Org-to-bindings-file.patch
4242 ];
4343
44− meta = with stdenv.lib; {
44+ meta = with lib; {
4545 homepage = "https://motif.ics.com";
4646 description = "Unix standard widget-toolkit and window-manager";
4747 platforms = with platforms; linux ++ darwin;
pkgs/development/libraries/movit/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, SDL2, eigen, epoxy, fftw, gtest, pkg-config }:
1+{ lib, stdenv, fetchurl, SDL2, eigen, epoxy, fftw, gtest, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "movit";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 enableParallelBuilding = true;
2222
23− meta = with stdenv.lib; {
23+ meta = with lib; {
2424 description = "High-performance, high-quality video filters for the GPU";
2525 homepage = "https://movit.sesse.net";
2626 license = licenses.gpl2Plus;
pkgs/development/libraries/mp4v2/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/libmp4v2-c++11.patch?id=203f5a72bc97ffe089b424c47b07dd9eaea35713";
2020 sha256 = "0sbn0il7lmk77yrjyb4f0a3z3h8gsmdkscvz5n9hmrrrhrwf672w";
2121 })
22− ] ++ stdenv.lib.optionals stdenv.cc.isClang [
22+ ] ++ lib.optionals stdenv.cc.isClang [
2323 # unbreak build with Clang≥6 (C++14 by default). Based on https://reviews.freebsd.org/rP458678
2424 ./fix-build-clang.patch
2525 ];
pkgs/development/libraries/mpfi/default.nix+4−4
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, mpfr}:
1+{lib, stdenv, fetchurl, mpfr}:
22stdenv.mkDerivation rec {
33 pname = "mpfi";
44 version = "1.5.3";
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
1515 inherit version;
1616 description = ''A multiple precision interval arithmetic library based on MPFR'';
1717 homepage = "https://gforge.inria.fr/projects/mpfi/";
18− license = stdenv.lib.licenses.lgpl21Plus;
19− maintainers = [stdenv.lib.maintainers.raskin];
20− platforms = stdenv.lib.platforms.unix;
18+ license = lib.licenses.lgpl21Plus;
19+ maintainers = [lib.maintainers.raskin];
20+ platforms = lib.platforms.unix;
2121 };
2222}
pkgs/development/libraries/mpfr/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gmp }:
1+{ lib, stdenv, fetchurl, gmp }:
22
33# Note: this package is used for bootstrapping fetchurl, and thus
44# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
2323 propagatedBuildInputs = [ gmp ];
2424
2525 configureFlags =
26− stdenv.lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
27− stdenv.lib.optional stdenv.hostPlatform.is64bit "--with-pic";
26+ lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
27+ lib.optional stdenv.hostPlatform.is64bit "--with-pic";
2828
2929 doCheck = true; # not cross;
3030
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
4646 floating-point arithmetic (53-bit mantissa).
4747 '';
4848
49− license = stdenv.lib.licenses.lgpl2Plus;
49+ license = lib.licenses.lgpl2Plus;
5050
5151 maintainers = [ ];
52− platforms = stdenv.lib.platforms.all;
52+ platforms = lib.platforms.all;
5353 };
5454}
pkgs/development/libraries/mpich/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, perl, gfortran
1+{ lib, stdenv, fetchurl, perl, gfortran
22, openssh, hwloc
33} :
44
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 sed -i 's:CXX="g++":CXX=${stdenv.cc}/bin/g++:' $out/bin/mpicxx
2929 sed -i 's:FC="gfortran":FC=${gfortran}/bin/gfortran:' $out/bin/mpifort
3030 ''
31− + stdenv.lib.optionalString (!stdenv.isDarwin) ''
31+ + lib.optionalString (!stdenv.isDarwin) ''
3232 # /tmp/nix-build... ends up in the RPATH, fix it manually
3333 for entry in $out/bin/mpichversion $out/bin/mpivars; do
3434 echo "fix rpath: $entry"
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 done
3737 '';
3838
39− meta = with stdenv.lib; {
39+ meta = with lib; {
4040 description = "Implementation of the Message Passing Interface (MPI) standard";
4141
4242 longDescription = ''
pkgs/development/libraries/mpir/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, m4, which, yasm }:
1+{ lib, stdenv, fetchurl, m4, which, yasm }:
22
33stdenv.mkDerivation rec {
44 pname = "mpir";
@@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
1616 meta = {
1717 inherit version;
1818 description = ''A highly optimised library for bignum arithmetic forked from GMP'';
19− license = stdenv.lib.licenses.lgpl3Plus;
20− maintainers = [stdenv.lib.maintainers.raskin];
21− platforms = stdenv.lib.platforms.unix;
19+ license = lib.licenses.lgpl3Plus;
20+ maintainers = [lib.maintainers.raskin];
21+ platforms = lib.platforms.unix;
2222 downloadPage = "http://mpir.org/downloads.html";
2323 homepage = "http://mpir.org/";
2424 updateWalker = true;
pkgs/development/libraries/mps/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, sqlite }:
1+{ lib, stdenv, fetchurl, autoreconfHook, sqlite }:
22
33stdenv.mkDerivation rec {
44 pname = "mps";
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
2323 meta = {
2424 description = "A flexible memory management and garbage collection library";
2525 homepage = "https://www.ravenbrook.com/project/mps";
26− license = stdenv.lib.licenses.sleepycat;
27− platforms = stdenv.lib.platforms.linux;
28− maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
26+ license = lib.licenses.sleepycat;
27+ platforms = lib.platforms.linux;
28+ maintainers = [ lib.maintainers.thoughtpolice ];
2929 };
3030}
pkgs/development/libraries/msgpack/generic.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, cmake
1+{ lib, stdenv, cmake
22, version, src, patches ? [ ]
33, ...
44}:
@@ -11,9 +11,9 @@ stdenv.mkDerivation {
1111
1212 nativeBuildInputs = [ cmake ];
1313
14− cmakeFlags = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DMSGPACK_BUILD_EXAMPLES=OFF";
14+ cmakeFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DMSGPACK_BUILD_EXAMPLES=OFF";
1515
16− meta = with stdenv.lib; {
16+ meta = with lib; {
1717 description = "MessagePack implementation for C and C++";
1818 homepage = "https://msgpack.org";
1919 license = licenses.asl20;
pkgs/development/libraries/msgpuck/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, pkg-config }:
1+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
22
33stdenv.mkDerivation rec {
44 pname = "msgpuck";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ cmake pkg-config ];
1717
18− meta = with stdenv.lib; {
18+ meta = with lib; {
1919 description = ''A simple and efficient MsgPack binary serialization library in a self-contained header file'';
2020 homepage = "https://github.com/rtsisyk/msgpuck";
2121 license = licenses.bsd2;
pkgs/development/libraries/msilbc/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ilbc, mediastreamer, pkg-config }:
1+{ lib, stdenv, fetchurl, ilbc, mediastreamer, pkg-config }:
22
33stdenv.mkDerivation rec {
44 name = "msilbc-2.1.2";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 "MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
1717 ];
1818
19− meta = with stdenv.lib; {
19+ meta = with lib; {
2020 description = "Mediastreamer plugin for the iLBC audio codec";
2121 platforms = platforms.linux;
2222 license = licenses.gpl2;
pkgs/development/libraries/mtdev/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ lib, stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 name = "mtdev-1.1.6";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "1q700h9dqcm3zl6c3gj0qxxjcx6ibw2c51wjijydhwdcm26v5mqm";
99 };
1010
11− meta = with stdenv.lib; {
11+ meta = with lib; {
1212 homepage = "http://bitmath.org/code/mtdev/";
1313 description = "Multitouch Protocol Translation Library";
1414 longDescription = ''
pkgs/development/libraries/mtxclient/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/multipart-parser-c/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/muparser/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/muparserx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mutest/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mygui/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mypaint-brushes/1.0.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mypaint-brushes/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mysocketw/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/mythes/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nanoflann/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/nanomsg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nco/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/ndi/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ndn-cxx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ndpi/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/neardal/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/neatvnc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/neon/0.29.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/neon/default.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/netcdf-cxx4/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/netcdf-fortran/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/netcdf/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/nettle/generic.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/networking-ts-cxx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/newt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nghttp2/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/ngt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nix-plugins/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/nlohmann_json/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nlopt/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/notify-sharp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/npapi-sdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/npth/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nspr/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/nss/3.44.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/nss/3.53.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/nss/default.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/nss_wrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ntbtls/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ntdb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ntirpc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ntrack/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nuraft/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nuspell/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nv-codec-headers/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/nvidia-optical-flow-sdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nvidia-texture-tools/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nvidia-video-sdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/oatpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ocl-icd/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ode/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/odpic/default.nix+7−7
This diff is too big to show here.
pkgs/development/libraries/ogdf/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ogre/1.10.x.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ogre/1.9.x.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ogre/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ogrepaged/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ois/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/olm/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/oniguruma/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opae/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openal-soft/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openbabel/2.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/openbabel/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/openbr/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/opencascade-occt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/opencascade/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opencl-clang/default.nix+8−7
This diff is too big to show here.
pkgs/development/libraries/opencl-clhpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opencl-headers/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opencollada/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/opencolorio/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/opencore-amr/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/opencsg/default.nix+7−7
This diff is too big to show here.
pkgs/development/libraries/openct/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opencv/3.x.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/opencv/4.x.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/opencv/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/opendbx/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/opendht/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opendkim/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opendmarc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openexr/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/openexrid-unstable/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openfst/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openfx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/opengrm-ngram/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openh264/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openhmd/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/openimagedenoise/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openjpeg/generic.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/openldap/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/openmpi/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/openpa/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/opensaml-cpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openscenegraph/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/openslp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openssl/chacha.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/openssl/default.nix+12−12
This diff is too big to show here.
pkgs/development/libraries/opentracing-cpp/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/openvdb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openwsman/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openxr-loader/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openzwave/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/oracle-instantclient/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/orcania/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ortp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/osip/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/osm-gps-map/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/p11-kit/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/packr/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/pagmo2/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pango/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/pangolin/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/pangomm/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/pangoxsl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/partio/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pc-ble-driver/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/pcaudiolib/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/pcg-c/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/pcl/default.nix+7−7
This diff is too big to show here.
pkgs/development/libraries/pcre/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/pcre2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/pdal/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pdf2xml/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/phash/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/phonetisaurus/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/phonon/backends/gstreamer.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/phonon/backends/vlc.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/phonon/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/physfs/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/physics/apfel/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/apfelgrid/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/applgrid/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/cernlib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/physics/fastjet-contrib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/fastjet/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/physics/fastnlo/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/physics/geant4/datasets.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/physics/geant4/default.nix+9−9
This diff is too big to show here.
pkgs/development/libraries/physics/hepmc2/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/hepmc3/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/physics/herwig/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/hoppet/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/lhapdf/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/physics/lhapdf/pdf_sets.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/mela/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/nlojet/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/physics/pythia/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/physics/qcdnum/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/physics/rivet/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/physics/thepeg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/physics/yoda/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/pipewire/0.2.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pipewire/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/pixman/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/pkcs11helper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pkger/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/plib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/plplot/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pmdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pmix/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/png++/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/pocketsphinx/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/poco/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/podofo/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/polkit-qt-1/qt-4.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/polkit-qt-1/qt-5.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/polkit/default.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/poly2tri-c/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/poppler/0.61.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/poppler/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/popt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/portaudio/default.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/portmidi/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/ppl/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/prison/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/proj-datumgrid/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/proj/5.2.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/proj/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/prometheus-client-c/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/prometheus-cpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/properties-cpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/protobuf/generic-v3.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/protobuf/generic.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/protobufc/generic.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/prototypejs/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/protozero/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pslib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/psol/generic.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/psqlodbc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pstreams/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/ptex/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pth/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/pupnp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pxlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/pyotherside/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/python-qt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qca-qt5/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qca2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qhull/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qimageblitz/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qjson/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qmlbox2d/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qmltermwidget/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/qoauth/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qpdf/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qrcodegen/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qrencode/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qrupdate/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/qscintilla/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/qt-3/default.nix+12−12
This diff is too big to show here.
pkgs/development/libraries/qt-4.x/4.8/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/qt-mobility/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtkeychain/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/qtpbfimageplugin/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qtscriptgenerator/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtstyleplugin-kvantum-qt4/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtstyleplugins/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtutilities/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qtwebkit-plugins/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/quazip/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/quesoglc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/quickder/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/quickfix/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qwt/6.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qwt/6_qt4.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/qwt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/qxt/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/rabbitmq-c/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rabbitmq-java-client/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/raft-canonical/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/randomx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rang/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/range-v3/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/rapidcheck/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rapidxml/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rarian/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/rdkafka/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/re2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/readline/5.x.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/readline/6.2.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/readline/6.3.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/readline/7.0.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/readline/8.0.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/readosm/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/redkite/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rep-gtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/resolv_wrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rlog/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/rlottie/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rnnoise-plugin/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/robin-map/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocclr/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocksdb/default.nix+8−8
This diff is too big to show here.
pkgs/development/libraries/rocm-comgr/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocm-device-libs/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocm-opencl-icd/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocm-opencl-runtime/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocm-runtime/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rocm-thunk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rote/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rttr/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/rubberband/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/safefile/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/sbc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sblim-sfcc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/schroedinger/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/benchmark/papi/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/EBTKS/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/bicgl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/bicpl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/bpp-core/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/elastix/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/biology/gifticlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/htslib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/mirtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/nifticlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/biology/oobicpl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/QuadProgpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/amd-blis/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/amd-libflame/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/science/math/arpack/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/science/math/blas/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/science/math/blis/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/brial/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/caffe2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/cholmod-extra/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/clblas/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/science/math/cliquer/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/clmagma/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/cudnn/generic.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/science/math/ecos/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/fenics/default.nix+12−12
This diff is too big to show here.
pkgs/development/libraries/science/math/flintqs/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/ipopt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/itpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/lcalc/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/science/math/libbraiding/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/libhomfly/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/liblapack/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/liblbfgs/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/libtorch/bin.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/science/math/lrs/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/science/math/m4ri/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/m4rie/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/magma/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/metis/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/mongoose/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/nccl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/openblas/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/science/math/openlibm/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/science/math/openspecfun/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/science/math/or-tools/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/osi/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/science/math/osqp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/parmetis/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/petsc/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/planarity/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/primesieve/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/rankwidth/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/rubiks/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/scalapack/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/scs/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/spooles/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/suitesparse/4.2.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/suitesparse/4.4.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/science/math/suitesparse/default.nix+7−7
This diff is too big to show here.
pkgs/development/libraries/science/math/superlu/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/sympow/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/tensorflow/bin.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/networking/ns-3/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/science/robotics/ispike/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/scmccid/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/scriptaculous/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/seasocks/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sentencepiece/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/serd/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/serf/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/serialdv/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sfml/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/sfsexp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/shapelib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/shhmsg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/shhopt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/shibboleth-sp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/silgraphite/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/silgraphite/graphite2.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/simdjson/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/simgear/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/simpleitk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/slang/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/slib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/smarty3-i18n/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/smarty3/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/smesh/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/smpeg/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/smpeg2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/snack/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/snappy/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/soci/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/socket_wrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sofia-sip/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sonic/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/soprano/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/soqt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sord/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/soxt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/spandsp/3.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/spandsp/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/sparsehash/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/spatialite-tools/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/spdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/spdlog/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/speech-tools/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/speechd/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/speex/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/speexdsp/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/sphinxbase/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/spice-gtk/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/spice-protocol/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/spice/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/spirv-headers/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sqlcipher/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/sqlite/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/sqlite/sqlar.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sqlite/tools.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/srt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/srtp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/startup-notification/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/stb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/stellarsolver/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/stfl/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/stlport/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/stxxl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/subunit/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sundials/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/svrcore/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/swiften/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/swiftshader/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sword/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sycl-info/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/symengine/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/szip/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/t1lib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tachyon/default.nix+10−10
This diff is too big to show here.
pkgs/development/libraries/taglib-extras/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/taglib-sharp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/taglib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/talloc/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/tbb/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tclap/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tcllib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tcltls/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tclx/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tdb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tdlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tecla/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/telepathy/farstream/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/telepathy/glib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/telepathy/qt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/template-glib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tepl/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/termbox/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tevent/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/theft/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/thrift/0.10.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/thrift/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/ti-rpc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ticpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tidyp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/timezonemap/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tinycbor/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tinyobjloader/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tinyxml-2/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tinyxml/2.6.2.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/tix/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tk/8.6.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tk/generic.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/tl-expected/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tnt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tntdb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tntnet/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tokyo-cabinet/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tokyo-tyrant/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/totem-pl-parser/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tracker-miners/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tracker/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tre/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tremor/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/trompeloeil/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tsocks/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/tweeny/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/twolame/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ubus/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/uci/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ucl/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/ucommon/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/ucx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/udns/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/udunits/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/uid_wrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/umockdev/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/unibilium/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/unicap/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/unicorn/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/unittest-cpp/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/unixODBC/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/unixODBCDrivers/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/unqlite/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/uri/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/uriparser/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/usbredir/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ustr/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/utf8cpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/utf8proc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/uthash/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/v8/5_x.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/v8/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/vaapi-intel-hybrid/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vaapi-intel/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/vaapi-vdpau/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vapoursynth-mvtools/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vapoursynth/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/vapoursynth/editor.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/vc/0.7.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vc/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vcg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vid-stab/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/vigra/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/virglrenderer/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vmime/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/vmmlib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/vo-amrwbenc/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/volume-key/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vrb/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vrpn/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vsqlite/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/vte/2.90.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vte/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vulkan-headers/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vulkan-loader/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vxl/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/waffle/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/wasilibc/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/wavpack/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/waylandpp/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/wcslib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/webkitgtk/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/webrtc-audio-processing/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/websocket++/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wildmidi/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wiredtiger/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/wlroots/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wolfssl/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/wt/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/wtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wxSVG/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wxsqlite3/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/wxsqliteplus/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wxwidgets/2.8/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/wxwidgets/2.9/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/wxwidgets/3.0/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/wxwidgets/3.0/mac.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wxwidgets/3.1/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/x264/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/x265/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/xalanc/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/xapian/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/xapian/tools/omega/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xavs/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/xbase/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xcb-imdkit/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xcb-util-cursor/HEAD.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xdg-dbus-proxy/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal-gtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal-wlr/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xed/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xercesc/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/xgboost/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/xine-lib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xlibs-wrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xlslib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xml-security-c/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/xml-tooling-c/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xmlrpc-c/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xmlsec/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/xsd/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/xvidcore/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xxHash/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/xylib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/yajl/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/yojimbo/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/yubico-pam/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zchunk/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/zeitgeist/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/zeroc-ice/3.6.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/zeroc-ice/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/zeromq/4.x.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/zimg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zimlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zlib/default.nix+16−16
This diff is too big to show here.
pkgs/development/libraries/zlog/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zmqpp/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zookeeper_mt/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/zxcvbn-c/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/zziplib/default.nix+2−2
This diff is too big to show here.