Merge staging into staging-next

+116 -85
+3 -3
doc/languages-frameworks/python.section.md
··· 496 496 497 497 ### Interpreters 498 498 499 - Versions 2.7, 3.5, 3.6 and 3.7 of the CPython interpreter are available as 500 - respectively `python27`, `python35`, `python36` and `python37`. The aliases 499 + Versions 2.7, 3.5, 3.6, 3.7 and 3.8 of the CPython interpreter are available as 500 + respectively `python27`, `python35`, `python36`, `python37` and `python38`. The aliases 501 501 `python2` and `python3` correspond to respectively `python27` and 502 - `python37`. The default interpreter, `python`, maps to `python2`. The PyPy 502 + `python38`. The default interpreter, `python`, maps to `python2`. The PyPy 503 503 interpreters compatible with Python 2.7 and 3 are available as `pypy27` and 504 504 `pypy3`, with aliases `pypy2` mapping to `pypy27` and `pypy` mapping to 505 505 `pypy2`. The Nix expressions for the interpreters can be
+8 -8
lib/systems/examples.nix
··· 170 170 iphone64 = { 171 171 config = "aarch64-apple-ios"; 172 172 # config = "aarch64-apple-darwin14"; 173 - sdkVer = "10.2"; 174 - xcodeVer = "8.2"; 173 + sdkVer = "12.4"; 174 + xcodeVer = "10.3"; 175 175 xcodePlatform = "iPhoneOS"; 176 176 useiOSPrebuilt = true; 177 177 platform = {}; ··· 180 180 iphone32 = { 181 181 config = "armv7a-apple-ios"; 182 182 # config = "arm-apple-darwin10"; 183 - sdkVer = "10.2"; 184 - xcodeVer = "8.2"; 183 + sdkVer = "12.4"; 184 + xcodeVer = "10.3"; 185 185 xcodePlatform = "iPhoneOS"; 186 186 useiOSPrebuilt = true; 187 187 platform = {}; ··· 190 190 iphone64-simulator = { 191 191 config = "x86_64-apple-ios"; 192 192 # config = "x86_64-apple-darwin14"; 193 - sdkVer = "10.2"; 194 - xcodeVer = "8.2"; 193 + sdkVer = "12.4"; 194 + xcodeVer = "10.3"; 195 195 xcodePlatform = "iPhoneSimulator"; 196 196 useiOSPrebuilt = true; 197 197 platform = {}; ··· 200 200 iphone32-simulator = { 201 201 config = "i686-apple-ios"; 202 202 # config = "i386-apple-darwin11"; 203 - sdkVer = "10.2"; 204 - xcodeVer = "8.2"; 203 + sdkVer = "12.4"; 204 + xcodeVer = "10.3"; 205 205 xcodePlatform = "iPhoneSimulator"; 206 206 useiOSPrebuilt = true; 207 207 platform = {};
+2 -2
pkgs/applications/audio/mda-lv2/default.nix
··· 1 - { stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python, wafHook }: 1 + { stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, wafHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mda-lv2"; ··· 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkgconfig wafHook ]; 13 - buildInputs = [ fftwSinglePrec lv2 python ]; 13 + buildInputs = [ fftwSinglePrec lv2 ]; 14 14 15 15 meta = with stdenv.lib; { 16 16 homepage = http://drobilla.net/software/mda-lv2/;
+2 -2
pkgs/applications/office/gnumeric/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, intltool, perlPackages 2 - , goffice, gnome3, wrapGAppsHook, gtk3, bison, pythonPackages 2 + , goffice, gnome3, wrapGAppsHook, gtk3, bison, python3Packages 3 3 , itstool 4 4 }: 5 5 6 6 let 7 - inherit (pythonPackages) python pygobject3; 7 + inherit (python3Packages) python pygobject3; 8 8 in stdenv.mkDerivation rec { 9 9 pname = "gnumeric"; 10 10 version = "1.12.46";
+9
pkgs/data/sgml+xml/stylesheets/xslt/docbook-xsl/default.nix
··· 22 22 stripLen = "1"; 23 23 }) 24 24 25 + # Fix reproducibility by respecting generate.consistent.ids in indexes 26 + # https://github.com/docbook/xslt10-stylesheets/pull/88 27 + # https://sourceforge.net/p/docbook/bugs/1385/ 28 + (fetchpatch { 29 + url = "https://github.com/docbook/xslt10-stylesheets/commit/07631601e6602bc49b8eac3aab9d2b35968d3e7a.patch"; 30 + sha256 = "0igfhcr6hzcydqsnjsd181h5yl3drjnrwdmxcybr236m8255vkq3"; 31 + stripLen = "1"; 32 + }) 33 + 25 34 # Add legacy sourceforge.net URIs to the catalog 26 35 (substituteAll { 27 36 src = ./catalog-legacy-uris.patch;
+1 -1
pkgs/development/compilers/dtc/default.nix
··· 1 1 { stdenv, lib, fetchgit, flex, bison, pkgconfig, which 2 - , pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform, python, swig 2 + , pythonSupport ? false, python, swig 3 3 }: 4 4 5 5 stdenv.mkDerivation rec {
+1 -1
pkgs/development/compilers/ghc/8.4.4.nix
··· 7 7 8 8 , libiconv ? null, ncurses 9 9 10 - , useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform) 10 + , useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform) || stdenv.targetPlatform.isiOS 11 11 , # LLVM is conceptually a run-time-only depedendency, but for 12 12 # non-x86, we need LLVM to bootstrap later stages, so it becomes a 13 13 # build-time dependency too.
+1 -1
pkgs/development/compilers/ghc/8.6.5.nix
··· 10 10 , # GHC can be built with system libffi or a bundled one. 11 11 libffi ? null 12 12 13 - , useLLVM ? !stdenv.targetPlatform.isx86 13 + , useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS 14 14 , # LLVM is conceptually a run-time-only depedendency, but for 15 15 # non-x86, we need LLVM to bootstrap later stages, so it becomes a 16 16 # build-time dependency too.
+1 -1
pkgs/development/compilers/ghc/8.8.1.nix
··· 10 10 , # GHC can be built with system libffi or a bundled one. 11 11 libffi ? null 12 12 13 - , useLLVM ? !stdenv.targetPlatform.isx86 13 + , useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS 14 14 , # LLVM is conceptually a run-time-only depedendency, but for 15 15 # non-x86, we need LLVM to bootstrap later stages, so it becomes a 16 16 # build-time dependency too.
+1 -1
pkgs/development/compilers/ghc/head.nix
··· 10 10 , enableDwarf ? !stdenv.targetPlatform.isDarwin && 11 11 !stdenv.targetPlatform.isWindows, elfutils # for DWARF support 12 12 13 - , useLLVM ? !stdenv.targetPlatform.isx86 13 + , useLLVM ? !stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isiOS 14 14 , # LLVM is conceptually a run-time-only depedendency, but for 15 15 # non-x86, we need LLVM to bootstrap later stages, so it becomes a 16 16 # build-time dependency too.
+2 -2
pkgs/development/libraries/double-conversion/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cmake, static ? false }: 1 + { stdenv, lib, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "double-conversion"; ··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 16 - cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ]; 16 + cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ]; 17 17 18 18 # Case sensitivity issue 19 19 preConfigure = lib.optionalString stdenv.isDarwin ''
+3 -1
pkgs/development/libraries/ffmpeg/generic.nix
··· 1 - { stdenv, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm 1 + { stdenv, buildPackages, fetchurl, pkgconfig, addOpenGLRunpath, perl, texinfo, yasm 2 2 , alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg 3 3 , libssh, libtheora, libva, libdrm, libvorbis, libvpx, lzma, libpulseaudio, soxr 4 4 , x264, x265, xvidcore, zlib, libopus, speex, nv-codec-headers, dav1d ··· 163 163 ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 164 164 "--cross-prefix=${stdenv.cc.targetPrefix}" 165 165 "--enable-cross-compile" 166 + "--pkg-config=pkg-config" # Override ffmpeg's ./configure assumption that pkg-config is prefixed by the architecture. (e.g. aarch64-unknown-linux-gnu-pkg-config) 166 167 ] ++ optional stdenv.cc.isClang "--cc=clang"); 167 168 169 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 168 170 nativeBuildInputs = [ addOpenGLRunpath perl pkgconfig texinfo yasm ]; 169 171 170 172 buildInputs = [
+5 -5
pkgs/development/libraries/fmt/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, enableShared ? true }: 1 + { stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "6.0.0"; ··· 17 17 18 18 cmakeFlags = [ 19 19 "-DFMT_TEST=TRUE" 20 - "-DBUILD_SHARED_LIBS=${if enableShared then "TRUE" else "FALSE"}" 20 + "-DBUILD_SHARED_LIBS=TRUE" 21 21 ]; 22 22 23 23 enableParallelBuilding = true; 24 24 25 25 doCheck = true; 26 26 # preCheckHook ensures the test binaries can find libfmt.so 27 - preCheck = if enableShared 28 - then "export LD_LIBRARY_PATH=\"$PWD\"" 29 - else ""; 27 + preCheck = '' 28 + export LD_LIBRARY_PATH="$PWD" 29 + ''; 30 30 31 31 meta = with stdenv.lib; { 32 32 description = "Small, safe and fast formatting library";
-2
pkgs/development/libraries/folks/default.nix
··· 21 21 , libsecret 22 22 , db 23 23 , python3 24 - , python 25 24 , readline 26 25 , gtk3 27 26 }: ··· 51 50 meson 52 51 ninja 53 52 pkgconfig 54 - python 55 53 python3 56 54 vala 57 55 ];
+2 -2
pkgs/development/libraries/glog/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, fetchpatch, cmake, perl, static ? false }: 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, cmake, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "glog"; ··· 22 22 23 23 nativeBuildInputs = [ cmake ]; 24 24 25 - cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ]; 25 + cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ]; 26 26 27 27 checkInputs = [ perl ]; 28 28 doCheck = false; # fails with "Mangled symbols (28 out of 380) found in demangle.dm"
+2 -4
pkgs/development/libraries/gstreamer/ges/default.nix
··· 4 4 , meson 5 5 , ninja 6 6 , pkgconfig 7 - , python 7 + , python3 8 8 , gst-plugins-base 9 9 , libxml2 10 10 , flex 11 - , perl 12 11 , gettext 13 12 , gobject-introspection 14 13 }: ··· 34 33 pkgconfig 35 34 gettext 36 35 gobject-introspection 37 - python 36 + python3 38 37 flex 39 - perl 40 38 ]; 41 39 42 40 buildInputs = [
+2 -2
pkgs/development/libraries/gstreamer/ugly/default.nix
··· 3 3 , meson 4 4 , ninja 5 5 , pkgconfig 6 - , python 6 + , python3 7 7 , gst-plugins-base 8 8 , orc 9 9 , gettext ··· 35 35 ninja 36 36 gettext 37 37 pkgconfig 38 - python 38 + python3 39 39 ]; 40 40 41 41 buildInputs = [
+2 -2
pkgs/development/libraries/gstreamer/validate/default.nix
··· 3 3 , pkgconfig 4 4 , gstreamer 5 5 , gst-plugins-base 6 - , python 6 + , python3 7 7 , gobject-introspection 8 8 , json-glib 9 9 }: ··· 25 25 ]; 26 26 27 27 buildInputs = [ 28 - python 28 + python3 29 29 json-glib 30 30 ]; 31 31
+2 -3
pkgs/development/libraries/gtest/default.nix
··· 1 - { stdenv, cmake, ninja, fetchFromGitHub 2 - , static ? false }: 1 + { stdenv, cmake, ninja, fetchFromGitHub }: 3 2 4 3 stdenv.mkDerivation rec { 5 4 pname = "gtest"; ··· 20 19 21 20 nativeBuildInputs = [ cmake ninja ]; 22 21 23 - cmakeFlags = stdenv.lib.optional (!static) "-DBUILD_SHARED_LIBS=ON"; 22 + cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ]; 24 23 25 24 meta = with stdenv.lib; { 26 25 description = "Google's framework for writing C++ tests";
+10 -8
pkgs/development/libraries/libplist/default.nix
··· 1 - { stdenv, autoreconfHook, fetchFromGitHub, pkgconfig, python2Packages, glib }: 1 + { stdenv, autoreconfHook, fetchFromGitHub, pkgconfig, enablePython ? false, python, glib }: 2 2 3 - let 4 - inherit (python2Packages) python cython; 5 - in 6 3 stdenv.mkDerivation rec { 7 4 pname = "libplist"; 8 5 version = "2019-04-04"; ··· 14 11 sha256 = "19yw80yblq29i2jx9yb7bx0lfychy9dncri3fk4as35kq5bf26i8"; 15 12 }; 16 13 17 - outputs = ["bin" "dev" "out" "py"]; 14 + outputs = ["bin" "dev" "out" ] ++ stdenv.lib.optional enablePython "py"; 18 15 19 16 nativeBuildInputs = [ 20 17 pkgconfig 21 - python 22 - cython 23 18 autoreconfHook 19 + ] ++ stdenv.lib.optionals enablePython [ 20 + python 21 + python.pkgs.cython 22 + ]; 23 + 24 + configureFlags = stdenv.lib.optionals (!enablePython) [ 25 + "--without-cython" 24 26 ]; 25 27 26 28 propagatedBuildInputs = [ glib ]; 27 29 28 - postFixup = '' 30 + postFixup = stdenv.lib.optionalString enablePython '' 29 31 moveToOutput "lib/${python.libPrefix}" "$py" 30 32 ''; 31 33
+2 -2
pkgs/development/libraries/libpwquality/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }: 1 + { stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libpwquality"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook perl ]; 15 - buildInputs = [ cracklib python ]; 15 + buildInputs = [ cracklib python3 ]; 16 16 17 17 meta = with lib; { 18 18 description = "Password quality checking and random password generation library";
+2 -2
pkgs/development/libraries/qt-5/modules/qtdeclarative.nix
··· 1 - { qtModule, lib, python2, qtbase, qtsvg }: 1 + { qtModule, lib, python3, qtbase, qtsvg }: 2 2 3 3 with lib; 4 4 5 5 qtModule { 6 6 name = "qtdeclarative"; 7 7 qtInputs = [ qtbase qtsvg ]; 8 - nativeBuildInputs = [ python2 ]; 8 + nativeBuildInputs = [ python3 ]; 9 9 outputs = [ "out" "dev" "bin" ]; 10 10 preConfigure = '' 11 11 NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
+2 -2
pkgs/development/python-modules/setuptools/default.nix
··· 13 13 14 14 let 15 15 pname = "setuptools"; 16 - version = "42.0.2"; 16 + version = "44.0.0"; 17 17 18 18 # Create an sdist of setuptools 19 19 sdist = stdenv.mkDerivation rec { ··· 23 23 owner = "pypa"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "1xqx3sha5ir40g1h15r7q063bcbl9bvh967vig574k3jgwxrz2ik"; 26 + sha256 = "0z3q0qinyp1rmnxkw3y5f6nbsxhqlfq5k7skfrqa6ymb3zr009y1"; 27 27 name = "${pname}-${version}-source"; 28 28 }; 29 29
+2 -2
pkgs/development/tools/build-managers/gn/default.nix
··· 1 1 { stdenv, lib, fetchgit, darwin, writeText 2 - , git, ninja, python2 }: 2 + , git, ninja, python3 }: 3 3 4 4 let 5 5 rev = "64b846c96daeb3eaf08e26d8a84d8451c6cb712b"; ··· 25 25 inherit rev sha256; 26 26 }; 27 27 28 - nativeBuildInputs = [ ninja python2 git ]; 28 + nativeBuildInputs = [ ninja python3 git ]; 29 29 buildInputs = lib.optionals stdenv.isDarwin (with darwin; with apple_sdk.frameworks; [ 30 30 libobjc 31 31 cctools
+8 -2
pkgs/os-specific/darwin/xcode/default.nix
··· 45 45 xcode_8_2 = requireXcode "8.2" "13nd1zsfqcp9hwp15hndr0rsbb8rgprrz7zr2ablj4697qca06m2"; 46 46 xcode_9_1 = requireXcode "9.1" "0ab1403wy84ys3yn26fj78cazhpnslmh3nzzp1wxib3mr1afjvic"; 47 47 xcode_9_2 = requireXcode "9.2" "1bgfgdp266cbbqf2axcflz92frzvhi0qw0jdkcw6r85kdpc8dj4c"; 48 - xcode_9_4 = requireXcode "9.4" "132l92c702lm8yrc62w4b8n2iap1qzqvklqzi39x9832ajysn6vw"; 48 + xcode_9_3 = requireXcode "9.3" "12m9kb4759s2ky42b1vf7y38qqxn2j99s99adzc6ljnmy26ii12w"; 49 + xcode_9_4 = requireXcode "9.4" "00az1cf9pm8zmvzs6yq04prdmxp8xi3ymxw94jjh4mh7hlbkhcb7"; 50 + xcode_9_4_1 = requireXcode "9.4.1" "0y9kphj86c14jl6aibv57sd7ln0w06vdhzm8ysp0s98rfgyq2lbw"; 49 51 xcode_10_1 = requireXcode "10.1" "1ssdbg4v8r11fjf4jl38pwyry2aia1qihbxyxapz0v0n5gfnp05v"; 50 - xcode = self."xcode_${lib.replaceStrings ["."] ["_"] (if stdenv.targetPlatform.useiOSPrebuilt then stdenv.targetPlatform.xcodeVer else "8.2")}"; 52 + xcode_10_2 = requireXcode "10.2" "1xzybl1gvb3q5qwlwchanzpws4sb70i3plf0vrzvlfdp2hsb3pg7"; 53 + xcode_10_2_1 = requireXcode "10.2.1" "11sdb54nr0x7kp987qq839x6k5gdx7vqdxjiy5xm5279n1n47bmg"; 54 + xcode_10_3 = requireXcode "10.3" "1i628vfn6zad81fsz3zpc6z15chhskvyp8qnajp2wnpzvrwl6ngb"; 55 + xcode_11 = requireXcode "11" "1r03j3kkp4blfp2kqpn538w3dx57ms930fj8apjkq6dk7fv3jcqh"; 56 + xcode = self."xcode_${lib.replaceStrings ["."] ["_"] (if stdenv.targetPlatform.useiOSPrebuilt then stdenv.targetPlatform.xcodeVer else "10.3")}"; 51 57 })
+2 -1
pkgs/os-specific/darwin/xcode/sdk-pkgs.nix
··· 7 7 , wrapCCWith 8 8 , buildIosSdk, targetIosSdkPkgs 9 9 , xcode 10 + , lib 10 11 }: 11 12 12 13 let ··· 48 49 tr '\n' ' ' < $out/nix-support/cc-cflags > cc-cflags.tmp 49 50 mv cc-cflags.tmp $out/nix-support/cc-cflags 50 51 echo "-target ${targetPlatform.config} -arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/cc-cflags 51 - echo "-isystem ${sdk}/usr/include -isystem ${sdk}/usr/include/c++/4.2.1/ -stdlib=libstdc++" >> $out/nix-support/cc-cflags 52 + echo "-isystem ${sdk}/usr/include${lib.optionalString (lib.versionAtLeast "10" sdk.version) " -isystem ${sdk}/usr/include/c++/4.2.1/ -stdlib=libstdc++"}" >> $out/nix-support/cc-cflags 52 53 '' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") '' 53 54 echo "-mios-simulator-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags 54 55 '' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") ''
+22 -2
pkgs/os-specific/linux/crda/default.nix
··· 1 - { stdenv, fetchurl, libgcrypt, libnl, pkgconfig, python2Packages, wireless-regdb }: 1 + { stdenv, fetchurl, fetchpatch, libgcrypt, libnl, pkgconfig, python3, wireless-regdb }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crda"; ··· 9 9 url = "http://kernel.org/pub/software/network/crda/crda-${version}.tar.xz"; 10 10 }; 11 11 12 + patches = [ 13 + # Switch to Python 3 14 + # https://lore.kernel.org/linux-wireless/1437542484-23409-1-git-send-email-ahmed.taahir@gmail.com/ 15 + (fetchpatch { 16 + url = "https://lore.kernel.org/linux-wireless/1437542484-23409-2-git-send-email-ahmed.taahir@gmail.com/raw"; 17 + sha256 = "0s2n340cgaasvg1k8g9v8xjrbh4y2mcgrhdmv97ja2fs8xjcjbf1"; 18 + }) 19 + (fetchpatch { 20 + url = "https://lore.kernel.org/linux-wireless/1437542484-23409-3-git-send-email-ahmed.taahir@gmail.com/raw"; 21 + sha256 = "01dlfw7kqhyx025jxq2l75950b181p9r7i9zkflcwvbzzdmx59md"; 22 + }) 23 + ]; 24 + 12 25 buildInputs = [ libgcrypt libnl ]; 13 26 nativeBuildInputs = [ 14 - pkgconfig python2Packages.m2crypto python2Packages.python 27 + pkgconfig 28 + python3 29 + python3.pkgs.pycrypto 15 30 ]; 16 31 17 32 postPatch = '' ··· 36 51 37 52 doCheck = true; 38 53 checkTarget = "verify"; 54 + 55 + postInstall = '' 56 + # The patch installs build header 57 + rm $out/include/reglib/keys-gcrypt.h 58 + ''; 39 59 40 60 meta = with stdenv.lib; { 41 61 description = "Linux wireless Central Regulatory Domain Agent";
+1 -1
pkgs/os-specific/linux/libnl/default.nix
··· 1 1 { stdenv, file, lib, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig 2 - , pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform, swig ? null, python}: 2 + , pythonSupport ? false, swig ? null, python}: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "libnl";
+1
pkgs/stdenv/adapters.nix
··· 60 60 "--enable-static" 61 61 "--disable-shared" 62 62 ]; 63 + cmakeFlags = (args.cmakeFlags or []) ++ [ "-DBUILD_SHARED_LIBS:BOOL=OFF" ]; 63 64 mesonFlags = (args.mesonFlags or []) ++ [ "-Ddefault_library=static" ]; 64 65 }); 65 66 };
+2 -2
pkgs/tools/networking/strongswan/default.nix
··· 1 1 { stdenv, fetchurl, fetchpatch 2 2 , pkgconfig, autoreconfHook 3 - , gmp, python, iptables, ldns, unbound, openssl, pcsclite, glib 3 + , gmp, python3, iptables, ldns, unbound, openssl, pcsclite, glib 4 4 , openresolv 5 5 , systemd, pam 6 6 , curl ··· 28 28 29 29 nativeBuildInputs = [ pkgconfig autoreconfHook ]; 30 30 buildInputs = 31 - [ curl gmp python ldns unbound openssl pcsclite ] 31 + [ curl gmp python3 ldns unbound openssl pcsclite ] 32 32 ++ optionals enableTNC [ trousers sqlite libxml2 ] 33 33 ++ optionals stdenv.isLinux [ systemd.dev pam iptables ] 34 34 ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ])
+2 -2
pkgs/tools/package-management/packagekit/default.nix
··· 1 1 { stdenv, fetchFromGitHub, lib 2 - , intltool, glib, pkgconfig, polkit, python, sqlite 2 + , intltool, glib, pkgconfig, polkit, python3, sqlite 3 3 , gobject-introspection, vala, gtk-doc, autoreconfHook, autoconf-archive 4 4 # TODO: set enableNixBackend to true, as soon as it builds 5 5 , nix, enableNixBackend ? false, boost ··· 20 20 sha256 = "02wq3jw3mkdld90irh5vdfd5bri2g1p89mhrmj56kvif1fqak46x"; 21 21 }; 22 22 23 - buildInputs = [ glib polkit python gobject-introspection ] 23 + buildInputs = [ glib polkit python3 gobject-introspection ] 24 24 ++ lib.optional enableSystemd systemd 25 25 ++ lib.optional enableBashCompletion bash-completion; 26 26 propagatedBuildInputs = [ sqlite nix boost ];
+2 -2
pkgs/tools/system/htop/default.nix
··· 1 1 { lib, fetchurl, stdenv, ncurses, 2 - IOKit, python }: 2 + IOKit, python3 }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "htop"; ··· 10 10 sha256 = "0mrwpb3cpn3ai7ar33m31yklj64c3pp576vh1naqff6f21pq5mnr"; 11 11 }; 12 12 13 - nativeBuildInputs = [ python ]; 13 + nativeBuildInputs = [ python3 ]; 14 14 buildInputs = 15 15 [ ncurses ] ++ 16 16 lib.optionals stdenv.isDarwin [ IOKit ];
+2 -2
pkgs/top-level/all-packages.nix
··· 9251 9251 # When switching these sets, please update docs at ../../doc/languages-frameworks/python.md 9252 9252 python = python2; 9253 9253 python2 = python27; 9254 - python3 = python37; 9254 + python3 = python38; 9255 9255 pypy = pypy2; 9256 9256 pypy2 = pypy27; 9257 9257 pypy3 = pypy36; ··· 10792 10792 arrayfire = callPackage ../development/libraries/arrayfire {}; 10793 10793 10794 10794 arrow-cpp = callPackage ../development/libraries/arrow-cpp ({ 10795 - gtest = gtest.override { static = true; }; 10795 + inherit (pkgsStatic) gtest; 10796 10796 } // stdenv.lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.cc.isGNU) { 10797 10797 stdenv = overrideCC stdenv buildPackages.gcc6; # hidden symbol `__divmoddi4' 10798 10798 });
+6 -2
pkgs/top-level/darwin-packages.nix
··· 68 68 69 69 usr-include = callPackage ../os-specific/darwin/usr-include { }; 70 70 71 - inherit (callPackages ../os-specific/darwin/xcode { } ) 72 - xcode_8_1 xcode_8_2 xcode_9_1 xcode_9_2 xcode_9_4 xcode; 71 + inherit (callPackages ../os-specific/darwin/xcode { }) 72 + xcode_8_1 xcode_8_2 73 + xcode_9_1 xcode_9_2 xcode_9_4 xcode_9_4_1 74 + xcode_10_2 xcode_10_2_1 xcode_10_3 75 + xcode_11 76 + xcode; 73 77 74 78 CoreSymbolication = callPackage ../os-specific/darwin/CoreSymbolication { }; 75 79
+1 -1
pkgs/top-level/python-packages.nix
··· 3938 3938 libsavitar = callPackage ../development/python-modules/libsavitar { }; 3939 3939 3940 3940 libplist = disabledIf isPy3k 3941 - (toPythonModule (pkgs.libplist.override{python2Packages=self; })).py; 3941 + (toPythonModule (pkgs.libplist.override { enablePython = true; inherit python; })).py; 3942 3942 3943 3943 libxml2 = (toPythonModule (pkgs.libxml2.override{pythonSupport=true; inherit python;})).py; 3944 3944
-9
pkgs/top-level/static.nix
··· 185 185 static = true; 186 186 twisted = null; 187 187 }; 188 - double-conversion = super.double-conversion.override { 189 - static = true; 190 - }; 191 188 gmp = super.gmp.override { 192 189 withStatic = true; 193 190 }; 194 191 gflags = super.gflags.override { 195 192 enableShared = false; 196 - }; 197 - glog = super.glog.override { 198 - static = true; 199 - }; 200 - gtest = super.gtest.override { 201 - static = true; 202 193 }; 203 194 cdo = super.cdo.override { 204 195 enable_all_static = true;