Merge staging into staging-next
This commit is contained in:
commit
63dd7b7ac7
@ -11,9 +11,9 @@ let
|
|||||||
videoDrivers = config.services.xserver.videoDrivers;
|
videoDrivers = config.services.xserver.videoDrivers;
|
||||||
|
|
||||||
makePackage = p: pkgs.buildEnv {
|
makePackage = p: pkgs.buildEnv {
|
||||||
name = "mesa-drivers+txc-${p.mesa_drivers.version}";
|
name = "mesa-drivers+txc-${p.mesa.version}";
|
||||||
paths =
|
paths =
|
||||||
[ p.mesa_drivers
|
[ p.mesa.drivers
|
||||||
(if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
|
(if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
|
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
|
||||||
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
|
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
|
||||||
, epoxy, poppler, mesa_noglu, lirc }:
|
, epoxy, poppler, mesa, lirc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fbida-2.14";
|
name = "fbida-2.14";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
||||||
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
|
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
|
||||||
mesa_noglu
|
mesa
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
|
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
|
||||||
|
@ -54,7 +54,7 @@ let
|
|||||||
# Higan // TODO: "higan is not available for the x86_64 architecture"
|
# Higan // TODO: "higan is not available for the x86_64 architecture"
|
||||||
|
|
||||||
# Libretro
|
# Libretro
|
||||||
fluidsynth hidapi mesa_noglu libdrm
|
fluidsynth hidapi mesa libdrm
|
||||||
|
|
||||||
# MAME
|
# MAME
|
||||||
qt48 fontconfig SDL2_ttf
|
qt48 fontconfig SDL2_ttf
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{fetchFromGitHub, libgit2_0_27, ...}:
|
{fetchFromGitHub, libgit2, ...}:
|
||||||
|
|
||||||
libgit2_0_27.overrideAttrs (oldAttrs: rec {
|
libgit2.overrideAttrs (oldAttrs: rec {
|
||||||
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||||
"-DUSE_BUNDLED_ZLIB=ON"
|
"-DUSE_BUNDLED_ZLIB=ON"
|
||||||
"-DUSE_ICONV=OFF"
|
"-DUSE_ICONV=OFF"
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }:
|
{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2, ncurses, pkgconfig, readline }:
|
||||||
let
|
let
|
||||||
version = "0.3.1";
|
version = "0.3.1";
|
||||||
in
|
in
|
||||||
buildGoPackage {
|
buildGoPackage {
|
||||||
name = "grv-${version}";
|
name = "grv-${version}";
|
||||||
|
|
||||||
buildInputs = [ ncurses readline curl libgit2_0_27 ];
|
buildInputs = [ ncurses readline curl libgit2 ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
goPackagePath = "github.com/rgburke/grv";
|
goPackagePath = "github.com/rgburke/grv";
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
, usbredirSupport ? spiceSupport, usbredir
|
, usbredirSupport ? spiceSupport, usbredir
|
||||||
, xenSupport ? false, xen
|
, xenSupport ? false, xen
|
||||||
, cephSupport ? false, ceph
|
, cephSupport ? false, ceph
|
||||||
, openGLSupport ? sdlSupport, mesa_noglu, epoxy, libdrm
|
, openGLSupport ? sdlSupport, mesa, epoxy, libdrm
|
||||||
, virglSupport ? openGLSupport, virglrenderer
|
, virglSupport ? openGLSupport, virglrenderer
|
||||||
, smbdSupport ? false, samba
|
, smbdSupport ? false, samba
|
||||||
, hostCpuOnly ? false
|
, hostCpuOnly ? false
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ]
|
++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ]
|
||||||
++ optionals xenSupport [ xen ]
|
++ optionals xenSupport [ xen ]
|
||||||
++ optionals cephSupport [ ceph ]
|
++ optionals cephSupport [ ceph ]
|
||||||
++ optionals openGLSupport [ mesa_noglu epoxy libdrm ]
|
++ optionals openGLSupport [ mesa epoxy libdrm ]
|
||||||
++ optionals virglSupport [ virglrenderer ]
|
++ optionals virglSupport [ virglrenderer ]
|
||||||
++ optionals smbdSupport [ samba ];
|
++ optionals smbdSupport [ samba ];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, wayland, libGL, mesa_noglu, libxkbcommon, cairo, libxcb
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, wayland, libGL, mesa, libxkbcommon, cairo, libxcb
|
||||||
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
|
, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
|
||||||
, colord, lcms2
|
, colord, lcms2
|
||||||
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wayland libGL mesa_noglu libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
|
wayland libGL mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
|
||||||
mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
|
mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
|
||||||
libwebp wayland-protocols
|
libwebp wayland-protocols
|
||||||
colord lcms2
|
colord lcms2
|
||||||
|
@ -149,7 +149,7 @@ rec {
|
|||||||
libidn
|
libidn
|
||||||
tbb
|
tbb
|
||||||
wayland
|
wayland
|
||||||
mesa_noglu
|
mesa
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
|
||||||
flac
|
flac
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, libsndfile, xorg, libdrm, libxkbcommon, udev, utillinux, bullet, luajit
|
, libsndfile, xorg, libdrm, libxkbcommon, udev, utillinux, bullet, luajit
|
||||||
, python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg
|
, python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg
|
||||||
, dbus, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp
|
, dbus, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp
|
||||||
, curl, libinput, systemd, mesa_noglu, writeText, gtk3
|
, curl, libinput, systemd, mesa, writeText, gtk3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gtk3 ];
|
nativeBuildInputs = [ pkgconfig gtk3 ];
|
||||||
|
|
||||||
buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa_noglu
|
buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa
|
||||||
giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||||
gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.xorgproto
|
gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.xorgproto
|
||||||
xorg.libX11 udev systemd ];
|
xorg.libX11 udev systemd ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, efl,
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, efl,
|
||||||
xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib,
|
xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib,
|
||||||
luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa_noglu,
|
luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa,
|
||||||
xkeyboard_config, pcre
|
xkeyboard_config, pcre
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
libpthreadstubs
|
libpthreadstubs
|
||||||
gdbm
|
gdbm
|
||||||
pcre
|
pcre
|
||||||
mesa_noglu
|
mesa
|
||||||
xkeyboard_config
|
xkeyboard_config
|
||||||
] ++
|
] ++
|
||||||
stdenv.lib.optionals stdenv.isLinux [ libcap ];
|
stdenv.lib.optionals stdenv.isLinux [ libcap ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
|
{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ephoto-${version}";
|
name = "ephoto-${version}";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
(pkgconfig.override { vanilla = true; })
|
(pkgconfig.override { vanilla = true; })
|
||||||
mesa_noglu.dev # otherwise pkg-config does not find gbm
|
mesa.dev # otherwise pkg-config does not find gbm
|
||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa_noglu, wrapGAppsHook }:
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rage-${version}";
|
name = "rage-${version}";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
(pkgconfig.override { vanilla = true; })
|
(pkgconfig.override { vanilla = true; })
|
||||||
mesa_noglu.dev
|
mesa.dev
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "terminology";
|
pname = "terminology";
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
efl
|
efl
|
||||||
pcre
|
pcre
|
||||||
mesa_noglu
|
mesa
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ llvmPackages, lib, fetchFromGitHub, cmake
|
{ llvmPackages, lib, fetchFromGitHub, cmake
|
||||||
, libpng, libjpeg, mesa_noglu, eigen, openblas
|
, libpng, libjpeg, mesa, eigen, openblas
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -37,7 +37,7 @@ in llvmPackages.stdenv.mkDerivation {
|
|||||||
# Note: only openblas and not atlas part of this Nix expression
|
# Note: only openblas and not atlas part of this Nix expression
|
||||||
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
|
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
|
||||||
# to get a hint howto setup atlas instead of openblas
|
# to get a hint howto setup atlas instead of openblas
|
||||||
buildInputs = [ llvmPackages.llvm libpng libjpeg mesa_noglu eigen openblas ];
|
buildInputs = [ llvmPackages.llvm libpng libjpeg mesa eigen openblas ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
(rec {
|
(rec {
|
||||||
name = "guile-${version}";
|
name = "guile-${version}";
|
||||||
version = "2.2.3";
|
version = "2.2.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/guile/${name}.tar.xz";
|
url = "mirror://gnu/guile/${name}.tar.xz";
|
||||||
sha256 = "11j01agvnci2cx32wwpqs9078856yxmvs15gcsz7ganpkj2ahlw3";
|
sha256 = "07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "info" ];
|
outputs = [ "out" "dev" "info" ];
|
||||||
@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./eai_system.patch
|
./eai_system.patch
|
||||||
./riscv.patch
|
|
||||||
] ++ stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch
|
] ++ stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch
|
||||||
++ stdenv.lib.optional stdenv.isDarwin (fetchpatch {
|
++ stdenv.lib.optional stdenv.isDarwin (fetchpatch {
|
||||||
url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch";
|
url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, config, libGLSupported, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
|
{ stdenv, config, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
|
||||||
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, openglSupport ? libGLSupported, libGL, libGLU
|
, openglSupport ? libGLSupported, libGL, libGLU
|
||||||
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
|
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
|
||||||
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
|
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, config, libGLSupported, fetchurl, pkgconfig
|
{ stdenv, config, fetchurl, pkgconfig
|
||||||
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, openglSupport ? libGLSupported, libGL
|
, openglSupport ? libGLSupported, libGL
|
||||||
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
|
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
|
||||||
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
|
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, pkgconfig, libatomic_ops
|
{ lib, stdenv, fetchurl
|
||||||
, enableLargeConfig ? false # doc: https://github.com/ivmai/bdwgc/blob/v7.6.6/doc/README.macros#L179
|
, enableLargeConfig ? false # doc: https://github.com/ivmai/bdwgc/blob/v7.6.6/doc/README.macros#L179
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,9 +14,6 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3";
|
sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libatomic_ops ];
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ];
|
outputs = [ "out" "dev" "doc" ];
|
||||||
separateDebugInfo = stdenv.isLinux;
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
@ -29,20 +26,12 @@ stdenv.mkDerivation rec {
|
|||||||
lib.optional stdenv.hostPlatform.isRiscV ./riscv.patch;
|
lib.optional stdenv.hostPlatform.isRiscV ./riscv.patch;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--enable-cplusplus" ]
|
[ "--enable-cplusplus" "--with-libatomic-ops=none" ]
|
||||||
++ lib.optional enableLargeConfig "--enable-large-config"
|
++ lib.optional enableLargeConfig "--enable-large-config"
|
||||||
++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static"
|
++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static";
|
||||||
# Configure script can't detect whether C11 atomic intrinsics are available
|
|
||||||
# when cross-compiling, so it links to libatomic_ops, which has to be
|
|
||||||
# propagated to all dependencies. To avoid this, assume that the intrinsics
|
|
||||||
# are available.
|
|
||||||
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--with-libatomic-ops=none";
|
|
||||||
|
|
||||||
doCheck = true; # not cross;
|
doCheck = true; # not cross;
|
||||||
|
|
||||||
# Don't run the native `strip' when cross-compiling.
|
|
||||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, x11Support? !stdenv.isDarwin, libXext, libXrender
|
, x11Support? !stdenv.isDarwin, libXext, libXrender
|
||||||
, gobjectSupport ? true, glib
|
, gobjectSupport ? true, glib
|
||||||
, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
|
, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
|
, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
|
||||||
, libGL ? null # libGLU_combined is no longer a big dependency
|
, libGL ? null # libGLU_combined is no longer a big dependency
|
||||||
, pdfSupport ? true
|
, pdfSupport ? true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
||||||
, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
|
, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
|
||||||
, mesa_noglu
|
, mesa
|
||||||
, gstreamerSupport ? true, gst_all_1 }:
|
, gstreamerSupport ? true, gst_all_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
|
||||||
|
|
||||||
propagatedBuildInputs = with xorg; [
|
propagatedBuildInputs = with xorg; [
|
||||||
glib gdk_pixbuf gobject-introspection wayland mesa_noglu
|
glib gdk_pixbuf gobject-introspection wayland mesa
|
||||||
libGL libXrandr libXfixes libXcomposite libXdamage
|
libGL libXrandr libXfixes libXcomposite libXdamage
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
||||||
|
@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
|
|||||||
&& libSM != null;
|
&& libSM != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.12.14";
|
version = "1.12.16";
|
||||||
sha256 = "13aca7gzgl7z1dfdipfs23773w8n6z01d4rj5kmssv4gms8c5ya4";
|
sha256 = "107ckxaff1cv4q6kmfdi2fb1nlsv03312a7kf6lb4biglhpjv8jl";
|
||||||
|
|
||||||
self = stdenv.mkDerivation {
|
self = stdenv.mkDerivation {
|
||||||
name = "dbus-${version}";
|
name = "dbus-${version}";
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, python
|
|
||||||
, zlib, libssh2, openssl, http-parser, curl
|
|
||||||
, libiconv, Security
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
version = "0.27.8";
|
|
||||||
name = "libgit2-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "libgit2";
|
|
||||||
repo = "libgit2";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
|
|
||||||
};
|
|
||||||
|
|
||||||
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python pkgconfig ];
|
|
||||||
|
|
||||||
buildInputs = [ zlib libssh2 openssl http-parser curl ]
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
|
||||||
|
|
||||||
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
doCheck = false; # hangs. or very expensive?
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "The Git linkable library";
|
|
||||||
homepage = https://libgit2.github.com/;
|
|
||||||
license = stdenv.lib.licenses.gpl2;
|
|
||||||
platforms = with stdenv.lib.platforms; all;
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,18 +1,18 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, cmake
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, python
|
||||||
, zlib, python, libssh2, openssl, curl, http-parser
|
, zlib, libssh2, openssl, http-parser, curl
|
||||||
, libiconv, Security
|
, libiconv, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libgit2-${version}";
|
pname = "libgit2";
|
||||||
version = "0.26.6";
|
version = "0.27.8";
|
||||||
# keep the version in sync with pythonPackages.pygit2 and libgit2-glib
|
# keep the version in sync with pythonPackages.pygit2 and libgit2-glib
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "libgit2";
|
owner = "libgit2";
|
||||||
repo = "libgit2";
|
repo = "libgit2";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3";
|
sha256 = "0wzx8nkyy9m7mx6cks58chjd4289vjsw97mxm9w6f1ggqsfnmbr9";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
cmakeFlags = [ "-DTHREADSAFE=ON" ];
|
||||||
@ -22,17 +22,16 @@ stdenv.mkDerivation (rec {
|
|||||||
buildInputs = [ zlib libssh2 openssl http-parser curl ]
|
buildInputs = [ zlib libssh2 openssl http-parser curl ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) [ libiconv ];
|
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = false; # hangs. or very expensive?
|
doCheck = false; # hangs. or very expensive?
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "The Git linkable library";
|
description = "The Git linkable library";
|
||||||
homepage = https://libgit2.github.com/;
|
homepage = https://libgit2.github.com/;
|
||||||
license = licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = with platforms; all;
|
platforms = with stdenv.lib.platforms; all;
|
||||||
};
|
};
|
||||||
} // stdenv.lib.optionalAttrs (!stdenv.isLinux) {
|
}
|
||||||
})
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection, fribidi
|
, expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection, fribidi
|
||||||
, xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3, autoreconfHook, gsettings-desktop-schemas
|
, xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3, autoreconfHook, gsettings-desktop-schemas
|
||||||
, x11Support ? stdenv.isLinux
|
, x11Support ? stdenv.isLinux
|
||||||
, waylandSupport ? stdenv.isLinux, mesa_noglu, wayland, wayland-protocols
|
, waylandSupport ? stdenv.isLinux, mesa, wayland, wayland-protocols
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux, cups ? null
|
, cupsSupport ? stdenv.isLinux, cups ? null
|
||||||
, AppKit, Cocoa
|
, AppKit, Cocoa
|
||||||
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
[ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gsettings-desktop-schemas fribidi
|
[ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gsettings-desktop-schemas fribidi
|
||||||
libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
|
libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
|
||||||
++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
|
++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
|
||||||
++ optionals waylandSupport [ mesa_noglu wayland wayland-protocols ]
|
++ optionals waylandSupport [ mesa wayland wayland-protocols ]
|
||||||
++ optional xineramaSupport libXinerama
|
++ optional xineramaSupport libXinerama
|
||||||
++ optional cupsSupport cups;
|
++ optional cupsSupport cups;
|
||||||
#TODO: colord?
|
#TODO: colord?
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libmicrohttpd-${version}";
|
name = "libmicrohttpd-${version}";
|
||||||
version = "0.9.63";
|
version = "0.9.64";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/libmicrohttpd/${name}.tar.gz";
|
url = "mirror://gnu/libmicrohttpd/${name}.tar.gz";
|
||||||
sha256 = "173lj66crwvhzwp1r812sc5h1hda7g6lb9l1y5zf7w3pw4dnzhrp";
|
sha256 = "03imzkd1hl2mkkpi84vg5xq9x6b58gwsv86ym85km0lhb7nxi4p7";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" "info" ];
|
outputs = [ "out" "dev" "devdoc" "info" ];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, fetchurl, libX11, pkgconfig, libXext, libdrm, libXfixes, wayland, libffi
|
{ stdenv, lib, fetchurl, libX11, pkgconfig, libXext, libdrm, libXfixes, wayland, libffi
|
||||||
, libGL, libGL_driver
|
, libGL, mesa
|
||||||
, minimal ? false, libva1-minimal
|
, minimal ? false, libva1-minimal
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
# Add FHS paths for non-NixOS applications.
|
# Add FHS paths for non-NixOS applications.
|
||||||
[ "--with-drivers-path=${libGL_driver.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ] ++
|
[ "--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ] ++
|
||||||
lib.optionals (!minimal) [ "--enable-glx" ];
|
lib.optionals (!minimal) [ "--enable-glx" ];
|
||||||
|
|
||||||
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||||
, libXext, libdrm, libXfixes, wayland, libffi, libX11
|
, libXext, libdrm, libXfixes, wayland, libffi, libX11
|
||||||
, libGL, libGL_driver
|
, libGL, mesa
|
||||||
, minimal ? false, libva-minimal
|
, minimal ? false, libva-minimal
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
# Add FHS paths for non-NixOS applications.
|
# Add FHS paths for non-NixOS applications.
|
||||||
"--with-drivers-path=${libGL_driver.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
|
"--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
|
||||||
] ++ lib.optionals (!minimal) [ "--enable-glx" ];
|
] ++ lib.optionals (!minimal) [ "--enable-glx" ];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, xorg, libGL_driver }:
|
{ stdenv, fetchurl, pkgconfig, xorg, mesa }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libvdpau-${version}";
|
name = "libvdpau-${version}";
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs = [ xorg.libX11 ];
|
propagatedBuildInputs = [ xorg.libX11 ];
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optional stdenv.isLinux
|
configureFlags = stdenv.lib.optional stdenv.isLinux
|
||||||
"--with-module-dir=${libGL_driver.driverLink}/lib/vdpau";
|
"--with-module-dir=${mesa.drivers.driverLink}/lib/vdpau";
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null;
|
NIX_LDFLAGS = if stdenv.isDarwin then "-lX11" else null;
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ let
|
|||||||
in
|
in
|
||||||
|
|
||||||
let self = stdenv.mkDerivation {
|
let self = stdenv.mkDerivation {
|
||||||
name = "mesa-noglu-${version}";
|
name = "mesa-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
|
@ -18,11 +18,11 @@ let inherit (stdenv.lib) optional; in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nghttp2";
|
pname = "nghttp2";
|
||||||
version = "1.38.0";
|
version = "1.39.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "156r3myrglkmrdv4zh151g9zcr7b92zjn15wx5i9ypw0naanjc4g";
|
sha256 = "1vzmkh3pky3l3w6iaffhikh7hslp8zp0jsdqpd6knbflsmzp511a";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" "lib" ];
|
outputs = [ "bin" "out" "dev" "lib" ];
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
, cursorSupport ? true, libXcursor ? null
|
, cursorSupport ? true, libXcursor ? null
|
||||||
, threadSupport ? true
|
, threadSupport ? true
|
||||||
, mysqlSupport ? false, mysql ? null
|
, mysqlSupport ? false, mysql ? null
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, openglSupport ? libGLSupported, libGLU_combined ? null, libXmu ? null
|
, openglSupport ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
|
, libGLU_combined ? null, libXmu ? null
|
||||||
, xlibsWrapper, xorgproto, zlib, libjpeg, libpng, which
|
, xlibsWrapper, xorgproto, zlib, libjpeg, libpng, which
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
{ stdenv, lib, fetchurl, fetchpatch, substituteAll
|
{ stdenv, lib, fetchurl, fetchpatch, substituteAll
|
||||||
, libXrender, libXinerama, libXcursor, libXv, libXext
|
, libXrender, libXinerama, libXcursor, libXv, libXext
|
||||||
, libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
|
, libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
|
||||||
, libmng, which, libGLSupported, libGLU, openssl, dbus, cups, pkgconfig
|
, libmng, which, libGLU, openssl, dbus, cups, pkgconfig
|
||||||
, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
|
, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
|
||||||
, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
|
, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
|
||||||
, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
|
, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
|
||||||
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, flashplayerFix ? false, gdk_pixbuf
|
, flashplayerFix ? false, gdk_pixbuf
|
||||||
, gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2
|
, gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2
|
||||||
, gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
|
, gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, unzip, mesa_noglu, libX11 }:
|
{ stdenv, fetchurl, unzip, mesa, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "soil";
|
name = "soil";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52";
|
sha256 = "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip mesa_noglu libX11 ];
|
buildInputs = [ unzip mesa libX11 ];
|
||||||
|
|
||||||
sourceRoot = "Simple OpenGL Image Library/projects/makefile";
|
sourceRoot = "Simple OpenGL Image Library/projects/makefile";
|
||||||
preBuild = "mkdir obj";
|
preBuild = "mkdir obj";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11, libdrm, mesa_noglu }:
|
{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11, libdrm, mesa }:
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "041agg1d6i8hg250y30f08n3via0hs9rbijxdrfifb8ara805v0m";
|
sha256 = "041agg1d6i8hg250y30f08n3via0hs9rbijxdrfifb8ara805v0m";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libGLU epoxy libX11 libdrm mesa_noglu ];
|
buildInputs = [ libGLU epoxy libX11 libdrm mesa ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
||||||
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
|
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
|
||||||
, libX11, dbus, wayland-protocols, libdrm, mesa_noglu
|
, libX11, dbus, wayland-protocols, libdrm, mesa
|
||||||
, libpthreadstubs, libXdmcp, libXext, libXfixes
|
, libpthreadstubs, libXdmcp, libXext, libXfixes
|
||||||
, withOptionalPackages ? true, zlib, valgrind, doxygen
|
, withOptionalPackages ? true, zlib, valgrind, doxygen
|
||||||
}:
|
}:
|
||||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
|
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
|
||||||
libX11 libXfixes dbus wayland-protocols
|
libX11 libXfixes dbus wayland-protocols
|
||||||
libpthreadstubs libXdmcp libXext libdrm mesa_noglu ]
|
libpthreadstubs libXdmcp libXext libdrm mesa ]
|
||||||
++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
|
++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
|
||||||
, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
|
, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
|
||||||
, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa_noglu
|
, xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa
|
||||||
, libpng, ffmpeg_4
|
, libpng, ffmpeg_4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wayland libGL wayland-protocols libinput libxkbcommon pixman
|
wayland libGL wayland-protocols libinput libxkbcommon pixman
|
||||||
xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa_noglu
|
xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa
|
||||||
libpng ffmpeg_4
|
libpng ffmpeg_4
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
|
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
|
||||||
, gstreamer, gst-plugins-base, GConf, libX11, cairo
|
, gstreamer, gst-plugins-base, GConf, libX11, cairo
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, withMesa ? libGLSupported, libGLU ? null, libGL ? null
|
, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
|
, libGLU ? null, libGL ? null
|
||||||
, compat24 ? false, compat26 ? true, unicode ? true,
|
, compat24 ? false, compat26 ? true, unicode ? true,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
|
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xorgproto
|
||||||
, gstreamer, gst-plugins-base, GConf, setfile
|
, gstreamer, gst-plugins-base, GConf, setfile
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, withMesa ? libGLSupported, libGLU ? null, libGL ? null
|
, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
|
, libGLU ? null, libGL ? null
|
||||||
, compat24 ? false, compat26 ? true, unicode ? true
|
, compat24 ? false, compat26 ? true, unicode ? true
|
||||||
, Carbon ? null, Cocoa ? null, Kernel ? null, QuickTime ? null, AGL ? null
|
, Carbon ? null, Cocoa ? null, Kernel ? null, QuickTime ? null, AGL ? null
|
||||||
}:
|
}:
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchurl, pkgconfig
|
{ stdenv, fetchFromGitHub, fetchurl, pkgconfig
|
||||||
, gtk2, gtk3, libXinerama, libSM, libXxf86vm
|
, gtk2, gtk3, libXinerama, libSM, libXxf86vm
|
||||||
, xorgproto, gstreamer, gst-plugins-base, GConf, setfile
|
, xorgproto, gstreamer, gst-plugins-base, GConf, setfile
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, withMesa ? libGLSupported, libGLU ? null, libGL ? null
|
, withMesa ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
|
, libGLU ? null, libGL ? null
|
||||||
, compat24 ? false, compat26 ? true, unicode ? true
|
, compat24 ? false, compat26 ? true, unicode ? true
|
||||||
, withGtk2 ? true
|
, withGtk2 ? true
|
||||||
, withWebKit ? false, webkitgtk24x-gtk2 ? null, webkitgtk ? null
|
, withWebKit ? false, webkitgtk24x-gtk2 ? null, webkitgtk ? null
|
||||||
|
@ -4,20 +4,20 @@
|
|||||||
, markupsafe
|
, markupsafe
|
||||||
, nose
|
, nose
|
||||||
, mock
|
, mock
|
||||||
, pytest_3
|
, pytest
|
||||||
, isPyPy
|
, isPyPy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Mako";
|
pname = "Mako";
|
||||||
version = "1.0.10";
|
version = "1.0.12";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7165919e78e1feb68b4dbe829871ea9941398178fa58e6beedb9ba14acf63965";
|
sha256 = "0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ markupsafe nose mock pytest_3 ];
|
checkInputs = [ markupsafe nose mock pytest ];
|
||||||
propagatedBuildInputs = [ markupsafe ];
|
propagatedBuildInputs = [ markupsafe ];
|
||||||
|
|
||||||
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "antlr4-python2-runtime";
|
||||||
|
version = "4.7.2";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "04ljic5wnqpizln8q3c78pqrckz6q5nb433if00j1mlyv2yja22q";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Runtime for ANTLR";
|
||||||
|
homepage = "https://www.antlr.org/";
|
||||||
|
license = stdenv.lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest_3, setuptools_scm }:
|
, pytest, setuptools_scm }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "apipkg";
|
pname = "apipkg";
|
||||||
@ -11,7 +11,13 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
checkInputs = [ pytest_3 ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
# Fix pytest 4 support. See: https://github.com/pytest-dev/apipkg/issues/14
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace "test_apipkg.py" \
|
||||||
|
--replace "py.test.ensuretemp('test_apipkg')" "py.path.local('test_apipkg')"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
@ -19,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Namespace control and lazy-import mechanism";
|
description = "Namespace control and lazy-import mechanism";
|
||||||
homepage = https://bitbucket.org/hpk42/apipkg;
|
homepage = "https://github.com/pytest-dev/apipkg";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
93
pkgs/development/python-modules/azure-cli-core/default.nix
Normal file
93
pkgs/development/python-modules/azure-cli-core/default.nix
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, python
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, adal
|
||||||
|
, antlr4-python3-runtime
|
||||||
|
, argcomplete
|
||||||
|
, azure-cli-telemetry
|
||||||
|
, colorama
|
||||||
|
, jmespath
|
||||||
|
, humanfriendly
|
||||||
|
, knack
|
||||||
|
, msrest
|
||||||
|
, msrestazure
|
||||||
|
, paramiko
|
||||||
|
, pygments
|
||||||
|
, pyjwt
|
||||||
|
, pyopenssl
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, six
|
||||||
|
, tabulate
|
||||||
|
, azure-mgmt-resource
|
||||||
|
, pyperclip
|
||||||
|
, psutil
|
||||||
|
, enum34
|
||||||
|
, futures
|
||||||
|
, antlr4-python2-runtime
|
||||||
|
, ndg-httpsclient
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "azure-cli-core";
|
||||||
|
version = "2.0.66";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0fp6b2x1l9bg07pca7asm80rnjlc4kkm061s3nrb55yj6awsnim5";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
adal
|
||||||
|
argcomplete
|
||||||
|
azure-cli-telemetry
|
||||||
|
colorama
|
||||||
|
jmespath
|
||||||
|
humanfriendly
|
||||||
|
knack
|
||||||
|
msrest
|
||||||
|
msrestazure
|
||||||
|
paramiko
|
||||||
|
pygments
|
||||||
|
pyjwt
|
||||||
|
pyopenssl
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
six
|
||||||
|
tabulate
|
||||||
|
azure-mgmt-resource
|
||||||
|
pyperclip
|
||||||
|
psutil
|
||||||
|
]
|
||||||
|
++ lib.optionals isPy3k [ antlr4-python3-runtime ]
|
||||||
|
++ lib.optionals (!isPy3k) [ enum34 futures antlr4-python2-runtime ndg-httpsclient ];
|
||||||
|
|
||||||
|
# Remove overly restrictive version contraints and obsolete namespace setup
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "wheel==0.30.0" "wheel" \
|
||||||
|
--replace "azure-mgmt-resource==2.1.0" "azure-mgmt-resource"
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "azure-namespace-package = azure-cli-nspkg" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Prevent these __init__'s from violating PEP420, only needed for python2
|
||||||
|
postInstall = lib.optionalString isPy3k ''
|
||||||
|
rm $out/${python.sitePackages}/azure/__init__.py \
|
||||||
|
$out/${python.sitePackages}/azure/cli/__init__.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests are not included in sdist package
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/Azure/azure-cli;
|
||||||
|
description = "Next generation multi-platform command line experience for Azure";
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ jonringer ];
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, python
|
||||||
|
, applicationinsights
|
||||||
|
, portalocker
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "azure-cli-telemetry";
|
||||||
|
version = "1.0.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "14wmxdsrrlnixaj52q37rrvp9wg5b54gf5wn2z1vq68kxpg1s560";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
applicationinsights
|
||||||
|
portalocker
|
||||||
|
];
|
||||||
|
|
||||||
|
# tests are not published to pypi
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
# Remove overly restrictive version contraints and obsolete namespace setup
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "applicationinsights>=0.11.1,<0.11.8" "applicationinsights" \
|
||||||
|
--replace "portalocker==1.2.1" "portalocker"
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "azure-namespace-package = azure-cli-nspkg" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Prevent these __init__'s from violating PEP420, only needed for python2
|
||||||
|
postInstall = lib.optionalString isPy3k ''
|
||||||
|
rm $out/${python.sitePackages}/azure/__init__.py \
|
||||||
|
$out/${python.sitePackages}/azure/cli/__init__.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/Azure/azure-cli;
|
||||||
|
description = "Next generation multi-platform command line experience for Azure";
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ jonringer ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
|
||||||
, pytest_3, pytestrunner, hypothesis }:
|
, pytest, pytestrunner, hypothesis }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "chardet";
|
pname = "chardet";
|
||||||
@ -10,7 +10,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest_3 pytestrunner hypothesis ];
|
patches = [
|
||||||
|
# Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch";
|
||||||
|
sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytestrunner hypothesis ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/chardet/chardet;
|
homepage = https://github.com/chardet/chardet;
|
||||||
|
@ -3,21 +3,21 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest_3
|
, pytest
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, apipkg
|
, apipkg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "execnet";
|
pname = "execnet";
|
||||||
version = "1.5.0";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a7a84d5fa07a089186a329528f127c9d73b9de57f1a1131b82bb5320ee651f6a";
|
sha256 = "752a3786f17416d491f833a29217dda3ea4a471fc5269c492eebcee8cc4772d3";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest_3 ];
|
checkInputs = [ pytest ];
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ apipkg ];
|
propagatedBuildInputs = [ apipkg ];
|
||||||
|
|
||||||
@ -34,15 +34,12 @@ buildPythonPackage rec {
|
|||||||
py.test testing
|
py.test testing
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# not yet compatible with pytest 4
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Rapid multi-Python deployment";
|
description = "Rapid multi-Python deployment";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
homepage = "http://codespeak.net/execnet";
|
homepage = "https://execnet.readthedocs.io/";
|
||||||
maintainers = with maintainers; [ nand0p ];
|
maintainers = with maintainers; [ nand0p ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "importlib-metadata";
|
pname = "importlib-metadata";
|
||||||
version = "0.8";
|
version = "0.18";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "importlib_metadata";
|
pname = "importlib_metadata";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "b50191ead8c70adfa12495fba19ce6d75f2e0275c14c5a7beb653d6799b512bd";
|
sha256 = "cb6ee23b46173539939964df59d3d72c3e0c1b5d54b84f1d8a7e912fe43612db";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
@ -28,6 +28,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ importlib-resources packaging ];
|
checkInputs = [ importlib-resources packaging ];
|
||||||
|
|
||||||
|
# Two failing tests: https://gitlab.com/python-devs/importlib_metadata/issues/72
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Read metadata from Python packages";
|
description = "Read metadata from Python packages";
|
||||||
homepage = https://importlib-metadata.readthedocs.io/;
|
homepage = https://importlib-metadata.readthedocs.io/;
|
||||||
|
55
pkgs/development/python-modules/knack/default.nix
Normal file
55
pkgs/development/python-modules/knack/default.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, argcomplete
|
||||||
|
, colorama
|
||||||
|
, jmespath
|
||||||
|
, knack
|
||||||
|
, pygments
|
||||||
|
, pyyaml
|
||||||
|
, six
|
||||||
|
, tabulate
|
||||||
|
, mock
|
||||||
|
, vcrpy
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "knack";
|
||||||
|
version = "0.6.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1kxxj9m2mvva9rz11m6pgdg0mi712d28faj4633rl23qa53sh7i8";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
argcomplete
|
||||||
|
colorama
|
||||||
|
jmespath
|
||||||
|
pygments
|
||||||
|
pyyaml
|
||||||
|
six
|
||||||
|
tabulate
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
vcrpy
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
# tries to make a '/homeless-shelter' dir
|
||||||
|
checkPhase = ''
|
||||||
|
pytest -k 'not test_cli_exapp1'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/microsoft/knack;
|
||||||
|
description = "A Command-Line Interface framework";
|
||||||
|
platforms = platforms.all;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ jonringer ];
|
||||||
|
};
|
||||||
|
}
|
@ -18,6 +18,9 @@ buildPythonPackage rec {
|
|||||||
py.test tests
|
py.test tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Prevent circular dependency
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Core utilities for Python packages";
|
description = "Core utilities for Python packages";
|
||||||
homepage = https://github.com/pypa/packaging;
|
homepage = https://github.com/pypa/packaging;
|
||||||
|
@ -2,15 +2,16 @@
|
|||||||
, lib
|
, lib
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
|
, importlib-metadata
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pluggy";
|
pname = "pluggy";
|
||||||
version = "0.8.1";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616";
|
sha256 = "0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
@ -20,11 +21,13 @@ buildPythonPackage rec {
|
|||||||
# To prevent infinite recursion with pytest
|
# To prevent infinite recursion with pytest
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ importlib-metadata ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Plugin and hook calling mechanisms for Python";
|
description = "Plugin and hook calling mechanisms for Python";
|
||||||
homepage = "https://pypi.python.org/pypi/pluggy";
|
homepage = "https://github.com/pytest-dev/pluggy";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ ];
|
maintainers = with lib.maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "psutil";
|
pname = "psutil";
|
||||||
version = "5.5.1";
|
version = "5.6.3";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "045qaqvn6k90bj5bcy259yrwcd2afgznaav3sfhphy9b8ambzkkj";
|
sha256 = "863a85c1c0a5103a12c05a35e59d336e1d665747e531256e061213e2e90f63f3";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests in archive
|
# No tests in archive
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi }:
|
{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2, six, cffi }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygit2";
|
pname = "pygit2";
|
||||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = lib.optionalString stdenv.isDarwin ''
|
preConfigure = lib.optionalString stdenv.isDarwin ''
|
||||||
export DYLD_LIBRARY_PATH="${libgit2_0_27}/lib"
|
export DYLD_LIBRARY_PATH="${libgit2}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ (fetchpatch {
|
patches = [ (fetchpatch {
|
||||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f";
|
sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f";
|
||||||
}) ];
|
}) ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ libgit2_0_27 six ] ++ lib.optional (!isPyPy) cffi;
|
propagatedBuildInputs = [ libgit2 six ] ++ lib.optional (!isPyPy) cffi;
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# disable tests that require networking
|
# disable tests that require networking
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, setuptools-git, pytest_3 }:
|
, setuptools-git, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-fixture-config";
|
pname = "pytest-fixture-config";
|
||||||
version = "1.4.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "839d70343c87d6dda5bca88e3ab06e7b2027998dc1ec452c14d50be5725180a3";
|
sha256 = "13i1qpz22w3x4dmw8vih5jdnbqfqvl7jiqs0dg764s0zf8bp98a1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-git ];
|
nativeBuildInputs = [ setuptools-git ];
|
||||||
|
|
||||||
buildInputs = [ pytest_3 ];
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest_3, pytest-shutil, pytest-fixture-config, psutil
|
, pytest, pytest-shutil, pytest-fixture-config, psutil
|
||||||
, requests, future, retry }:
|
, requests, future, retry }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-server-fixtures";
|
pname = "pytest-server-fixtures";
|
||||||
version = "1.6.2";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c89f9532f62cf851489082ece1ec692b6ed5b0f88f20823bea25e2a963ebee8f";
|
sha256 = "07vdv3y89qzv89ws0y48h92yplqsx208b9cizx80w644dazb398g";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest_3 ];
|
buildInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];
|
propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];
|
||||||
|
|
||||||
# RuntimeError: Unable to find a free server number to start Xvfb
|
# RuntimeError: Unable to find a free server number to start Xvfb
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
{ stdenv, lib, isPyPy, buildPythonPackage, fetchPypi
|
{ stdenv, lib, isPyPy, buildPythonPackage, fetchPypi
|
||||||
, pytest_3, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
|
, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
|
||||||
, contextlib2, termcolor }:
|
, contextlib2, termcolor }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-shutil";
|
pname = "pytest-shutil";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "efe615b7709637ec8828abebee7fc2ad033ae0f1fc54145f769a8b5e8cc3b4ca";
|
sha256 = "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ cmdline pytest_3 ];
|
checkInputs = [ cmdline pytest ];
|
||||||
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
|
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
|
||||||
nativeBuildInputs = [ pytest_3 ];
|
nativeBuildInputs = [ pytest ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
|
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest_3, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil }:
|
, pytest, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil, virtualenv }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-virtualenv";
|
pname = "pytest-virtualenv";
|
||||||
version = "1.6.0";
|
version = "1.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "d281725d10848773cb2b495d1255dd0a42fc9179e34a274c22e1c35837721f19";
|
sha256 = "03w2zz3crblj1p6i8nq17946hbn3zqp9z7cfnifw47hi4a4fww12";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest_3 pytestcov mock cmdline ];
|
checkInputs = [ pytest pytestcov mock cmdline ];
|
||||||
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil ];
|
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil virtualenv ];
|
||||||
checkPhase = '' py.test tests/unit '';
|
checkPhase = '' py.test tests/unit '';
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest_3 ];
|
nativeBuildInputs = [ pytest ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
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.";
|
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.";
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-xdist";
|
pname = "pytest-xdist";
|
||||||
version = "1.26.1";
|
version = "1.28.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "d03d1ff1b008458ed04fa73e642d840ac69b4107c168e06b71037c62d7813dd4";
|
sha256 = "f83a485293e81fd57c8a5a85a3f12473a532c5ca7dec518857cbb72766bb526c";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm pytest ];
|
nativeBuildInputs = [ setuptools_scm pytest ];
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
||||||
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
||||||
, atomicwrites, mock, writeText, pathlib2
|
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.2.1";
|
version = "4.6.3";
|
||||||
pname = "pytest";
|
pname = "pytest";
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
@ -13,12 +13,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c2396a15726218a2dfef480861c4ba37bd3952ebaaa5b0fede3fc23fddcd7f8c";
|
sha256 = "4a784f1d4f2ef198fe9b7aef793e9fa1a3b2f84e822d9b3a64a181293a572d45";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ hypothesis mock ];
|
checkInputs = [ hypothesis mock ];
|
||||||
buildInputs = [ setuptools_scm ];
|
buildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites]
|
propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
|
||||||
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
||||||
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||||
|
|
||||||
|
@ -17,13 +17,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ wheel setuptools packaging ];
|
propagatedBuildInputs = [ wheel setuptools packaging ];
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
cmake ninja cython codecov coverage six virtualenv pathpy
|
cmake ninja cython codecov coverage six pathpy
|
||||||
pytest pytestcov pytest-mock pytest-virtualenv pytestrunner
|
pytest pytestcov pytest-mock pytest-virtualenv pytestrunner
|
||||||
requests flake8
|
requests flake8
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = lib.concatMapStringsSep " and " (s: "not " + s) ([
|
disabledTests = lib.concatMapStringsSep " and " (s: "not " + s) ([
|
||||||
"test_hello_develop" # tries setuptools develop install
|
"test_hello_develop" # tries setuptools develop install
|
||||||
|
"test_source_distribution" # pip has no way to install missing dependencies
|
||||||
"test_wheel" # pip has no way to install missing dependencies
|
"test_wheel" # pip has no way to install missing dependencies
|
||||||
"test_fortran_compiler" # passes if gfortran is available
|
"test_fortran_compiler" # passes if gfortran is available
|
||||||
"test_install_command" # tries to alter out path
|
"test_install_command" # tries to alter out path
|
||||||
|
@ -1,22 +1,23 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi, python
|
||||||
, gfortran, glibcLocales
|
, gfortran, glibcLocales, joblib, pythonOlder
|
||||||
, numpy, scipy, pytest, pillow
|
, numpy, scipy, pytest, pillow, cython
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "scikit-learn";
|
pname = "scikit-learn";
|
||||||
version = "0.20.3";
|
version = "0.21.2";
|
||||||
# UnboundLocalError: local variable 'message' referenced before assignment
|
# UnboundLocalError: local variable 'message' referenced before assignment
|
||||||
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
|
disabled = stdenv.isi686 || (pythonOlder "3.5"); # https://github.com/scikit-learn/scikit-learn/issues/5534
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "c503802a81de18b8b4d40d069f5e363795ee44b1605f38bc104160ca3bfe2c41";
|
sha256 = "0aafc312a55ebf58073151b9308761a5fcfa45b7f7730cea4b1f066f824c72db";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pillow gfortran glibcLocales ];
|
buildInputs = [ pillow gfortran glibcLocales ];
|
||||||
propagatedBuildInputs = [ numpy scipy numpy.blas ];
|
propagatedBuildInputs = [ numpy scipy numpy.blas joblib ];
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
nativeBuildInputs = [ cython ];
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest_3, mock, six, twisted,isPy37 }:
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, six, twisted,isPy37 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "txaio";
|
pname = "txaio";
|
||||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe";
|
sha256 = "67e360ac73b12c52058219bb5f8b3ed4105d2636707a36a7cdafb56fe06db7fe";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest_3 mock ];
|
checkInputs = [ pytest mock ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ six twisted ];
|
propagatedBuildInputs = [ six twisted ];
|
||||||
|
|
||||||
@ -17,8 +17,8 @@ buildPythonPackage rec {
|
|||||||
py.test -k "not test_sdist"
|
py.test -k "not test_sdist"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Needs some fixing for 3.7
|
# Needs some fixing
|
||||||
doCheck = !isPy37;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
|
description = "Utilities to support code that runs unmodified on Twisted and asyncio.";
|
||||||
|
@ -11,6 +11,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
# To prevent infinite recursion with pytest
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest
|
pytest
|
||||||
'';
|
'';
|
||||||
|
@ -14,19 +14,12 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ itsdangerous ];
|
propagatedBuildInputs = [ itsdangerous ];
|
||||||
checkInputs = [ pytest requests hypothesis ];
|
checkInputs = [ pytest requests hypothesis ];
|
||||||
|
|
||||||
# Hi! New version of Werkzeug? Please double-check that this commit is
|
|
||||||
# inclucded, and then remove the following patch.
|
|
||||||
# https://github.com/pallets/werkzeug/commit/1cfdcf9824cb20e362979e8f7734012926492165
|
|
||||||
patchPhase = ''
|
|
||||||
substituteInPlace "tests/test_serving.py" --replace "'python'" "sys.executable"
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
pytest ${stdenv.lib.optionalString stdenv.isDarwin "-k 'not test_get_machine_id'"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://werkzeug.pocoo.org/;
|
homepage = "https://palletsprojects.com/p/werkzeug/";
|
||||||
description = "A WSGI utility library for Python";
|
description = "A WSGI utility library for Python";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest_3 }:
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Whoosh";
|
pname = "Whoosh";
|
||||||
@ -8,11 +8,12 @@ buildPythonPackage rec {
|
|||||||
sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
|
sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest_3 ];
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
# Wrong encoding
|
# Wrong encoding
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
rm tests/test_reading.py
|
rm tests/test_reading.py
|
||||||
|
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
||||||
'';
|
'';
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
# FIXME: test_minimize_dfa fails on python 3.6
|
# FIXME: test_minimize_dfa fails on python 3.6
|
||||||
@ -25,6 +26,5 @@ checking library.";
|
|||||||
homepage = https://bitbucket.org/mchaput/whoosh;
|
homepage = https://bitbucket.org/mchaput/whoosh;
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ nand0p ];
|
maintainers = with maintainers; [ nand0p ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -26,11 +26,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zeep";
|
pname = "zeep";
|
||||||
version = "3.3.1";
|
version = "3.4.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "f58328e36264a2fda2484dd20bb1695f4102a9cc918178d60c4d7cf8339c65d0";
|
sha256 = "0e98669cfeb60756231ae185498f9ae21b30b2681786b8de58ed34c3b93e41dd";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "zipp";
|
pname = "zipp";
|
||||||
version = "0.3.3";
|
version = "0.5.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
|
sha256 = "ca943a7e809cc12257001ccfb99e3563da9af99d52f261725e96dfe0f9275bc3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
@ -23,6 +23,9 @@ buildPythonPackage rec {
|
|||||||
pytest
|
pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Prevent infinite recursion with pytest
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Pathlib-compatible object wrapper for zip files";
|
description = "Pathlib-compatible object wrapper for zip files";
|
||||||
homepage = https://github.com/jaraco/zipp;
|
homepage = https://github.com/jaraco/zipp;
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bison";
|
pname = "bison";
|
||||||
version = "3.3.2";
|
version = "3.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1lfvns1f6xamz9905fakzkxh4zmk1wa9w33vxcq78fc5841ivnhg";
|
sha256 = "15ah05gharrzcxs8q5pm9mli5dp5lw19nd95apzzmyqnqa4zq1vh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
|
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
|
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
|
||||||
, libGLSupported
|
, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
|
||||||
, openglSupport ? libGLSupported, libGLU_combined ? null
|
, openglSupport ? libGLSupported, libGLU_combined ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ in buildFHSUserEnv rec {
|
|||||||
libidn
|
libidn
|
||||||
tbb
|
tbb
|
||||||
wayland
|
wayland
|
||||||
mesa_noglu
|
mesa
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
|
|
||||||
# Other things from runtime
|
# Other things from runtime
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, binutils-unwrapped, scons, gnum4, p7zip, glibc_multi, mesa_noglu
|
{ stdenv, fetchurl, binutils-unwrapped, scons, gnum4, p7zip, glibc_multi, mesa
|
||||||
, xorg, libGLU_combined, openal
|
, xorg, libGLU_combined, openal
|
||||||
, lib, makeWrapper, makeDesktopItem }:
|
, lib, makeWrapper, makeDesktopItem }:
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ in stdenv.mkDerivation {
|
|||||||
p7zip scons gnum4 makeWrapper
|
p7zip scons gnum4 makeWrapper
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glibc_multi mesa_noglu.dev xorg.libX11.dev openal
|
glibc_multi mesa.dev xorg.libX11.dev openal
|
||||||
xorg.libXext.dev xorg.libXxf86vm.dev
|
xorg.libXext.dev xorg.libXxf86vm.dev
|
||||||
libGLU_combined
|
libGLU_combined
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
|
|||||||
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
|
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
|
||||||
++ lib.optionals xmlSupport [ pkgs.libxml2 pkgs.libxslt ]
|
++ lib.optionals xmlSupport [ pkgs.libxml2 pkgs.libxslt ]
|
||||||
++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
|
++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
|
||||||
++ lib.optionals openglSupport [ pkgs.libGLU_combined pkgs.mesa_noglu.osmesa pkgs.libdrm ]
|
++ lib.optionals openglSupport [ pkgs.libGLU_combined pkgs.mesa.osmesa pkgs.libdrm ]
|
||||||
++ lib.optionals stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
|
++ lib.optionals stdenv.isDarwin (with pkgs.buildPackages.darwin.apple_sdk.frameworks; [
|
||||||
CoreServices Foundation ForceFeedback AppKit OpenGL IOKit DiskArbitration Security
|
CoreServices Foundation ForceFeedback AppKit OpenGL IOKit DiskArbitration Security
|
||||||
ApplicationServices AudioToolbox CoreAudio AudioUnit CoreMIDI OpenAL OpenCL Cocoa Carbon
|
ApplicationServices AudioToolbox CoreAudio AudioUnit CoreMIDI OpenAL OpenCL Cocoa Carbon
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
|
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
|
||||||
python3, readline, udev, libical, systemd,
|
python3, readline, udev, libical, systemd, fetchpatch,
|
||||||
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
|
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -23,7 +23,19 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" "test" ];
|
outputs = [ "out" "dev" "test" ];
|
||||||
|
|
||||||
patches = [ ./bluez-5.37-obexd_without_systemd-1.patch ];
|
patches = [
|
||||||
|
./bluez-5.37-obexd_without_systemd-1.patch
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=1880b299086659844889cdaf687133aca5eaf102";
|
||||||
|
name = "CVE-2018-10910-1.patch";
|
||||||
|
sha256 = "17spsxza27gif8jpxk7360ynvwii1llfdfwg35rwywjjmvww0qj4";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=9213ff7642a33aa481e3c61989ad60f7985b9984";
|
||||||
|
name = "CVE-2018-10910-2.patch";
|
||||||
|
sha256 = "0j7klbhym64yhn86dbsmybqmwx47bviyyhx931izl1p29z2mg8hn";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
substituteInPlace tools/hid2hci.rules \
|
substituteInPlace tools/hid2hci.rules \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa_noglu, pkgconfig }:
|
{ stdenv, fetchgit, autoreconfHook, libdrm, libX11, libGL, mesa, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kmscube-2018-06-17";
|
name = "kmscube-2018-06-17";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ libdrm libX11 libGL mesa_noglu ];
|
buildInputs = [ libdrm libX11 libGL mesa ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Example OpenGL app using KMS/GBM";
|
description = "Example OpenGL app using KMS/GBM";
|
||||||
|
@ -1768,7 +1768,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
xf86videoamdgpu = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa_noglu, libGL, libdrm, udev, xorgserver }: stdenv.mkDerivation {
|
xf86videoamdgpu = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa, libGL, libdrm, udev, xorgserver }: stdenv.mkDerivation {
|
||||||
name = "xf86-video-amdgpu-19.0.1";
|
name = "xf86-video-amdgpu-19.0.1";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -1777,7 +1777,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
};
|
};
|
||||||
hardeningDisable = [ "bindnow" "relro" ];
|
hardeningDisable = [ "bindnow" "relro" ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ xorgproto mesa_noglu libGL libdrm udev xorgserver ];
|
buildInputs = [ xorgproto mesa libGL libdrm udev xorgserver ];
|
||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
@ -1820,7 +1820,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
xf86videoati = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa_noglu, libGL, libdrm, udev, libpciaccess, xorgserver }: stdenv.mkDerivation {
|
xf86videoati = callPackage ({ stdenv, pkgconfig, fetchurl, xorgproto, mesa, libGL, libdrm, udev, libpciaccess, xorgserver }: stdenv.mkDerivation {
|
||||||
name = "xf86-video-ati-19.0.1";
|
name = "xf86-video-ati-19.0.1";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -1829,7 +1829,7 @@ lib.makeScope newScope (self: with self; {
|
|||||||
};
|
};
|
||||||
hardeningDisable = [ "bindnow" "relro" ];
|
hardeningDisable = [ "bindnow" "relro" ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ xorgproto mesa_noglu libGL libdrm udev libpciaccess xorgserver ];
|
buildInputs = [ xorgproto mesa libGL libdrm udev libpciaccess xorgserver ];
|
||||||
meta.platforms = stdenv.lib.platforms.unix;
|
meta.platforms = stdenv.lib.platforms.unix;
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ $pcMap{"uuid"} = "libuuid";
|
|||||||
$pcMap{"libudev"} = "udev";
|
$pcMap{"libudev"} = "udev";
|
||||||
$pcMap{"gl"} = "libGL";
|
$pcMap{"gl"} = "libGL";
|
||||||
$pcMap{"GL"} = "libGL";
|
$pcMap{"GL"} = "libGL";
|
||||||
$pcMap{"gbm"} = "mesa_noglu";
|
$pcMap{"gbm"} = "mesa";
|
||||||
$pcMap{"\$PIXMAN"} = "pixman";
|
$pcMap{"\$PIXMAN"} = "pixman";
|
||||||
$pcMap{"\$RENDERPROTO"} = "xorgproto";
|
$pcMap{"\$RENDERPROTO"} = "xorgproto";
|
||||||
$pcMap{"\$DRI3PROTO"} = "xorgproto";
|
$pcMap{"\$DRI3PROTO"} = "xorgproto";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
automake, autoconf, gettext, libiconv, libtool, intltool,
|
automake, autoconf, gettext, libiconv, libtool, intltool,
|
||||||
freetype, tradcpp, fontconfig, meson, ninja,
|
freetype, tradcpp, fontconfig, meson, ninja,
|
||||||
libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm,
|
libGL, spice-protocol, zlib, libGLU, dbus, libunwind, libdrm,
|
||||||
mesa_noglu, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
|
mesa, udev, bootstrap_cmds, bison, flex, clangStdenv, autoreconfHook,
|
||||||
mcpp, epoxy, openssl, pkgconfig, llvm_6,
|
mcpp, epoxy, openssl, pkgconfig, llvm_6,
|
||||||
cf-private, ApplicationServices, Carbon, Cocoa, Xplugin
|
cf-private, ApplicationServices, Carbon, Cocoa, Xplugin
|
||||||
}:
|
}:
|
||||||
@ -382,7 +382,7 @@ self: super:
|
|||||||
});
|
});
|
||||||
|
|
||||||
xf86videovmware = super.xf86videovmware.overrideAttrs (attrs: {
|
xf86videovmware = super.xf86videovmware.overrideAttrs (attrs: {
|
||||||
buildInputs = attrs.buildInputs ++ [ mesa_noglu llvm_6 ]; # for libxatracker
|
buildInputs = attrs.buildInputs ++ [ mesa llvm_6 ]; # for libxatracker
|
||||||
meta = attrs.meta // {
|
meta = attrs.meta // {
|
||||||
platforms = ["i686-linux" "x86_64-linux"];
|
platforms = ["i686-linux" "x86_64-linux"];
|
||||||
};
|
};
|
||||||
@ -507,7 +507,7 @@ self: super:
|
|||||||
if (!isDarwin)
|
if (!isDarwin)
|
||||||
then {
|
then {
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
buildInputs = commonBuildInputs ++ [ libdrm mesa_noglu ];
|
buildInputs = commonBuildInputs ++ [ libdrm mesa ];
|
||||||
propagatedBuildInputs = [ libpciaccess epoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
|
propagatedBuildInputs = [ libpciaccess epoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [
|
||||||
udev
|
udev
|
||||||
];
|
];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch
|
{ stdenv, fetchFromGitHub, fetchpatch
|
||||||
, libX11, libGL, mesa_noglu
|
, libX11, libGL, mesa
|
||||||
, nvidia_x11 ? null
|
, nvidia_x11 ? null
|
||||||
, libglvnd
|
, libglvnd
|
||||||
}:
|
}:
|
||||||
@ -33,7 +33,7 @@ in stdenv.mkDerivation {
|
|||||||
makeFlags = [ "LIBDIR=$(out)/lib"
|
makeFlags = [ "LIBDIR=$(out)/lib"
|
||||||
"PRIMUS_libGLa=${aPackage}/lib/libGL.so"
|
"PRIMUS_libGLa=${aPackage}/lib/libGL.so"
|
||||||
"PRIMUS_libGLd=${libGL}/lib/libGL.so"
|
"PRIMUS_libGLd=${libGL}/lib/libGL.so"
|
||||||
"PRIMUS_LOAD_GLOBAL=${mesa_noglu}/lib/libglapi.so"
|
"PRIMUS_LOAD_GLOBAL=${mesa}/lib/libglapi.so"
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{stdenv, fetchurl, fetchpatch
|
{stdenv, fetchurl, fetchpatch
|
||||||
, freeglut, ghostscriptX, imagemagick, fftw
|
, freeglut, ghostscriptX, imagemagick, fftw
|
||||||
, boehmgc, libGLU, libGL, mesa_noglu, ncurses, readline, gsl, libsigsegv
|
, boehmgc, libGLU, libGL, mesa, ncurses, readline, gsl, libsigsegv
|
||||||
, python, zlib, perl, texLive, texinfo, xz
|
, python, zlib, perl, texLive, texinfo, xz
|
||||||
, darwin
|
, darwin
|
||||||
}:
|
}:
|
||||||
@ -20,7 +20,7 @@ let
|
|||||||
boehmgc ncurses readline gsl libsigsegv
|
boehmgc ncurses readline gsl libsigsegv
|
||||||
python zlib perl texLive texinfo xz ]
|
python zlib perl texLive texinfo xz ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux
|
++ stdenv.lib.optionals stdenv.isLinux
|
||||||
[ freeglut libGLU libGL mesa_noglu.osmesa ]
|
[ freeglut libGLU libGL mesa.osmesa ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin
|
++ stdenv.lib.optionals stdenv.isDarwin
|
||||||
(with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
|
(with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
|
||||||
;
|
;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, libjpeg, libpng, xorg, libX11, libGL, libdrm,
|
{ stdenv, fetchFromGitHub, pkgconfig, libjpeg, libpng, xorg, libX11, libGL, libdrm,
|
||||||
python27, wayland, udev, mesa_noglu, wafHook }:
|
python27, wayland, udev, mesa, wafHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "glmark2-${version}";
|
name = "glmark2-${version}";
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig wafHook ];
|
nativeBuildInputs = [ pkgconfig wafHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libjpeg libpng xorg.libxcb libX11 libGL libdrm python27 wayland udev mesa_noglu
|
libjpeg libpng xorg.libxcb libX11 libGL libdrm python27 wayland udev mesa
|
||||||
];
|
];
|
||||||
|
|
||||||
wafConfigureFlags = ["--with-flavors=x11-gl,x11-glesv2,drm-gl,drm-glesv2,wayland-gl,wayland-glesv2"];
|
wafConfigureFlags = ["--with-flavors=x11-gl,x11-glesv2,drm-gl,drm-glesv2,wayland-gl,wayland-glesv2"];
|
||||||
|
@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
|
|||||||
sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh
|
sed '2i echo Skipping rm deep-2 test && exit 77' -i ./tests/rm/deep-2.sh
|
||||||
sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh
|
sed '2i echo Skipping du long-from-unreadable test && exit 77' -i ./tests/du/long-from-unreadable.sh
|
||||||
|
|
||||||
|
# Some target platforms, especially when building inside a container have
|
||||||
|
# issues with the inotify test.
|
||||||
|
sed '2i echo Skipping tail inotify dir recreate test && exit 77' -i ./tests/tail-2/inotify-dir-recreate.sh
|
||||||
|
|
||||||
# sandbox does not allow setgid
|
# sandbox does not allow setgid
|
||||||
sed '2i echo Skipping chmod setgid test && exit 77' -i ./tests/chmod/setgid.sh
|
sed '2i echo Skipping chmod setgid test && exit 77' -i ./tests/chmod/setgid.sh
|
||||||
substituteInPlace ./tests/install/install-C.sh \
|
substituteInPlace ./tests/install/install-C.sh \
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{ stdenv, fetchurl, ncurses, lessSecure ? false }:
|
{ stdenv, fetchurl, ncurses, lessSecure ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "less-530";
|
pname = "less";
|
||||||
|
version = "551";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
|
url = "http://www.greenwoodsoftware.com/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1qpj2z38c53qmvqn8jaa0kq26q989cfbfjj4y0s6z17l1amr2gsh";
|
sha256 = "0ggyjl3yzn7c450zk1rixi9ls6asdhgqynhk34zsd0ckhmsm45pz";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc.
|
configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc.
|
||||||
@ -18,6 +19,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A more advanced file pager than ‘more’";
|
description = "A more advanced file pager than ‘more’";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = with maintainers; [ eelco dtzWill ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -11,11 +11,11 @@ let
|
|||||||
pythonForDocs = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]);
|
pythonForDocs = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]);
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "network-manager-${version}";
|
name = "network-manager-${version}";
|
||||||
version = "1.18.0";
|
version = "1.18.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "19lb5afx4iq8dgfsy26x9j4194v8f64vwr3nq6dk1ix3wljxzs66";
|
sha256 = "07vg2ryyjaxs5h8kmkwqhk4ki750c4di98g0i7h7zglfs16psiqd";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" "man" "doc" ];
|
outputs = [ "out" "dev" "devdoc" "man" "doc" ];
|
||||||
|
@ -4,13 +4,13 @@ assert (openssl != null) == (gnutls == null);
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "openconnect";
|
pname = "openconnect";
|
||||||
version = "8.02";
|
version = "8.03";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"ftp://ftp.infradead.org/pub/openconnect/${pname}-${version}.tar.gz"
|
"ftp://ftp.infradead.org/pub/openconnect/${pname}-${version}.tar.gz"
|
||||||
];
|
];
|
||||||
sha256 = "04p0vzc1791h68hd9803wsyb64zrwm8qpdqx0szhj9pig71g5a0w";
|
sha256 = "1wlypi68kqqg2mdck8wvf6aanhrmf9i7z6lngyxvcrp23jdzz34h";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, glib, libGLU_combined, libpulseaudio, zlib, dbus, fontconfig, freetype
|
, glib, libGLU_combined, libpulseaudio, zlib, dbus, fontconfig, freetype
|
||||||
, gtk3, pango
|
, gtk3, pango
|
||||||
, makeWrapper , python, pythonPackages, lib
|
, makeWrapper , python, pythonPackages, lib
|
||||||
, lsof, curl, libuuid, cups, mesa_drivers
|
, lsof, curl, libuuid, cups, mesa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -18,7 +18,7 @@ let
|
|||||||
|
|
||||||
# used of both wrappers and libpath
|
# used of both wrappers and libpath
|
||||||
libPath = lib.makeLibraryPath (with xorg; [
|
libPath = lib.makeLibraryPath (with xorg; [
|
||||||
mesa_drivers
|
mesa.drivers
|
||||||
libGLU_combined
|
libGLU_combined
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
|
@ -174,6 +174,7 @@ mapAliases ({
|
|||||||
libgnome_keyring = libgnome-keyring; # added 2018-02-25
|
libgnome_keyring = libgnome-keyring; # added 2018-02-25
|
||||||
libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
|
libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
|
||||||
libgumbo = gumbo; # added 2018-01-21
|
libgumbo = gumbo; # added 2018-01-21
|
||||||
|
libGL_driver = mesa.drivers;
|
||||||
libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14
|
libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14
|
||||||
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
||||||
liblapackWithoutAtlas = liblapack; # added 2018-11-05
|
liblapackWithoutAtlas = liblapack; # added 2018-11-05
|
||||||
@ -193,6 +194,12 @@ mapAliases ({
|
|||||||
man_db = man-db; # added 2016-05
|
man_db = man-db; # added 2016-05
|
||||||
manpages = man-pages; # added 2015-12-06
|
manpages = man-pages; # added 2015-12-06
|
||||||
memtest86 = memtest86plus; # added 2019-05-08
|
memtest86 = memtest86plus; # added 2019-05-08
|
||||||
|
mesa_noglu = mesa; # added 2019-05-28
|
||||||
|
# NOTE: 2018-07-12: legacy alias:
|
||||||
|
# gcsecurity bussiness is done: https://www.theregister.co.uk/2018/02/08/bruce_perens_grsecurity_anti_slapp/
|
||||||
|
# floating point textures patents are expired,
|
||||||
|
# so package reduced to alias
|
||||||
|
mesa_drivers = mesa.drivers;
|
||||||
midoriWrapper = midori; # added 2015-01
|
midoriWrapper = midori; # added 2015-01
|
||||||
mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
|
mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
|
||||||
mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
|
mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
|
||||||
|
@ -1083,9 +1083,7 @@ in
|
|||||||
|
|
||||||
blockdiag = with python3Packages; toPythonApplication blockdiag;
|
blockdiag = with python3Packages; toPythonApplication blockdiag;
|
||||||
|
|
||||||
blsd = callPackage ../tools/misc/blsd {
|
blsd = callPackage ../tools/misc/blsd { };
|
||||||
libgit2 = libgit2_0_27;
|
|
||||||
};
|
|
||||||
|
|
||||||
bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { };
|
bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { };
|
||||||
|
|
||||||
@ -10216,7 +10214,7 @@ in
|
|||||||
# Multi-arch "drivers" which we want to build for i686.
|
# Multi-arch "drivers" which we want to build for i686.
|
||||||
driversi686Linux = recurseIntoAttrs {
|
driversi686Linux = recurseIntoAttrs {
|
||||||
inherit (pkgsi686Linux)
|
inherit (pkgsi686Linux)
|
||||||
mesa_drivers
|
mesa
|
||||||
vaapiIntel
|
vaapiIntel
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
@ -10512,10 +10510,6 @@ in
|
|||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
libgit2_0_27 = callPackage ../development/libraries/git2/0.27.nix {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
libgit2-glib = callPackage ../development/libraries/libgit2-glib { };
|
libgit2-glib = callPackage ../development/libraries/libgit2-glib { };
|
||||||
|
|
||||||
glbinding = callPackage ../development/libraries/glbinding { };
|
glbinding = callPackage ../development/libraries/glbinding { };
|
||||||
@ -12236,7 +12230,7 @@ in
|
|||||||
# libGL.so/libEGL.so/... to link agains them. Android NDK provides
|
# libGL.so/libEGL.so/... to link agains them. Android NDK provides
|
||||||
# an OpenGL implementation, we can just use that.
|
# an OpenGL implementation, we can just use that.
|
||||||
libGL = if stdenv.hostPlatform.useAndroidPrebuilt then stdenv
|
libGL = if stdenv.hostPlatform.useAndroidPrebuilt then stdenv
|
||||||
else mesa_noglu.stubs;
|
else mesa.stubs;
|
||||||
|
|
||||||
# Default libGLU
|
# Default libGLU
|
||||||
libGLU = mesa_glu;
|
libGLU = mesa_glu;
|
||||||
@ -12251,29 +12245,17 @@ in
|
|||||||
extraOutputsToInstall = [ "dev" ];
|
extraOutputsToInstall = [ "dev" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Default derivation with libGL.so.1 to link into /run/opengl-drivers (if need)
|
mesa = callPackage ../development/libraries/mesa {
|
||||||
libGL_driver = mesa_drivers;
|
|
||||||
|
|
||||||
libGLSupported = lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms;
|
|
||||||
|
|
||||||
mesa_noglu = callPackage ../development/libraries/mesa {
|
|
||||||
# 7 is the default, but only on Linux, so keep this for now
|
# 7 is the default, but only on Linux, so keep this for now
|
||||||
llvmPackages = llvmPackages_7;
|
llvmPackages = llvmPackages_7;
|
||||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||||
inherit (darwin.apple_sdk.libs) Xplugin;
|
inherit (darwin.apple_sdk.libs) Xplugin;
|
||||||
};
|
};
|
||||||
mesa = mesa_noglu;
|
|
||||||
|
|
||||||
mesa_glu = callPackage ../development/libraries/mesa-glu {
|
mesa_glu = callPackage ../development/libraries/mesa-glu {
|
||||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
# NOTE: 2018-07-12: legacy alias:
|
|
||||||
# gcsecurity bussiness is done: https://www.theregister.co.uk/2018/02/08/bruce_perens_grsecurity_anti_slapp/
|
|
||||||
# floating point textures patents are expired,
|
|
||||||
# so package reduced to alias
|
|
||||||
mesa_drivers = mesa_noglu.drivers;
|
|
||||||
|
|
||||||
## End libGL/libGLU/Mesa stuff
|
## End libGL/libGLU/Mesa stuff
|
||||||
|
|
||||||
meterbridge = callPackage ../applications/audio/meterbridge { };
|
meterbridge = callPackage ../applications/audio/meterbridge { };
|
||||||
|
@ -250,6 +250,10 @@ in {
|
|||||||
|
|
||||||
azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
|
azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
|
||||||
|
|
||||||
|
azure-cli-core = callPackage ../development/python-modules/azure-cli-core { };
|
||||||
|
|
||||||
|
azure-cli-telemetry = callPackage ../development/python-modules/azure-cli-telemetry { };
|
||||||
|
|
||||||
azure-common = callPackage ../development/python-modules/azure-common { };
|
azure-common = callPackage ../development/python-modules/azure-common { };
|
||||||
|
|
||||||
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
|
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };
|
||||||
@ -1090,6 +1094,8 @@ in {
|
|||||||
|
|
||||||
amqplib = callPackage ../development/python-modules/amqplib {};
|
amqplib = callPackage ../development/python-modules/amqplib {};
|
||||||
|
|
||||||
|
antlr4-python2-runtime = callPackage ../development/python-modules/antlr4-python2-runtime {};
|
||||||
|
|
||||||
antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {};
|
antlr4-python3-runtime = callPackage ../development/python-modules/antlr4-python3-runtime {};
|
||||||
|
|
||||||
apipkg = callPackage ../development/python-modules/apipkg {};
|
apipkg = callPackage ../development/python-modules/apipkg {};
|
||||||
@ -1688,9 +1694,9 @@ in {
|
|||||||
|
|
||||||
pyhepmc = callPackage ../development/python-modules/pyhepmc { };
|
pyhepmc = callPackage ../development/python-modules/pyhepmc { };
|
||||||
|
|
||||||
pytest = self.pytest_42;
|
pytest = self.pytest_4;
|
||||||
|
|
||||||
pytest_42 = callPackage ../development/python-modules/pytest {
|
pytest_4 = callPackage ../development/python-modules/pytest {
|
||||||
# hypothesis tests require pytest that causes dependency cycle
|
# hypothesis tests require pytest that causes dependency cycle
|
||||||
hypothesis = self.hypothesis.override { doCheck = false; };
|
hypothesis = self.hypothesis.override { doCheck = false; };
|
||||||
};
|
};
|
||||||
@ -3158,6 +3164,8 @@ in {
|
|||||||
|
|
||||||
kitchen = callPackage ../development/python-modules/kitchen { };
|
kitchen = callPackage ../development/python-modules/kitchen { };
|
||||||
|
|
||||||
|
knack = callPackage ../development/python-modules/knack { };
|
||||||
|
|
||||||
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
||||||
|
|
||||||
pylast = callPackage ../development/python-modules/pylast { };
|
pylast = callPackage ../development/python-modules/pylast { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user