git.iko.soy/typeable/nixpkgs
on master help sign in
Merge staging into staging-next
commit63dd7b7ac7ae4d4d7b841498394658727f227c88 authorFrederik Rietdijk <fridh@fridh.nl> dateTue 18 Jun 2019, 11:27 (7 years ago) parent2a3488a9b775bc
87 files changed+483−274
nixos/modules/hardware/opengl.nix+2−2 pkgs/applications/graphics/fbida/default.nix+4−4 pkgs/applications/misc/lutris/default.nix+1−1 pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix+2−2 pkgs/applications/version-management/git-and-tools/grv/default.nix+2−2 pkgs/applications/virtualization/qemu/default.nix+2−2 pkgs/applications/window-managers/weston/default.nix+2−2 pkgs/build-support/appimage/default.nix+1−1 pkgs/desktops/enlightenment/efl.nix+2−2 pkgs/desktops/enlightenment/enlightenment.nix+3−3 pkgs/desktops/enlightenment/ephoto.nix+3−3 pkgs/desktops/enlightenment/rage.nix+3−3 pkgs/desktops/enlightenment/terminology.nix+2−2 pkgs/development/compilers/halide/default.nix+2−2 pkgs/development/interpreters/guile/default.nix+2−3 pkgs/development/libraries/SDL/default.nix+2−1 pkgs/development/libraries/SDL2/default.nix+2−1 pkgs/development/libraries/boehm-gc/default.nix+3−14 pkgs/development/libraries/cairo/default.nix+1−1 pkgs/development/libraries/cogl/default.nix+2−2 pkgs/development/libraries/dbus/default.nix+2−2 pkgs/development/libraries/git2/0.27.nix−36 pkgs/development/libraries/git2/default.nix+11−12 pkgs/development/libraries/gtk+/3.x.nix+2−2 pkgs/development/libraries/libmicrohttpd/default.nix+2−2 pkgs/development/libraries/libva/1.0.0.nix+2−2 pkgs/development/libraries/libva/default.nix+2−2 pkgs/development/libraries/libvdpau/default.nix+2−2 pkgs/development/libraries/mesa/default.nix+1−1 pkgs/development/libraries/nghttp2/default.nix+2−2 pkgs/development/libraries/qt-3/default.nix+3−2 pkgs/development/libraries/qt-4.x/4.8/default.nix+2−1 pkgs/development/libraries/soil/default.nix+3−3 pkgs/development/libraries/virglrenderer/default.nix+2−2 pkgs/development/libraries/wlc/default.nix+2−2 pkgs/development/libraries/wlroots/default.nix+2−2 pkgs/development/libraries/wxwidgets/2.8/default.nix+3−2 pkgs/development/libraries/wxwidgets/2.9/default.nix+3−2 pkgs/development/libraries/wxwidgets/3.0/default.nix+3−2 pkgs/development/python-modules/Mako/default.nix+4−4 pkgs/development/python-modules/antlr4-python2-runtime/default.nix+18 pkgs/development/python-modules/apipkg/default.nix+9−3 pkgs/development/python-modules/azure-cli-core/default.nix+93 pkgs/development/python-modules/azure-cli-telemetry/default.nix+50 pkgs/development/python-modules/chardet/default.nix+11−3 pkgs/development/python-modules/execnet/default.nix+5−8 pkgs/development/python-modules/importlib-metadata/default.nix+5−2 pkgs/development/python-modules/knack/default.nix+55 pkgs/development/python-modules/packaging/default.nix+3 pkgs/development/python-modules/pluggy/default.nix+7−4 pkgs/development/python-modules/psutil/default.nix+2−2 pkgs/development/python-modules/pygit2/default.nix+3−3 pkgs/development/python-modules/pytest-fixture-config/default.nix+4−4 pkgs/development/python-modules/pytest-server-fixtures/default.nix+4−4 pkgs/development/python-modules/pytest-shutil/default.nix+5−5 pkgs/development/python-modules/pytest-virtualenv/default.nix+6−6 pkgs/development/python-modules/pytest-xdist/default.nix+2−2 pkgs/development/python-modules/pytest/default.nix+4−4 pkgs/development/python-modules/scikit-build/default.nix+2−1 pkgs/development/python-modules/scikitlearn/default.nix+8−7 pkgs/development/python-modules/txaio/default.nix+4−4 pkgs/development/python-modules/wcwidth/default.nix+3 pkgs/development/python-modules/werkzeug/default.nix+1−8 pkgs/development/python-modules/whoosh/default.nix+3−3 pkgs/development/python-modules/zeep/default.nix+2−2 pkgs/development/python-modules/zipp/default.nix+5−2 pkgs/development/tools/parsing/bison/3.x.nix+2−2 pkgs/games/residualvm/default.nix+1−1 pkgs/games/steam/chrootenv.nix+1−1 pkgs/games/tdm/default.nix+2−2 pkgs/misc/emulators/wine/base.nix+1−1 pkgs/os-specific/linux/bluez/default.nix+14−2 pkgs/os-specific/linux/kmscube/default.nix+2−2 pkgs/servers/x11/xorg/default.nix+4−4 pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl+1−1 pkgs/servers/x11/xorg/overrides.nix+3−3 pkgs/tools/X11/primus/lib.nix+2−2 pkgs/tools/graphics/asymptote/default.nix+2−2 pkgs/tools/graphics/glmark2/default.nix+2−2 pkgs/tools/misc/coreutils/default.nix+4 pkgs/tools/misc/less/default.nix+5−4 pkgs/tools/networking/network-manager/default.nix+2−2 pkgs/tools/networking/openconnect/default.nix+2−2 pkgs/tools/security/enpass/default.nix+2−2 pkgs/top-level/aliases.nix+7 pkgs/top-level/all-packages.nix+4−22 pkgs/top-level/python-packages.nix+10−2
nixos/modules/hardware/opengl.nix+2−2
@@ -11,9 +11,9 @@ let
1111 videoDrivers = config.services.xserver.videoDrivers;
1212
1313 makePackage = p: pkgs.buildEnv {
14− name = "mesa-drivers+txc-${p.mesa_drivers.version}";
14+ name = "mesa-drivers+txc-${p.mesa.version}";
1515 paths =
16− [ p.mesa_drivers
16+ [ p.mesa.drivers
1717 (if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
1818 ];
1919 };
pkgs/applications/graphics/fbida/default.nix+4−4
@@ -1,10 +1,10 @@
11{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
22, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
3−, epoxy, poppler, mesa_noglu, lirc }:
3+, epoxy, poppler, mesa, lirc }:
44
55stdenv.mkDerivation rec {
66 name = "fbida-2.14";
7−
7+
88 src = fetchurl {
99 url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
1010 sha256 = "0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm";
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
1414 buildInputs = [
1515 libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
1616 imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
17− mesa_noglu
17+ mesa
1818 ];
19−
19+
2020 makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
2121
2222 patchPhase = ''
pkgs/applications/misc/lutris/default.nix+1−1
@@ -54,7 +54,7 @@ let
5454 # Higan // TODO: "higan is not available for the x86_64 architecture"
5555
5656 # Libretro
57− fluidsynth hidapi mesa_noglu libdrm
57+ fluidsynth hidapi mesa libdrm
5858
5959 # MAME
6060 qt48 fontconfig SDL2_ttf
pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix+2−2
@@ -1,6 +1,6 @@
1−{fetchFromGitHub, libgit2_0_27, ...}:
1+{fetchFromGitHub, libgit2, ...}:
22
3−libgit2_0_27.overrideAttrs (oldAttrs: rec {
3+libgit2.overrideAttrs (oldAttrs: rec {
44 cmakeFlags = oldAttrs.cmakeFlags ++ [
55 "-DUSE_BUNDLED_ZLIB=ON"
66 "-DUSE_ICONV=OFF"
pkgs/applications/version-management/git-and-tools/grv/default.nix+2−2
@@ -1,11 +1,11 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }:
1+{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2, ncurses, pkgconfig, readline }:
22let
33 version = "0.3.1";
44in
55buildGoPackage {
66 name = "grv-${version}";
77
8− buildInputs = [ ncurses readline curl libgit2_0_27 ];
8+ buildInputs = [ ncurses readline curl libgit2 ];
99 nativeBuildInputs = [ pkgconfig ];
1010
1111 goPackagePath = "github.com/rgburke/grv";
pkgs/applications/virtualization/qemu/default.nix+2−2
@@ -15,7 +15,7 @@
1515, usbredirSupport ? spiceSupport, usbredir
1616, xenSupport ? false, xen
1717, cephSupport ? false, ceph
18−, openGLSupport ? sdlSupport, mesa_noglu, epoxy, libdrm
18+, openGLSupport ? sdlSupport, mesa, epoxy, libdrm
1919, virglSupport ? openGLSupport, virglrenderer
2020, smbdSupport ? false, samba
2121, hostCpuOnly ? false
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
6666 ++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ]
6767 ++ optionals xenSupport [ xen ]
6868 ++ optionals cephSupport [ ceph ]
69− ++ optionals openGLSupport [ mesa_noglu epoxy libdrm ]
69+ ++ optionals openGLSupport [ mesa epoxy libdrm ]
7070 ++ optionals virglSupport [ virglrenderer ]
7171 ++ optionals smbdSupport [ samba ];
7272
pkgs/applications/window-managers/weston/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkgconfig, wayland, libGL, mesa_noglu, libxkbcommon, cairo, libxcb
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, wayland, libGL, mesa, libxkbcommon, cairo, libxcb
22, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
33, colord, lcms2
44, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818
1919 nativeBuildInputs = [ meson ninja pkgconfig ];
2020 buildInputs = [
21− wayland libGL mesa_noglu libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
21+ wayland libGL mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
2222 mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
2323 libwebp wayland-protocols
2424 colord lcms2
pkgs/build-support/appimage/default.nix+1−1
@@ -149,7 +149,7 @@ rec {
149149 libidn
150150 tbb
151151 wayland
152− mesa_noglu
152+ mesa
153153 libxkbcommon
154154
155155 flac
pkgs/desktops/enlightenment/efl.nix+2−2
@@ -3,7 +3,7 @@
33, libsndfile, xorg, libdrm, libxkbcommon, udev, utillinux, bullet, luajit
44, python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg
55, dbus, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp
6−, curl, libinput, systemd, mesa_noglu, writeText, gtk3
6+, curl, libinput, systemd, mesa, writeText, gtk3
77}:
88
99stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 nativeBuildInputs = [ pkgconfig gtk3 ];
1919
20− buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa_noglu
20+ buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa
2121 giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
2222 gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.xorgproto
2323 xorg.libX11 udev systemd ];
pkgs/desktops/enlightenment/enlightenment.nix+3−3
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, efl,
22 xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib,
3− luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa_noglu,
3+ luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa,
44 xkeyboard_config, pcre
55}:
66
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 libpthreadstubs
3535 gdbm
3636 pcre
37− mesa_noglu
37+ mesa
3838 xkeyboard_config
3939 ] ++
4040 stdenv.lib.optionals stdenv.isLinux [ libcap ];
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
4646 # installer to try to do this, the file $out/e-wrappers.nix is created,
4747 # containing the needed configuration for wrapping those programs. It
4848 # can be used in the enlightenment module. The idea is:
49− #
49+ #
5050 # 1) rename the original binary adding the extension .orig
5151 # 2) wrap the renamed binary at /run/wrappers/bin/
5252 # 3) create a new symbolic link using the original binary name (in the
pkgs/desktops/enlightenment/ephoto.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
1+{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "ephoto-${version}";
55 version = "1.5";
6−
6+
77 src = fetchurl {
88 url = "http://www.smhouston.us/stuff/${name}.tar.gz";
99 sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 nativeBuildInputs = [
1313 (pkgconfig.override { vanilla = true; })
14− mesa_noglu.dev # otherwise pkg-config does not find gbm
14+ mesa.dev # otherwise pkg-config does not find gbm
1515 makeWrapper
1616 ];
1717
pkgs/desktops/enlightenment/rage.nix+3−3
@@ -1,9 +1,9 @@
1−{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa_noglu, wrapGAppsHook }:
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa, wrapGAppsHook }:
22
33stdenv.mkDerivation rec {
44 name = "rage-${version}";
55 version = "0.3.0";
6−
6+
77 src = fetchurl {
88 url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.xz";
99 sha256 = "0gfzdd4jg78bkmj61yg49w7bzspl5m1nh6agqgs8k7qrq9q26xqy";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 meson
1414 ninja
1515 (pkgconfig.override { vanilla = true; })
16− mesa_noglu.dev
16+ mesa.dev
1717 wrapGAppsHook
1818 ];
1919
pkgs/desktops/enlightenment/terminology.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
1+{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 pname = "terminology";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 buildInputs = [
2020 efl
2121 pcre
22− mesa_noglu
22+ mesa
2323 ];
2424
2525 meta = {
pkgs/development/compilers/halide/default.nix+2−2
@@ -1,5 +1,5 @@
11{ llvmPackages, lib, fetchFromGitHub, cmake
2−, libpng, libjpeg, mesa_noglu, eigen, openblas
2+, libpng, libjpeg, mesa, eigen, openblas
33}:
44
55let
@@ -37,7 +37,7 @@ in llvmPackages.stdenv.mkDerivation {
3737 # Note: only openblas and not atlas part of this Nix expression
3838 # see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
3939 # to get a hint howto setup atlas instead of openblas
40− buildInputs = [ llvmPackages.llvm libpng libjpeg mesa_noglu eigen openblas ];
40+ buildInputs = [ llvmPackages.llvm libpng libjpeg mesa eigen openblas ];
4141
4242 nativeBuildInputs = [ cmake ];
4343
pkgs/development/interpreters/guile/default.nix+2−3
@@ -12,11 +12,11 @@
1212
1313(rec {
1414 name = "guile-${version}";
15− version = "2.2.3";
15+ version = "2.2.4";
1616
1717 src = fetchurl {
1818 url = "mirror://gnu/guile/${name}.tar.xz";
19− sha256 = "11j01agvnci2cx32wwpqs9078856yxmvs15gcsz7ganpkj2ahlw3";
19+ sha256 = "07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r";
2020 };
2121
2222 outputs = [ "out" "dev" "info" ];
@@ -42,7 +42,6 @@
4242
4343 patches = [
4444 ./eai_system.patch
45− ./riscv.patch
4645 ] ++ stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch
4746 ++ stdenv.lib.optional stdenv.isDarwin (fetchpatch {
4847 url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch";
pkgs/development/libraries/SDL/default.nix+2−1
@@ -1,4 +1,5 @@
1−{ stdenv, config, libGLSupported, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
1+{ stdenv, config, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
2+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
23, openglSupport ? libGLSupported, libGL, libGLU
34, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
45, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
pkgs/development/libraries/SDL2/default.nix+2−1
@@ -1,4 +1,5 @@
1−{ stdenv, config, libGLSupported, fetchurl, pkgconfig
1+{ stdenv, config, fetchurl, pkgconfig
2+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
23, openglSupport ? libGLSupported, libGL
34, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
45, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
pkgs/development/libraries/boehm-gc/default.nix+3−14
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, pkgconfig, libatomic_ops
1+{ lib, stdenv, fetchurl
22, enableLargeConfig ? false # doc: https://github.com/ivmai/bdwgc/blob/v7.6.6/doc/README.macros#L179
33}:
44
@@ -14,9 +14,6 @@ stdenv.mkDerivation rec {
1414 sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3";
1515 };
1616
17− buildInputs = [ libatomic_ops ];
18− nativeBuildInputs = [ pkgconfig ];
19−
2017 outputs = [ "out" "dev" "doc" ];
2118 separateDebugInfo = stdenv.isLinux;
2219
@@ -29,20 +26,12 @@ stdenv.mkDerivation rec {
2926 lib.optional stdenv.hostPlatform.isRiscV ./riscv.patch;
3027
3128 configureFlags =
32− [ "--enable-cplusplus" ]
29+ [ "--enable-cplusplus" "--with-libatomic-ops=none" ]
3330 ++ lib.optional enableLargeConfig "--enable-large-config"
34− ++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static"
35− # Configure script can't detect whether C11 atomic intrinsics are available
36− # when cross-compiling, so it links to libatomic_ops, which has to be
37− # propagated to all dependencies. To avoid this, assume that the intrinsics
38− # are available.
39− ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--with-libatomic-ops=none";
31+ ++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static";
4032
4133 doCheck = true; # not cross;
4234
43− # Don't run the native `strip' when cross-compiling.
44− dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
45−
4635 enableParallelBuilding = true;
4736
4837 meta = {
pkgs/development/libraries/cairo/default.nix+1−1
@@ -3,7 +3,7 @@
33, x11Support? !stdenv.isDarwin, libXext, libXrender
44, gobjectSupport ? true, glib
55, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
6−, libGLSupported
6+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
77, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
88, libGL ? null # libGLU_combined is no longer a big dependency
99, pdfSupport ? true
pkgs/development/libraries/cogl/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
22, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
3−, mesa_noglu
3+, mesa
44, gstreamerSupport ? true, gst_all_1 }:
55
66let
@@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
4444 ++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
4545
4646 propagatedBuildInputs = with xorg; [
47− glib gdk_pixbuf gobject-introspection wayland mesa_noglu
47+ glib gdk_pixbuf gobject-introspection wayland mesa
4848 libGL libXrandr libXfixes libXcomposite libXdamage
4949 ]
5050 ++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
pkgs/development/libraries/dbus/default.nix+2−2
@@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
66 && libSM != null;
77
88let
9− version = "1.12.14";
10− sha256 = "13aca7gzgl7z1dfdipfs23773w8n6z01d4rj5kmssv4gms8c5ya4";
9+ version = "1.12.16";
10+ sha256 = "107ckxaff1cv4q6kmfdi2fb1nlsv03312a7kf6lb4biglhpjv8jl";
1111
1212self = stdenv.mkDerivation {
1313 name = "dbus-${version}";
pkgs/development/libraries/git2/0.27.nixdeleted−36
@@ -1,36 +0,0 @@
1−{ stdenv, fetchFromGitHub, cmake, pkgconfig, python
2−, zlib, libssh2, openssl, http-parser, curl
3−, libiconv, Security
4−}:
5−
6−stdenv.mkDerivation rec {
7− version = "0.27.8";
8− name = "libgit2-${version}";
9−
10− src = fetchFromGitHub {
11− owner = "libgit2";
12− repo = "libgit2";
13− rev = "v${version}";
14− sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
15− };
16−
17− cmakeFlags = [ "-DTHREADSAFE=ON" ];
18−
19− nativeBuildInputs = [ cmake python pkgconfig ];
20−
21− buildInputs = [ zlib libssh2 openssl http-parser curl ]
22− ++ stdenv.lib.optional stdenv.isDarwin Security;
23−
24− propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
25−
26− enableParallelBuilding = true;
27−
28− doCheck = false; # hangs. or very expensive?
29−
30− meta = {
31− description = "The Git linkable library";
32− homepage = https://libgit2.github.com/;
33− license = stdenv.lib.licenses.gpl2;
34− platforms = with stdenv.lib.platforms; all;
35− };
36−}
pkgs/development/libraries/git2/default.nix+11−12
@@ -1,18 +1,18 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, cmake
2−, zlib, python, libssh2, openssl, curl, http-parser
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig, python
2+, zlib, libssh2, openssl, http-parser, curl
33, libiconv, Security
44}:
55
6−stdenv.mkDerivation (rec {
7− name = "libgit2-${version}";
8− version = "0.26.6";
6+stdenv.mkDerivation rec {
7+ pname = "libgit2";
8+ version = "0.27.8";
99 # keep the version in sync with pythonPackages.pygit2 and libgit2-glib
1010
1111 src = fetchFromGitHub {
1212 owner = "libgit2";
1313 repo = "libgit2";
1414 rev = "v${version}";
15− sha256 = "17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3";
15+ sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
1616 };
1717
1818 cmakeFlags = [ "-DTHREADSAFE=ON" ];
@@ -22,17 +22,16 @@ stdenv.mkDerivation (rec {
2222 buildInputs = [ zlib libssh2 openssl http-parser curl ]
2323 ++ stdenv.lib.optional stdenv.isDarwin Security;
2424
25− propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) [ libiconv ];
25+ propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
2626
2727 enableParallelBuilding = true;
2828
2929 doCheck = false; # hangs. or very expensive?
3030
31− meta = with stdenv.lib; {
31+ meta = {
3232 description = "The Git linkable library";
3333 homepage = https://libgit2.github.com/;
34− license = licenses.gpl2;
35− platforms = with platforms; all;
34+ license = stdenv.lib.licenses.gpl2;
35+ platforms = with stdenv.lib.platforms; all;
3636 };
37−} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
38−})
37+}
pkgs/development/libraries/gtk+/3.x.nix+2−2
@@ -2,7 +2,7 @@
22, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection, fribidi
33, xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3, autoreconfHook, gsettings-desktop-schemas
44, x11Support ? stdenv.isLinux
5−, waylandSupport ? stdenv.isLinux, mesa_noglu, wayland, wayland-protocols
5+, waylandSupport ? stdenv.isLinux, mesa, wayland, wayland-protocols
66, xineramaSupport ? stdenv.isLinux
77, cupsSupport ? stdenv.isLinux, cups ? null
88, AppKit, Cocoa
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
4848 [ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gsettings-desktop-schemas fribidi
4949 libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
5050 ++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
51− ++ optionals waylandSupport [ mesa_noglu wayland wayland-protocols ]
51+ ++ optionals waylandSupport [ mesa wayland wayland-protocols ]
5252 ++ optional xineramaSupport libXinerama
5353 ++ optional cupsSupport cups;
5454 #TODO: colord?
pkgs/development/libraries/libmicrohttpd/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "libmicrohttpd-${version}";
5− version = "0.9.63";
5+ version = "0.9.64";
66
77 src = fetchurl {
88 url = "mirror://gnu/libmicrohttpd/${name}.tar.gz";
9− sha256 = "173lj66crwvhzwp1r812sc5h1hda7g6lb9l1y5zf7w3pw4dnzhrp";
9+ sha256 = "03imzkd1hl2mkkpi84vg5xq9x6b58gwsv86ym85km0lhb7nxi4p7";
1010 };
1111
1212 outputs = [ "out" "dev" "devdoc" "info" ];
pkgs/development/libraries/libva/1.0.0.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, lib, fetchurl, libX11, pkgconfig, libXext, libdrm, libXfixes, wayland, libffi
2−, libGL, libGL_driver
2+, libGL, mesa
33, minimal ? false, libva1-minimal
44}:
55
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 configureFlags =
2424 # Add FHS paths for non-NixOS applications.
25− [ "--with-drivers-path=${libGL_driver.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ] ++
25+ [ "--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ] ++
2626 lib.optionals (!minimal) [ "--enable-glx" ];
2727
2828 installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
pkgs/development/libraries/libva/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
22, libXext, libdrm, libXfixes, wayland, libffi, libX11
3−, libGL, libGL_driver
3+, libGL, mesa
44, minimal ? false, libva-minimal
55}:
66
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 configureFlags = [
3030 # Add FHS paths for non-NixOS applications.
31− "--with-drivers-path=${libGL_driver.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
31+ "--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
3232 ] ++ lib.optionals (!minimal) [ "--enable-glx" ];
3333
3434 installFlags = [
pkgs/development/libraries/libvdpau/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, xorg, libGL_driver }:
1+{ stdenv, fetchurl, pkgconfig, xorg, mesa }:
22
33stdenv.mkDerivation rec {
44 name = "libvdpau-${version}";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 propagatedBuildInputs = [ xorg.libX11 ];
1818
1919 configureFlags = stdenv.lib.optional stdenv.isLinux
20− "--with-module-dir=${libGL_driver.driverLink}/lib/vdpau";
20+ "--with-module-dir=${mesa.drivers.driverLink}/lib/vdpau";
2121
2222 NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null;
2323
pkgs/development/libraries/mesa/default.nix+1−1
@@ -69,7 +69,7 @@ let
6969in
7070
7171let self = stdenv.mkDerivation {
72− name = "mesa-noglu-${version}";
72+ name = "mesa-${version}";
7373
7474 src = fetchurl {
7575 urls = [
pkgs/development/libraries/nghttp2/default.nix+2−2
@@ -18,11 +18,11 @@ let inherit (stdenv.lib) optional; in
1818
1919stdenv.mkDerivation rec {
2020 pname = "nghttp2";
21− version = "1.38.0";
21+ version = "1.39.1";
2222
2323 src = fetchurl {
2424 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
25− sha256 = "156r3myrglkmrdv4zh151g9zcr7b92zjn15wx5i9ypw0naanjc4g";
25+ sha256 = "1vzmkh3pky3l3w6iaffhikh7hslp8zp0jsdqpd6knbflsmzp511a";
2626 };
2727
2828 outputs = [ "bin" "out" "dev" "lib" ];
pkgs/development/libraries/qt-3/default.nix+3−2
@@ -6,8 +6,9 @@
66, cursorSupport ? true, libXcursor ? null
77, threadSupport ? true
88, mysqlSupport ? false, mysql ? null
9−, libGLSupported
10−, openglSupport ? libGLSupported, libGLU_combined ? null, libXmu ? null
9+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
10+, openglSupport ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
11+, libGLU_combined ? null, libXmu ? null
1112, xlibsWrapper, xorgproto, zlib, libjpeg, libpng, which
1213}:
1314
pkgs/development/libraries/qt-4.x/4.8/default.nix+2−1
@@ -1,10 +1,11 @@
11{ stdenv, lib, fetchurl, fetchpatch, substituteAll
22, libXrender, libXinerama, libXcursor, libXv, libXext
33, libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
4−, libmng, which, libGLSupported, libGLU, openssl, dbus, cups, pkgconfig
4+, libmng, which, libGLU, openssl, dbus, cups, pkgconfig
55, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
66, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
77, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
8+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
89, flashplayerFix ? false, gdk_pixbuf
910, gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2
1011, gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
pkgs/development/libraries/soil/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, mesa_noglu, libX11 }:
1+{ stdenv, fetchurl, unzip, mesa, libX11 }:
22
33stdenv.mkDerivation rec {
44 name = "soil";
@@ -8,8 +8,8 @@ stdenv.mkDerivation rec {
88 sha256 = "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52";
99 };
1010
11− buildInputs = [ unzip mesa_noglu libX11 ];
12−
11+ buildInputs = [ unzip mesa libX11 ];
12+
1313 sourceRoot = "Simple OpenGL Image Library/projects/makefile";
1414 preBuild = "mkdir obj";
1515 preInstall = "mkdir -p $out/lib $out/include";
pkgs/development/libraries/virglrenderer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11, libdrm, mesa_noglu }:
1+{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11, libdrm, mesa }:
22
33
44stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "041agg1d6i8hg250y30f08n3via0hs9rbijxdrfifb8ara805v0m";
1212 };
1313
14− buildInputs = [ libGLU epoxy libX11 libdrm mesa_noglu ];
14+ buildInputs = [ libGLU epoxy libX11 libdrm mesa ];
1515
1616 nativeBuildInputs = [ pkgconfig ];
1717
pkgs/development/libraries/wlc/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, cmake, pkgconfig
22, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
3−, libX11, dbus, wayland-protocols, libdrm, mesa_noglu
3+, libX11, dbus, wayland-protocols, libdrm, mesa
44, libpthreadstubs, libXdmcp, libXext, libXfixes
55, withOptionalPackages ? true, zlib, valgrind, doxygen
66}:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 buildInputs = [
2323 wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
2424 libX11 libXfixes dbus wayland-protocols
25− libpthreadstubs libXdmcp libXext libdrm mesa_noglu ]
25+ libpthreadstubs libXdmcp libXext libdrm mesa ]
2626 ++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
2727
2828 doCheck = true;
pkgs/development/libraries/wlroots/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
22, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
3−, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa_noglu
3+, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa
44, libpng, ffmpeg_4
55}:
66
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 buildInputs = [
2525 wayland libGL wayland-protocols libinput libxkbcommon pixman
26− xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa_noglu
26+ xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa
2727 libpng ffmpeg_4
2828 ];
2929
pkgs/development/libraries/wxwidgets/2.8/default.nix+3−2
@@ -1,7 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
22, gstreamer, gst-plugins-base, GConf, libX11, cairo
3−, libGLSupported
4−, withMesa ? libGLSupported, libGLU ? null, libGL ? null
3+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
4+, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
5+, libGLU ? null, libGL ? null
56, compat24 ? false, compat26 ? true, unicode ? true,
67}:
78
pkgs/development/libraries/wxwidgets/2.9/default.nix+3−2
@@ -1,7 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
22, gstreamer, gst-plugins-base, GConf, setfile
3−, libGLSupported
4−, withMesa ? libGLSupported, libGLU ? null, libGL ? null
3+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
4+, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
5+, libGLU ? null, libGL ? null
56, compat24 ? false, compat26 ? true, unicode ? true
67, Carbon ? null, Cocoa ? null, Kernel ? null, QuickTime ? null, AGL ? null
78}:
pkgs/development/libraries/wxwidgets/3.0/default.nix+3−2
@@ -1,8 +1,9 @@
11{ stdenv, fetchFromGitHub, fetchurl, pkgconfig
22, gtk2, gtk3, libXinerama, libSM, libXxf86vm
33, xorgproto, gstreamer, gst-plugins-base, GConf, setfile
4−, libGLSupported
5−, withMesa ? libGLSupported, libGLU ? null, libGL ? null
4+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
5+, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
6+, libGLU ? null, libGL ? null
67, compat24 ? false, compat26 ? true, unicode ? true
78, withGtk2 ? true
89, withWebKit ? false, webkitgtk24x-gtk2 ? null, webkitgtk ? null
pkgs/development/python-modules/Mako/default.nix+4−4
@@ -4,20 +4,20 @@
44, markupsafe
55, nose
66, mock
7−, pytest_3
7+, pytest
88, isPyPy
99}:
1010
1111buildPythonPackage rec {
1212 pname = "Mako";
13− version = "1.0.10";
13+ version = "1.0.12";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "7165919e78e1feb68b4dbe829871ea9941398178fa58e6beedb9ba14acf63965";
17+ sha256 = "0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162";
1818 };
1919
20− checkInputs = [ markupsafe nose mock pytest_3 ];
20+ checkInputs = [ markupsafe nose mock pytest ];
2121 propagatedBuildInputs = [ markupsafe ];
2222
2323 doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
pkgs/development/python-modules/antlr4-python2-runtime/default.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
2+
3+buildPythonPackage rec {
4+ pname = "antlr4-python2-runtime";
5+ version = "4.7.2";
6+ disabled = isPy3k;
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "04ljic5wnqpizln8q3c78pqrckz6q5nb433if00j1mlyv2yja22q";
11+ };
12+
13+ meta = {
14+ description = "Runtime for ANTLR";
15+ homepage = "https://www.antlr.org/";
16+ license = stdenv.lib.licenses.bsd3;
17+ };
18+}
pkgs/development/python-modules/apipkg/default.nix+9−3
@@ -1,5 +1,5 @@
11{ stdenv, buildPythonPackage, fetchPypi
2−, pytest_3, setuptools_scm }:
2+, pytest, setuptools_scm }:
33
44buildPythonPackage rec {
55 pname = "apipkg";
@@ -11,7 +11,13 @@ buildPythonPackage rec {
1111 };
1212
1313 nativeBuildInputs = [ setuptools_scm ];
14− checkInputs = [ pytest_3 ];
14+ checkInputs = [ pytest ];
15+
16+ # Fix pytest 4 support. See: https://github.com/pytest-dev/apipkg/issues/14
17+ postPatch = ''
18+ substituteInPlace "test_apipkg.py" \
19+ --replace "py.test.ensuretemp('test_apipkg')" "py.path.local('test_apipkg')"
20+ '';
1521
1622 checkPhase = ''
1723 py.test
@@ -19,7 +25,7 @@ buildPythonPackage rec {
1925
2026 meta = with stdenv.lib; {
2127 description = "Namespace control and lazy-import mechanism";
22− homepage = https://bitbucket.org/hpk42/apipkg;
28+ homepage = "https://github.com/pytest-dev/apipkg";
2329 license = licenses.mit;
2430 };
2531}
pkgs/development/python-modules/azure-cli-core/default.nixnew file+93
@@ -0,0 +1,93 @@
1+{ stdenv
2+, lib
3+, python
4+, buildPythonPackage
5+, fetchPypi
6+, adal
7+, antlr4-python3-runtime
8+, argcomplete
9+, azure-cli-telemetry
10+, colorama
11+, jmespath
12+, humanfriendly
13+, knack
14+, msrest
15+, msrestazure
16+, paramiko
17+, pygments
18+, pyjwt
19+, pyopenssl
20+, pyyaml
21+, requests
22+, six
23+, tabulate
24+, azure-mgmt-resource
25+, pyperclip
26+, psutil
27+, enum34
28+, futures
29+, antlr4-python2-runtime
30+, ndg-httpsclient
31+, isPy3k
32+}:
33+
34+buildPythonPackage rec {
35+ pname = "azure-cli-core";
36+ version = "2.0.66";
37+
38+ src = fetchPypi {
39+ inherit pname version;
40+ sha256 = "0fp6b2x1l9bg07pca7asm80rnjlc4kkm061s3nrb55yj6awsnim5";
41+ };
42+
43+ propagatedBuildInputs = [
44+ adal
45+ argcomplete
46+ azure-cli-telemetry
47+ colorama
48+ jmespath
49+ humanfriendly
50+ knack
51+ msrest
52+ msrestazure
53+ paramiko
54+ pygments
55+ pyjwt
56+ pyopenssl
57+ pyyaml
58+ requests
59+ six
60+ tabulate
61+ azure-mgmt-resource
62+ pyperclip
63+ psutil
64+ ]
65+ ++ lib.optionals isPy3k [ antlr4-python3-runtime ]
66+ ++ lib.optionals (!isPy3k) [ enum34 futures antlr4-python2-runtime ndg-httpsclient ];
67+
68+ # Remove overly restrictive version contraints and obsolete namespace setup
69+ prePatch = ''
70+ substituteInPlace setup.py \
71+ --replace "wheel==0.30.0" "wheel" \
72+ --replace "azure-mgmt-resource==2.1.0" "azure-mgmt-resource"
73+ substituteInPlace setup.cfg \
74+ --replace "azure-namespace-package = azure-cli-nspkg" ""
75+ '';
76+
77+ # Prevent these __init__'s from violating PEP420, only needed for python2
78+ postInstall = lib.optionalString isPy3k ''
79+ rm $out/${python.sitePackages}/azure/__init__.py \
80+ $out/${python.sitePackages}/azure/cli/__init__.py
81+ '';
82+
83+ # Tests are not included in sdist package
84+ doCheck = false;
85+
86+ meta = with lib; {
87+ homepage = https://github.com/Azure/azure-cli;
88+ description = "Next generation multi-platform command line experience for Azure";
89+ platforms = platforms.all;
90+ license = licenses.mit;
91+ maintainers = with maintainers; [ jonringer ];
92+ };
93+}
pkgs/development/python-modules/azure-cli-telemetry/default.nixnew file+50
@@ -0,0 +1,50 @@
1+{ stdenv
2+, lib
3+, buildPythonPackage
4+, fetchPypi
5+, isPy3k
6+, python
7+, applicationinsights
8+, portalocker
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "azure-cli-telemetry";
13+ version = "1.0.2";
14+
15+ src = fetchPypi {
16+ inherit pname version;
17+ sha256 = "14wmxdsrrlnixaj52q37rrvp9wg5b54gf5wn2z1vq68kxpg1s560";
18+ };
19+
20+ propagatedBuildInputs = [
21+ applicationinsights
22+ portalocker
23+ ];
24+
25+ # tests are not published to pypi
26+ doCheck = false;
27+
28+ # Remove overly restrictive version contraints and obsolete namespace setup
29+ prePatch = ''
30+ substituteInPlace setup.py \
31+ --replace "applicationinsights>=0.11.1,<0.11.8" "applicationinsights" \
32+ --replace "portalocker==1.2.1" "portalocker"
33+ substituteInPlace setup.cfg \
34+ --replace "azure-namespace-package = azure-cli-nspkg" ""
35+ '';
36+
37+ # Prevent these __init__'s from violating PEP420, only needed for python2
38+ postInstall = lib.optionalString isPy3k ''
39+ rm $out/${python.sitePackages}/azure/__init__.py \
40+ $out/${python.sitePackages}/azure/cli/__init__.py
41+ '';
42+
43+ meta = with lib; {
44+ homepage = https://github.com/Azure/azure-cli;
45+ description = "Next generation multi-platform command line experience for Azure";
46+ platforms = platforms.all;
47+ license = licenses.mit;
48+ maintainers = with maintainers; [ jonringer ];
49+ };
50+}
pkgs/development/python-modules/chardet/default.nix+11−3
@@ -1,5 +1,5 @@
1−{ stdenv, buildPythonPackage, fetchPypi
2−, pytest_3, pytestrunner, hypothesis }:
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
2+, pytest, pytestrunner, hypothesis }:
33
44buildPythonPackage rec {
55 pname = "chardet";
@@ -10,7 +10,15 @@ buildPythonPackage rec {
1010 sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
1111 };
1212
13− checkInputs = [ pytest_3 pytestrunner hypothesis ];
13+ patches = [
14+ # Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174
15+ (fetchpatch {
16+ url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch";
17+ sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q";
18+ })
19+ ];
20+
21+ checkInputs = [ pytest pytestrunner hypothesis ];
1422
1523 meta = with stdenv.lib; {
1624 homepage = https://github.com/chardet/chardet;
pkgs/development/python-modules/execnet/default.nix+5−8
@@ -3,21 +3,21 @@
33, buildPythonPackage
44, isPyPy
55, fetchPypi
6−, pytest_3
6+, pytest
77, setuptools_scm
88, apipkg
99}:
1010
1111buildPythonPackage rec {
1212 pname = "execnet";
13− version = "1.5.0";
13+ version = "1.6.0";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "a7a84d5fa07a089186a329528f127c9d73b9de57f1a1131b82bb5320ee651f6a";
17+ sha256 = "752a3786f17416d491f833a29217dda3ea4a471fc5269c492eebcee8cc4772d3";
1818 };
1919
20− checkInputs = [ pytest_3 ];
20+ checkInputs = [ pytest ];
2121 nativeBuildInputs = [ setuptools_scm ];
2222 propagatedBuildInputs = [ apipkg ];
2323
@@ -34,15 +34,12 @@ buildPythonPackage rec {
3434 py.test testing
3535 '';
3636
37− # not yet compatible with pytest 4
38− doCheck = false;
39−
4037 __darwinAllowLocalNetworking = true;
4138
4239 meta = with stdenv.lib; {
4340 description = "Rapid multi-Python deployment";
4441 license = licenses.gpl2;
45− homepage = "http://codespeak.net/execnet";
42+ homepage = "https://execnet.readthedocs.io/";
4643 maintainers = with maintainers; [ nand0p ];
4744 };
4845
pkgs/development/python-modules/importlib-metadata/default.nix+5−2
@@ -13,12 +13,12 @@
1313
1414buildPythonPackage rec {
1515 pname = "importlib-metadata";
16− version = "0.8";
16+ version = "0.18";
1717
1818 src = fetchPypi {
1919 pname = "importlib_metadata";
2020 inherit version;
21− sha256 = "b50191ead8c70adfa12495fba19ce6d75f2e0275c14c5a7beb653d6799b512bd";
21+ sha256 = "cb6ee23b46173539939964df59d3d72c3e0c1b5d54b84f1d8a7e912fe43612db";
2222 };
2323
2424 nativeBuildInputs = [ setuptools_scm ];
@@ -28,6 +28,9 @@ buildPythonPackage rec {
2828
2929 checkInputs = [ importlib-resources packaging ];
3030
31+ # Two failing tests: https://gitlab.com/python-devs/importlib_metadata/issues/72
32+ doCheck = false;
33+
3134 meta = with lib; {
3235 description = "Read metadata from Python packages";
3336 homepage = https://importlib-metadata.readthedocs.io/;
pkgs/development/python-modules/knack/default.nixnew file+55
@@ -0,0 +1,55 @@
1+{ stdenv
2+, lib
3+, buildPythonPackage
4+, fetchPypi
5+, argcomplete
6+, colorama
7+, jmespath
8+, knack
9+, pygments
10+, pyyaml
11+, six
12+, tabulate
13+, mock
14+, vcrpy
15+, pytest
16+}:
17+
18+buildPythonPackage rec {
19+ pname = "knack";
20+ version = "0.6.2";
21+
22+ src = fetchPypi {
23+ inherit pname version;
24+ sha256 = "1kxxj9m2mvva9rz11m6pgdg0mi712d28faj4633rl23qa53sh7i8";
25+ };
26+
27+ propagatedBuildInputs = [
28+ argcomplete
29+ colorama
30+ jmespath
31+ pygments
32+ pyyaml
33+ six
34+ tabulate
35+ ];
36+
37+ checkInputs = [
38+ mock
39+ vcrpy
40+ pytest
41+ ];
42+
43+ # tries to make a '/homeless-shelter' dir
44+ checkPhase = ''
45+ pytest -k 'not test_cli_exapp1'
46+ '';
47+
48+ meta = with lib; {
49+ homepage = https://github.com/microsoft/knack;
50+ description = "A Command-Line Interface framework";
51+ platforms = platforms.all;
52+ license = licenses.mit;
53+ maintainers = with maintainers; [ jonringer ];
54+ };
55+}
pkgs/development/python-modules/packaging/default.nix+3
@@ -18,6 +18,9 @@ buildPythonPackage rec {
1818 py.test tests
1919 '';
2020
21+ # Prevent circular dependency
22+ doCheck = false;
23+
2124 meta = with stdenv.lib; {
2225 description = "Core utilities for Python packages";
2326 homepage = https://github.com/pypa/packaging;
pkgs/development/python-modules/pluggy/default.nix+7−4
@@ -2,15 +2,16 @@
22, lib
33, fetchPypi
44, setuptools_scm
5+, importlib-metadata
56}:
67
78buildPythonPackage rec {
89 pname = "pluggy";
9− version = "0.8.1";
10+ version = "0.12.0";
1011
1112 src = fetchPypi {
1213 inherit pname version;
13− sha256 = "8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616";
14+ sha256 = "0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc";
1415 };
1516
1617 checkPhase = ''
@@ -20,11 +21,13 @@ buildPythonPackage rec {
2021 # To prevent infinite recursion with pytest
2122 doCheck = false;
2223
23− buildInputs = [ setuptools_scm ];
24+ nativeBuildInputs = [ setuptools_scm ];
25+
26+ propagatedBuildInputs = [ importlib-metadata ];
2427
2528 meta = {
2629 description = "Plugin and hook calling mechanisms for Python";
27− homepage = "https://pypi.python.org/pypi/pluggy";
30+ homepage = "https://github.com/pytest-dev/pluggy";
2831 license = lib.licenses.mit;
2932 maintainers = with lib.maintainers; [ ];
3033 };
pkgs/development/python-modules/psutil/default.nix+2−2
@@ -6,11 +6,11 @@
66
77buildPythonPackage rec {
88 pname = "psutil";
9− version = "5.5.1";
9+ version = "5.6.3";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "045qaqvn6k90bj5bcy259yrwcd2afgznaav3sfhphy9b8ambzkkj";
13+ sha256 = "863a85c1c0a5103a12c05a35e59d336e1d665747e531256e061213e2e90f63f3";
1414 };
1515
1616 # No tests in archive
pkgs/development/python-modules/pygit2/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi }:
1+{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2, six, cffi }:
22
33buildPythonPackage rec {
44 pname = "pygit2";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
1010 };
1111
1212 preConfigure = lib.optionalString stdenv.isDarwin ''
13− export DYLD_LIBRARY_PATH="${libgit2_0_27}/lib"
13+ export DYLD_LIBRARY_PATH="${libgit2}/lib"
1414 '';
1515
1616 patches = [ (fetchpatch {
@@ -19,7 +19,7 @@ buildPythonPackage rec {
1919 sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f";
2020 }) ];
2121
22− propagatedBuildInputs = [ libgit2_0_27 six ] ++ lib.optional (!isPyPy) cffi;
22+ propagatedBuildInputs = [ libgit2 six ] ++ lib.optional (!isPyPy) cffi;
2323
2424 preCheck = ''
2525 # disable tests that require networking
pkgs/development/python-modules/pytest-fixture-config/default.nix+4−4
@@ -1,18 +1,18 @@
11{ stdenv, buildPythonPackage, fetchPypi
2−, setuptools-git, pytest_3 }:
2+, setuptools-git, pytest }:
33
44buildPythonPackage rec {
55 pname = "pytest-fixture-config";
6− version = "1.4.0";
6+ version = "1.7.0";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "839d70343c87d6dda5bca88e3ab06e7b2027998dc1ec452c14d50be5725180a3";
10+ sha256 = "13i1qpz22w3x4dmw8vih5jdnbqfqvl7jiqs0dg764s0zf8bp98a1";
1111 };
1212
1313 nativeBuildInputs = [ setuptools-git ];
1414
15− buildInputs = [ pytest_3 ];
15+ buildInputs = [ pytest ];
1616
1717 doCheck = false;
1818
pkgs/development/python-modules/pytest-server-fixtures/default.nix+4−4
@@ -1,17 +1,17 @@
11{ stdenv, buildPythonPackage, fetchPypi
2−, pytest_3, pytest-shutil, pytest-fixture-config, psutil
2+, pytest, pytest-shutil, pytest-fixture-config, psutil
33, requests, future, retry }:
44
55buildPythonPackage rec {
66 pname = "pytest-server-fixtures";
7− version = "1.6.2";
7+ version = "1.7.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "c89f9532f62cf851489082ece1ec692b6ed5b0f88f20823bea25e2a963ebee8f";
11+ sha256 = "07vdv3y89qzv89ws0y48h92yplqsx208b9cizx80w644dazb398g";
1212 };
1313
14− buildInputs = [ pytest_3 ];
14+ buildInputs = [ pytest ];
1515 propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];
1616
1717 # RuntimeError: Unable to find a free server number to start Xvfb
pkgs/development/python-modules/pytest-shutil/default.nix+5−5
@@ -1,19 +1,19 @@
11{ stdenv, lib, isPyPy, buildPythonPackage, fetchPypi
2−, pytest_3, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
2+, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
33, contextlib2, termcolor }:
44
55buildPythonPackage rec {
66 pname = "pytest-shutil";
7− version = "1.6.0";
7+ version = "1.7.0";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "efe615b7709637ec8828abebee7fc2ad033ae0f1fc54145f769a8b5e8cc3b4ca";
11+ sha256 = "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq";
1212 };
1313
14− checkInputs = [ cmdline pytest_3 ];
14+ checkInputs = [ cmdline pytest ];
1515 propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
16− nativeBuildInputs = [ pytest_3 ];
16+ nativeBuildInputs = [ pytest ];
1717
1818 checkPhase = ''
1919 py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
pkgs/development/python-modules/pytest-virtualenv/default.nix+6−6
@@ -1,20 +1,20 @@
11{ stdenv, buildPythonPackage, fetchPypi
2−, pytest_3, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil }:
2+, pytest, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }:
33
44buildPythonPackage rec {
55 pname = "pytest-virtualenv";
6− version = "1.6.0";
6+ version = "1.7.0";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "d281725d10848773cb2b495d1255dd0a42fc9179e34a274c22e1c35837721f19";
10+ sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
1111 };
1212
13− checkInputs = [ pytest_3 pytestcov mock cmdline ];
14− propagatedBuildInputs = [ pytest-fixture-config pytest-shutil ];
13+ checkInputs = [ pytest pytestcov mock cmdline ];
14+ propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
1515 checkPhase = '' py.test tests/unit '';
1616
17− nativeBuildInputs = [ pytest_3 ];
17+ nativeBuildInputs = [ pytest ];
1818
1919 meta = with stdenv.lib; {
2020 description = "Create a Python virtual environment in your test that cleans up on teardown. The fixture has utility methods to install packages and list what’s installed.";
pkgs/development/python-modules/pytest-xdist/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "pytest-xdist";
5− version = "1.26.1";
5+ version = "1.28.0";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "d03d1ff1b008458ed04fa73e642d840ac69b4107c168e06b71037c62d7813dd4";
9+ sha256 = "f83a485293e81fd57c8a5a85a3f12473a532c5ca7dec518857cbb72766bb526c";
1010 };
1111
1212 nativeBuildInputs = [ setuptools_scm pytest ];
pkgs/development/python-modules/pytest/default.nix+4−4
@@ -1,9 +1,9 @@
11{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
22, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
3−, atomicwrites, mock, writeText, pathlib2
3+, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging
44}:
55buildPythonPackage rec {
6− version = "4.2.1";
6+ version = "4.6.3";
77 pname = "pytest";
88
99 preCheck = ''
@@ -13,12 +13,12 @@ buildPythonPackage rec {
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− sha256 = "c2396a15726218a2dfef480861c4ba37bd3952ebaaa5b0fede3fc23fddcd7f8c";
16+ sha256 = "4a784f1d4f2ef198fe9b7aef793e9fa1a3b2f84e822d9b3a64a181293a572d45";
1717 };
1818
1919 checkInputs = [ hypothesis mock ];
2020 buildInputs = [ setuptools_scm ];
21− propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites]
21+ propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
2222 ++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
2323 ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
2424
pkgs/development/python-modules/scikit-build/default.nix+2−1
@@ -17,13 +17,14 @@ buildPythonPackage rec {
1717
1818 propagatedBuildInputs = [ wheel setuptools packaging ];
1919 checkInputs = [
20− cmake ninja cython codecov coverage six virtualenv pathpy
20+ cmake ninja cython codecov coverage six pathpy
2121 pytest pytestcov pytest-mock pytest-virtualenv pytestrunner
2222 requests flake8
2323 ];
2424
2525 disabledTests = lib.concatMapStringsSep " and " (s: "not " + s) ([
2626 "test_hello_develop" # tries setuptools develop install
27+ "test_source_distribution" # pip has no way to install missing dependencies
2728 "test_wheel" # pip has no way to install missing dependencies
2829 "test_fortran_compiler" # passes if gfortran is available
2930 "test_install_command" # tries to alter out path
pkgs/development/python-modules/scikitlearn/default.nix+8−7
@@ -1,22 +1,23 @@
1−{ stdenv, buildPythonPackage, fetchPypi
2−, gfortran, glibcLocales
3−, numpy, scipy, pytest, pillow
1+{ stdenv, buildPythonPackage, fetchPypi, python
2+, gfortran, glibcLocales, joblib, pythonOlder
3+, numpy, scipy, pytest, pillow, cython
44}:
55
66buildPythonPackage rec {
77 pname = "scikit-learn";
8− version = "0.20.3";
8+ version = "0.21.2";
99 # UnboundLocalError: local variable 'message' referenced before assignment
10− disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
10+ disabled = stdenv.isi686 || (pythonOlder "3.5"); # https://github.com/scikit-learn/scikit-learn/issues/5534
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "c503802a81de18b8b4d40d069f5e363795ee44b1605f38bc104160ca3bfe2c41";
14+ sha256 = "0aafc312a55ebf58073151b9308761a5fcfa45b7f7730cea4b1f066f824c72db";
1515 };
1616
1717 buildInputs = [ pillow gfortran glibcLocales ];
18− propagatedBuildInputs = [ numpy scipy numpy.blas ];
18+ propagatedBuildInputs = [ numpy scipy numpy.blas joblib ];
1919 checkInputs = [ pytest ];
20+ nativeBuildInputs = [ cython ];
2021
2122 LC_ALL="en_US.UTF-8";
2223
pkgs/development/python-modules/txaio/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pytest_3, mock, six, twisted,isPy37 }:
1+{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, six, twisted,isPy37 }:
22
33buildPythonPackage rec {
44 pname = "txaio";
@@ -9,7 +9,7 @@ buildPythonPackage rec {
99 sha256 = "67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe";
1010 };
1111
12− checkInputs = [ pytest_3 mock ];
12+ checkInputs = [ pytest mock ];
1313
1414 propagatedBuildInputs = [ six twisted ];
1515
@@ -17,8 +17,8 @@ buildPythonPackage rec {
1717 py.test -k "not test_sdist"
1818 '';
1919
20− # Needs some fixing for 3.7
21− doCheck = !isPy37;
20+ # Needs some fixing
21+ doCheck = false;
2222
2323 meta = with stdenv.lib; {
2424 description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
pkgs/development/python-modules/wcwidth/default.nix+3
@@ -11,6 +11,9 @@ buildPythonPackage rec {
1111
1212 checkInputs = [ pytest ];
1313
14+ # To prevent infinite recursion with pytest
15+ doCheck = false;
16+
1417 checkPhase = ''
1518 pytest
1619 '';
pkgs/development/python-modules/werkzeug/default.nix+1−8
@@ -14,19 +14,12 @@ buildPythonPackage rec {
1414 propagatedBuildInputs = [ itsdangerous ];
1515 checkInputs = [ pytest requests hypothesis ];
1616
17− # Hi! New version of Werkzeug? Please double-check that this commit is
18− # inclucded, and then remove the following patch.
19− # https://github.com/pallets/werkzeug/commit/1cfdcf9824cb20e362979e8f7734012926492165
20− patchPhase = ''
21− substituteInPlace "tests/test_serving.py" --replace "'python'" "sys.executable"
22− '';
23−
2417 checkPhase = ''
2518 pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
2619 '';
2720
2821 meta = with stdenv.lib; {
29− homepage = http://werkzeug.pocoo.org/;
22+ homepage = "https://palletsprojects.com/p/werkzeug/";
3023 description = "A WSGI utility library for Python";
3124 license = licenses.bsd3;
3225 };
pkgs/development/python-modules/whoosh/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pytest_3 }:
1+{ stdenv, buildPythonPackage, fetchPypi, pytest }:
22
33buildPythonPackage rec {
44 pname = "Whoosh";
@@ -8,11 +8,12 @@ buildPythonPackage rec {
88 sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
99 };
1010
11− checkInputs = [ pytest_3 ];
11+ checkInputs = [ pytest ];
1212
1313 # Wrong encoding
1414 postPatch = ''
1515 rm tests/test_reading.py
16+ substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
1617 '';
1718 checkPhase = ''
1819 # FIXME: test_minimize_dfa fails on python 3.6
@@ -25,6 +26,5 @@ checking library.";
2526 homepage = https://bitbucket.org/mchaput/whoosh;
2627 license = licenses.bsd2;
2728 maintainers = with maintainers; [ nand0p ];
28− platforms = platforms.all;
2929 };
3030}
pkgs/development/python-modules/zeep/default.nix+2−2
@@ -26,11 +26,11 @@
2626
2727buildPythonPackage rec {
2828 pname = "zeep";
29− version = "3.3.1";
29+ version = "3.4.0";
3030
3131 src = fetchPypi {
3232 inherit pname version;
33− sha256 = "f58328e36264a2fda2484dd20bb1695f4102a9cc918178d60c4d7cf8339c65d0";
33+ sha256 = "0e98669cfeb60756231ae185498f9ae21b30b2681786b8de58ed34c3b93e41dd";
3434 };
3535
3636 propagatedBuildInputs = [
pkgs/development/python-modules/zipp/default.nix+5−2
@@ -8,11 +8,11 @@
88
99buildPythonPackage rec {
1010 pname = "zipp";
11− version = "0.3.3";
11+ version = "0.5.1";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
15+ sha256 = "ca943a7e809cc12257001ccfb99e3563da9af99d52f261725e96dfe0f9275bc3";
1616 };
1717
1818 nativeBuildInputs = [ setuptools_scm ];
@@ -23,6 +23,9 @@ buildPythonPackage rec {
2323 pytest
2424 '';
2525
26+ # Prevent infinite recursion with pytest
27+ doCheck = false;
28+
2629 meta = with lib; {
2730 description = "Pathlib-compatible object wrapper for zip files";
2831 homepage = https://github.com/jaraco/zipp;
pkgs/development/tools/parsing/bison/3.x.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 pname = "bison";
5− version = "3.3.2";
5+ version = "3.4.1";
66
77 src = fetchurl {
88 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
9− sha256 = "1lfvns1f6xamz9905fakzkxh4zmk1wa9w33vxcq78fc5841ivnhg";
9+ sha256 = "15ah05gharrzcxs8q5pm9mli5dp5lw19nd95apzzmyqnqa4zq1vh";
1010 };
1111
1212 nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
pkgs/games/residualvm/default.nix+1−1
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
2−, libGLSupported
2+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
33, openglSupport ? libGLSupported, libGLU_combined ? null
44}:
55
pkgs/games/steam/chrootenv.nix+1−1
@@ -138,7 +138,7 @@ in buildFHSUserEnv rec {
138138 libidn
139139 tbb
140140 wayland
141− mesa_noglu
141+ mesa
142142 libxkbcommon
143143
144144 # Other things from runtime
pkgs/games/tdm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, binutils-unwrapped, scons, gnum4, p7zip, glibc_multi, mesa_noglu
1+{ stdenv, fetchurl, binutils-unwrapped, scons, gnum4, p7zip, glibc_multi, mesa
22, xorg, libGLU_combined, openal
33, lib, makeWrapper, makeDesktopItem }:
44
@@ -27,7 +27,7 @@ in stdenv.mkDerivation {
2727 p7zip scons gnum4 makeWrapper
2828 ];
2929 buildInputs = [
30− glibc_multi mesa_noglu.dev xorg.libX11.dev openal
30+ glibc_multi mesa.dev xorg.libX11.dev openal
3131 xorg.libXext.dev xorg.libXxf86vm.dev
3232 libGLU_combined
3333 ];
pkgs/misc/emulators/wine/base.nix+1−1
@@ -51,7 +51,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
5151 ++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
5252 ++ lib.optionals xmlSupport [ pkgs.libxml2 pkgs.libxslt ]
5353 ++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
54− ++ lib.optionals openglSupport [ pkgs.libGLU_combined pkgs.mesa_noglu.osmesa pkgs.libdrm ]
54+ ++ lib.optionals openglSupport [ pkgs.libGLU_combined pkgs.mesa.osmesa pkgs.libdrm ]
5555 ++ lib.optionals stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
5656 CoreServices Foundation ForceFeedback AppKit OpenGL IOKit DiskArbitration Security
5757 ApplicationServices AudioToolbox CoreAudio AudioUnit CoreMIDI OpenAL OpenCL Cocoa Carbon
pkgs/os-specific/linux/bluez/default.nix+14−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
2− python3, readline, udev, libical, systemd,
2+ python3, readline, udev, libical, systemd, fetchpatch,
33 enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
44
55stdenv.mkDerivation rec {
@@ -23,7 +23,19 @@ stdenv.mkDerivation rec {
2323
2424 outputs = [ "out" "dev" "test" ];
2525
26− patches = [ ./bluez-5.37-obexd_without_systemd-1.patch ];
26+ patches = [
27+ ./bluez-5.37-obexd_without_systemd-1.patch
28+ (fetchpatch {
29+ url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=1880b299086659844889cdaf687133aca5eaf102";
30+ name = "CVE-2018-10910-1.patch";
31+ sha256 = "17spsxza27gif8jpxk7360ynvwii1llfdfwg35rwywjjmvww0qj4";
32+ })
33+ (fetchpatch {
34+ url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=9213ff7642a33aa481e3c61989ad60f7985b9984";
35+ name = "CVE-2018-10910-2.patch";
36+ sha256 = "0j7klbhym64yhn86dbsmybqmwx47bviyyhx931izl1p29z2mg8hn";
37+ })
38+ ];
2739
2840 postConfigure = ''
2941 substituteInPlace tools/hid2hci.rules \
pkgs/os-specific/linux/kmscube/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa_noglu, pkgconfig }:
1+{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 name = "kmscube-2018-06-17";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 nativeBuildInputs = [ autoreconfHook pkgconfig ];
13− buildInputs = [ libdrm libX11 libGL mesa_noglu ];
13+ buildInputs = [ libdrm libX11 libGL mesa ];
1414
1515 meta = with stdenv.lib; {
1616 description = "Example OpenGL app using KMS/GBM";
pkgs/servers/x11/xorg/default.nix+4−4
@@ -1768,7 +1768,7 @@ lib.makeScope newScope (self: with self; {
17681768 meta.platforms = stdenv.lib.platforms.unix;
17691769 }) {};
17701770
1771− xf86videoamdgpu = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa_noglu, libGL, libdrm, udev, xorgserver }: stdenv.mkDerivation {
1771+ xf86videoamdgpu = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa, libGL, libdrm, udev, xorgserver }: stdenv.mkDerivation {
17721772 name = "xf86-video-amdgpu-19.0.1";
17731773 builder = ./builder.sh;
17741774 src = fetchurl {
@@ -1777,7 +1777,7 @@ lib.makeScope newScope (self: with self; {
17771777 };
17781778 hardeningDisable = [ "bindnow" "relro" ];
17791779 nativeBuildInputs = [ pkgconfig ];
1780− buildInputs = [ xorgproto mesa_noglu libGL libdrm udev xorgserver ];
1780+ buildInputs = [ xorgproto mesa libGL libdrm udev xorgserver ];
17811781 meta.platforms = stdenv.lib.platforms.unix;
17821782 }) {};
17831783
@@ -1820,7 +1820,7 @@ lib.makeScope newScope (self: with self; {
18201820 meta.platforms = stdenv.lib.platforms.unix;
18211821 }) {};
18221822
1823− xf86videoati = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa_noglu, libGL, libdrm, udev, libpciaccess, xorgserver }: stdenv.mkDerivation {
1823+ xf86videoati = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa, libGL, libdrm, udev, libpciaccess, xorgserver }: stdenv.mkDerivation {
18241824 name = "xf86-video-ati-19.0.1";
18251825 builder = ./builder.sh;
18261826 src = fetchurl {
@@ -1829,7 +1829,7 @@ lib.makeScope newScope (self: with self; {
18291829 };
18301830 hardeningDisable = [ "bindnow" "relro" ];
18311831 nativeBuildInputs = [ pkgconfig ];
1832− buildInputs = [ xorgproto mesa_noglu libGL libdrm udev libpciaccess xorgserver ];
1832+ buildInputs = [ xorgproto mesa libGL libdrm udev libpciaccess xorgserver ];
18331833 meta.platforms = stdenv.lib.platforms.unix;
18341834 }) {};
18351835
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl+1−1
@@ -36,7 +36,7 @@ $pcMap{"uuid"} = "libuuid";
3636$pcMap{"libudev"} = "udev";
3737$pcMap{"gl"} = "libGL";
3838$pcMap{"GL"} = "libGL";
39−$pcMap{"gbm"} = "mesa_noglu";
39+$pcMap{"gbm"} = "mesa";
4040$pcMap{"\$PIXMAN"} = "pixman";
4141$pcMap{"\$RENDERPROTO"} = "xorgproto";
4242$pcMap{"\$DRI3PROTO"} = "xorgproto";
pkgs/servers/x11/xorg/overrides.nix+3−3
@@ -3,7 +3,7 @@
33 automake, autoconf, gettext, libiconv, libtool, intltool,
44 freetype, tradcpp, fontconfig, meson, ninja,
55 libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm,
6− mesa_noglu, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
6+ mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
77 mcpp, epoxy, openssl, pkgconfig, llvm_6,
88 cf-private, ApplicationServices, Carbon, Cocoa, Xplugin
99}:
@@ -382,7 +382,7 @@ self: super:
382382 });
383383
384384 xf86videovmware = super.xf86videovmware.overrideAttrs (attrs: {
385− buildInputs = attrs.buildInputs ++ [ mesa_noglu llvm_6 ]; # for libxatracker
385+ buildInputs = attrs.buildInputs ++ [ mesa llvm_6 ]; # for libxatracker
386386 meta = attrs.meta // {
387387 platforms = ["i686-linux" "x86_64-linux"];
388388 };
@@ -507,7 +507,7 @@ self: super:
507507 if (!isDarwin)
508508 then {
509509 outputs = [ "out" "dev" ];
510− buildInputs = commonBuildInputs ++ [ libdrm mesa_noglu ];
510+ buildInputs = commonBuildInputs ++ [ libdrm mesa ];
511511 propagatedBuildInputs = [ libpciaccess epoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
512512 udev
513513 ];
pkgs/tools/X11/primus/lib.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, fetchpatch
2−, libX11, libGL, mesa_noglu
2+, libX11, libGL, mesa
33, nvidia_x11 ? null
44, libglvnd
55}:
@@ -33,7 +33,7 @@ in stdenv.mkDerivation {
3333 makeFlags = [ "LIBDIR=$(out)/lib"
3434 "PRIMUS_libGLa=${aPackage}/lib/libGL.so"
3535 "PRIMUS_libGLd=${libGL}/lib/libGL.so"
36− "PRIMUS_LOAD_GLOBAL=${mesa_noglu}/lib/libglapi.so"
36+ "PRIMUS_LOAD_GLOBAL=${mesa}/lib/libglapi.so"
3737 ];
3838
3939 installPhase = ''
pkgs/tools/graphics/asymptote/default.nix+2−2
@@ -1,6 +1,6 @@
11{stdenv, fetchurl, fetchpatch
22 , freeglut, ghostscriptX, imagemagick, fftw
3− , boehmgc, libGLU, libGL, mesa_noglu, ncurses, readline, gsl, libsigsegv
3+ , boehmgc, libGLU, libGL, mesa, ncurses, readline, gsl, libsigsegv
44 , python, zlib, perl, texLive, texinfo, xz
55, darwin
66}:
@@ -20,7 +20,7 @@ let
2020 boehmgc ncurses readline gsl libsigsegv
2121 python zlib perl texLive texinfo xz ]
2222 ++ stdenv.lib.optionals stdenv.isLinux
23− [ freeglut libGLU libGL mesa_noglu.osmesa ]
23+ [ freeglut libGLU libGL mesa.osmesa ]
2424 ++ stdenv.lib.optionals stdenv.isDarwin
2525 (with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
2626 ;
pkgs/tools/graphics/glmark2/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub, pkgconfig, libjpeg, libpng, xorg, libX11, libGL, libdrm,
2− python27, wayland, udev, mesa_noglu, wafHook }:
2+ python27, wayland, udev, mesa, wafHook }:
33
44stdenv.mkDerivation rec {
55 name = "glmark2-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 nativeBuildInputs = [ pkgconfig wafHook ];
1616 buildInputs = [
17− libjpeg libpng xorg.libxcb libX11 libGL libdrm python27 wayland udev mesa_noglu
17+ libjpeg libpng xorg.libxcb libX11 libGL libdrm python27 wayland udev mesa
1818 ];
1919
2020 wafConfigureFlags = ["--with-flavors=x11-gl,x11-glesv2,drm-gl,drm-glesv2,wayland-gl,wayland-glesv2"];
pkgs/tools/misc/coreutils/default.nix+4
@@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
3636 sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh
3737 sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh
3838
39+ # Some target platforms, especially when building inside a container have
40+ # issues with the inotify test.
41+ sed '2i echo Skipping tail inotify dir recreate test && exit 77' -i ./tests/tail-2/inotify-dir-recreate.sh
42+
3943 # sandbox does not allow setgid
4044 sed '2i echo Skipping chmod setgid test && exit 77' -i ./tests/chmod/setgid.sh
4145 substituteInPlace ./tests/install/install-C.sh \
pkgs/tools/misc/less/default.nix+5−4
@@ -1,11 +1,12 @@
11{ stdenv, fetchurl, ncurses, lessSecure ? false }:
22
33stdenv.mkDerivation rec {
4− name = "less-530";
4+ pname = "less";
5+ version = "551";
56
67 src = fetchurl {
7− url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
8− sha256 = "1qpj2z38c53qmvqn8jaa0kq26q989cfbfjj4y0s6z17l1amr2gsh";
8+ url = "http://www.greenwoodsoftware.com/${pname}/${pname}-${version}.tar.gz";
9+ sha256 = "0ggyjl3yzn7c450zk1rixi9ls6asdhgqynhk34zsd0ckhmsm45pz";
910 };
1011
1112 configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc.
@@ -18,6 +19,6 @@ stdenv.mkDerivation rec {
1819 description = "A more advanced file pager than ‘more’";
1920 platforms = platforms.unix;
2021 license = licenses.gpl3;
21− maintainers = [ maintainers.eelco ];
22+ maintainers = with maintainers; [ eelco dtzWill ];
2223 };
2324}
pkgs/tools/networking/network-manager/default.nix+2−2
@@ -11,11 +11,11 @@ let
1111 pythonForDocs = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]);
1212in stdenv.mkDerivation rec {
1313 name = "network-manager-${version}";
14− version = "1.18.0";
14+ version = "1.18.1";
1515
1616 src = fetchurl {
1717 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
18− sha256 = "19lb5afx4iq8dgfsy26x9j4194v8f64vwr3nq6dk1ix3wljxzs66";
18+ sha256 = "07vg2ryyjaxs5h8kmkwqhk4ki750c4di98g0i7h7zglfs16psiqd";
1919 };
2020
2121 outputs = [ "out" "dev" "devdoc" "man" "doc" ];
pkgs/tools/networking/openconnect/default.nix+2−2
@@ -4,13 +4,13 @@ assert (openssl != null) == (gnutls == null);
44
55stdenv.mkDerivation rec {
66 pname = "openconnect";
7− version = "8.02";
7+ version = "8.03";
88
99 src = fetchurl {
1010 urls = [
1111 "ftp://ftp.infradead.org/pub/openconnect/${pname}-${version}.tar.gz"
1212 ];
13− sha256 = "04p0vzc1791h68hd9803wsyb64zrwm8qpdqx0szhj9pig71g5a0w";
13+ sha256 = "1wlypi68kqqg2mdck8wvf6aanhrmf9i7z6lngyxvcrp23jdzz34h";
1414 };
1515
1616 outputs = [ "out" "dev" ];
pkgs/tools/security/enpass/default.nix+2−2
@@ -2,7 +2,7 @@
22, glib, libGLU_combined, libpulseaudio, zlib, dbus, fontconfig, freetype
33, gtk3, pango
44, makeWrapper , python, pythonPackages, lib
5−, lsof, curl, libuuid, cups, mesa_drivers
5+, lsof, curl, libuuid, cups, mesa
66}:
77
88let
@@ -18,7 +18,7 @@ let
1818
1919 # used of both wrappers and libpath
2020 libPath = lib.makeLibraryPath (with xorg; [
21− mesa_drivers
21+ mesa.drivers
2222 libGLU_combined
2323 fontconfig
2424 freetype
pkgs/top-level/aliases.nix+7
@@ -174,6 +174,7 @@ mapAliases ({
174174 libgnome_keyring = libgnome-keyring; # added 2018-02-25
175175 libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
176176 libgumbo = gumbo; # added 2018-01-21
177+ libGL_driver = mesa.drivers;
177178 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14
178179 libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
179180 liblapackWithoutAtlas = liblapack; # added 2018-11-05
@@ -193,6 +194,12 @@ mapAliases ({
193194 man_db = man-db; # added 2016-05
194195 manpages = man-pages; # added 2015-12-06
195196 memtest86 = memtest86plus; # added 2019-05-08
197+ mesa_noglu = mesa; # added 2019-05-28
198+ # NOTE: 2018-07-12: legacy alias:
199+ # gcsecurity bussiness is done: https://www.theregister.co.uk/2018/02/08/bruce_perens_grsecurity_anti_slapp/
200+ # floating point textures patents are expired,
201+ # so package reduced to alias
202+ mesa_drivers = mesa.drivers;
196203 midoriWrapper = midori; # added 2015-01
197204 mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
198205 mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
pkgs/top-level/all-packages.nix+4−22
@@ -1083,9 +1083,7 @@ in
10831083
10841084 blockdiag = with python3Packages; toPythonApplication blockdiag;
10851085
1086− blsd = callPackage ../tools/misc/blsd {
1087− libgit2 = libgit2_0_27;
1088− };
1086+ blsd = callPackage ../tools/misc/blsd { };
10891087
10901088 bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { };
10911089
@@ -10216,7 +10214,7 @@ in
1021610214 # Multi-arch "drivers" which we want to build for i686.
1021710215 driversi686Linux = recurseIntoAttrs {
1021810216 inherit (pkgsi686Linux)
10219− mesa_drivers
10217+ mesa
1022010218 vaapiIntel
1022110219 libvdpau-va-gl
1022210220 vaapiVdpau
@@ -10512,10 +10510,6 @@ in
1051210510 inherit (darwin.apple_sdk.frameworks) Security;
1051310511 };
1051410512
10515− libgit2_0_27 = callPackage ../development/libraries/git2/0.27.nix {
10516− inherit (darwin.apple_sdk.frameworks) Security;
10517− };
10518−
1051910513 libgit2-glib = callPackage ../development/libraries/libgit2-glib { };
1052010514
1052110515 glbinding = callPackage ../development/libraries/glbinding { };
@@ -12236,7 +12230,7 @@ in
1223612230 # libGL.so/libEGL.so/... to link agains them. Android NDK provides
1223712231 # an OpenGL implementation, we can just use that.
1223812232 libGL = if stdenv.hostPlatform.useAndroidPrebuilt then stdenv
12239− else mesa_noglu.stubs;
12233+ else mesa.stubs;
1224012234
1224112235 # Default libGLU
1224212236 libGLU = mesa_glu;
@@ -12251,29 +12245,17 @@ in
1225112245 extraOutputsToInstall = [ "dev" ];
1225212246 };
1225312247
12254− # Default derivation with libGL.so.1 to link into /run/opengl-drivers (if need)
12255− libGL_driver = mesa_drivers;
12256−
12257− libGLSupported = lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms;
12258−
12259− mesa_noglu = callPackage ../development/libraries/mesa {
12248+ mesa = callPackage ../development/libraries/mesa {
1226012249 # 7 is the default, but only on Linux, so keep this for now
1226112250 llvmPackages = llvmPackages_7;
1226212251 inherit (darwin.apple_sdk.frameworks) OpenGL;
1226312252 inherit (darwin.apple_sdk.libs) Xplugin;
1226412253 };
12265− mesa = mesa_noglu;
1226612254
1226712255 mesa_glu = callPackage ../development/libraries/mesa-glu {
1226812256 inherit (darwin.apple_sdk.frameworks) ApplicationServices;
1226912257 };
1227012258
12271− # NOTE: 2018-07-12: legacy alias:
12272− # gcsecurity bussiness is done: https://www.theregister.co.uk/2018/02/08/bruce_perens_grsecurity_anti_slapp/
12273− # floating point textures patents are expired,
12274− # so package reduced to alias
12275− mesa_drivers = mesa_noglu.drivers;
12276−
1227712259 ## End libGL/libGLU/Mesa stuff
1227812260
1227912261 meterbridge = callPackage ../applications/audio/meterbridge { };
pkgs/top-level/python-packages.nix+10−2
@@ -250,6 +250,10 @@ in {
250250
251251 azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
252252
253+ azure-cli-core = callPackage ../development/python-modules/azure-cli-core { };
254+
255+ azure-cli-telemetry = callPackage ../development/python-modules/azure-cli-telemetry { };
256+
253257 azure-common = callPackage ../development/python-modules/azure-common { };
254258
255259 azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
@@ -1090,6 +1094,8 @@ in {
10901094
10911095 amqplib = callPackage ../development/python-modules/amqplib {};
10921096
1097+ antlr4-python2-runtime = callPackage ../development/python-modules/antlr4-python2-runtime {};
1098+
10931099 antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {};
10941100
10951101 apipkg = callPackage ../development/python-modules/apipkg {};
@@ -1688,9 +1694,9 @@ in {
16881694
16891695 pyhepmc = callPackage ../development/python-modules/pyhepmc { };
16901696
1691− pytest = self.pytest_42;
1697+ pytest = self.pytest_4;
16921698
1693− pytest_42 = callPackage ../development/python-modules/pytest {
1699+ pytest_4 = callPackage ../development/python-modules/pytest {
16941700 # hypothesis tests require pytest that causes dependency cycle
16951701 hypothesis = self.hypothesis.override { doCheck = false; };
16961702 };
@@ -3158,6 +3164,8 @@ in {
31583164
31593165 kitchen = callPackage ../development/python-modules/kitchen { };
31603166
3167+ knack = callPackage ../development/python-modules/knack { };
3168+
31613169 kubernetes = callPackage ../development/python-modules/kubernetes { };
31623170
31633171 pylast = callPackage ../development/python-modules/pylast { };