summaryrefslogtreecommitdiffstats
path: root/pkgs/development
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-01-02 21:08:27 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2019-01-02 21:08:27 +0100
commit092e3b50a8ff501a6ad1caf20165d2284d1ad5cb (patch)
tree6de2bf3a88d2fcf4d947312ccfabebcf5651dbed /pkgs/development
parent070290bda7972072a531c7e79a29bd005ebb84df (diff)
parent82f679c269e504d00b02ef79a88934de7165dc8c (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/compilers/dmd/default.nix21
-rw-r--r--pkgs/development/compilers/ldc/default.nix139
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix21
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix6
-rw-r--r--pkgs/development/interpreters/perl/default.nix9
-rw-r--r--pkgs/development/interpreters/perl/no-sys-dirs-5.29.patch251
-rw-r--r--pkgs/development/libraries/esdl/default.nix32
-rw-r--r--pkgs/development/libraries/goffice/0.8.nix38
-rw-r--r--pkgs/development/libraries/goffice/pcre_info.patch13
-rw-r--r--pkgs/development/libraries/libqrencode/default.nix35
-rw-r--r--pkgs/development/libraries/libxmlb/default.nix4
-rw-r--r--pkgs/development/libraries/qrencode/default.nix47
-rw-r--r--pkgs/development/libraries/science/math/suitesparse/default.nix11
-rw-r--r--pkgs/development/libraries/sqlcipher/default.nix4
-rw-r--r--pkgs/development/libraries/sundials/default.nix4
-rw-r--r--pkgs/development/libraries/wolfssl/default.nix4
-rw-r--r--pkgs/development/python-modules/blockdiagcontrib-cisco/default.nix25
-rw-r--r--pkgs/development/python-modules/channels/default.nix4
-rw-r--r--pkgs/development/python-modules/curve25519-donna/default.nix18
-rw-r--r--pkgs/development/python-modules/pyatv/default.nix24
-rw-r--r--pkgs/development/python-modules/pybotvac/default.nix20
-rw-r--r--pkgs/development/python-modules/pytado/default.nix21
-rw-r--r--pkgs/development/python-modules/srptools/default.nix22
-rw-r--r--pkgs/development/python-modules/stem/default.nix4
-rw-r--r--pkgs/development/python-modules/zodbpickle/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/dub/default.nix4
-rw-r--r--pkgs/development/tools/build-managers/sbt/default.nix4
-rw-r--r--pkgs/development/tools/documentation/doxygen/default.nix7
-rw-r--r--pkgs/development/tools/dtools/default.nix6
-rw-r--r--pkgs/development/tools/literate-programming/Literate/default.nix6
-rw-r--r--pkgs/development/tools/misc/cproto/default.nix32
31 files changed, 568 insertions, 272 deletions
diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix
index 90e5cfe74119..8d68a6d4d3f9 100644
--- a/pkgs/development/compilers/dmd/default.nix
+++ b/pkgs/development/compilers/dmd/default.nix
@@ -2,10 +2,10 @@
, makeWrapper, unzip, which
, curl, tzdata, gdb, darwin
, callPackage, targetPackages, ldc
-, version ? "2.081.2"
-, dmdSha256 ? "1wwk4shqldvgyczv1ihmljpfj3yidq7mxcj69i9kjl7jqx54hw62"
-, druntimeSha256 ? "0dqfsy34q2q7mk2gsi4ix3vgqg7szg3m067fghgx53vnvrzlpsc0"
-, phobosSha256 ? "1dan59lc4wggsrv5aax7jsxnzg7fz37xah84k1cbwjb3xxhhkd9n"
+, version ? "2.083.1"
+, dmdSha256 ? "0b52yq7slgbrawb22kib9bk2x9xjiy6axwz1317fck5axl093d90"
+, druntimeSha256 ? "1hm9p59ih21yv8x7cqjhkyy94677q4f8wk9fs9i1rybx8x19njyn"
+, phobosSha256 ? "1zmz0f1wj0dgxy2cy63ljjc1sl2sgb7ij8bamlxw9nxrchwi3l43"
}:
let
@@ -48,12 +48,15 @@ let
# Remove cppa test for now because it doesn't work.
rm dmd/test/runnable/cppa.d
rm dmd/test/runnable/extra-files/cppb.cpp
+ ''
+
+ + stdenv.lib.optionalString (stdenv.hostPlatform.isDarwin) ''
+ rm dmd/test/runnable/test16096.sh
'';
# Compile with PIC to prevent colliding modules with binutils 2.28.
# https://issues.dlang.org/show_bug.cgi?id=17375
usePIC = "-fPIC";
- ROOT_HOME_DIR = "$(echo ~root)";
phobosPatches = ''
# Ugly hack so the dlopen call has a chance to succeed.
@@ -105,13 +108,14 @@ let
cd ../druntime
make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd}
cd ../phobos
- make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} TZ_DATABASE_DIR=${tzdata}/share/zoneinfo/
+ echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
+ make -j$NIX_BUILD_CORES -f posix.mak BUILD=release ENABLE_RELEASE=1 PIC=1 INSTALL_DIR=$out DMD=${pathToDmd} DFLAGS="-version=TZDatabaseDir -J$(pwd)"
cd ..
'';
# Disable tests on Darwin for now because of
# https://github.com/NixOS/nixpkgs/issues/41099
- doCheck = !stdenv.hostPlatform.isDarwin;
+ doCheck = true;
checkPhase = ''
cd dmd
@@ -197,7 +201,8 @@ let
buildPhase = ''
cd phobos
- make -j$NIX_BUILD_CORES -f posix.mak unittest BUILD=release ENABLE_RELEASE=1 PIC=1 DMD=${dmdBuild}/bin/dmd TZ_DATABASE_DIR=${tzdata}/share/zoneinfo/
+ echo ${tzdata}/share/zoneinfo/ > TZDatabaseDirFile
+ make -j$NIX_BUILD_CORES -f posix.mak unittest BUILD=release ENABLE_RELEASE=1 PIC=1 DMD=${dmdBuild}/bin/dmd DFLAGS="-version=TZDatabaseDir -J$(pwd)"
'';
installPhase = ''
diff --git a/pkgs/development/compilers/ldc/default.nix b/pkgs/development/compilers/ldc/default.nix
index e39d6ae8e206..80ccb0dbbd30 100644
--- a/pkgs/development/compilers/ldc/default.nix
+++ b/pkgs/development/compilers/ldc/default.nix
@@ -2,19 +2,18 @@
, python, libconfig, lit, gdb, unzip, darwin, bash
, callPackage, makeWrapper, targetPackages
, bootstrapVersion ? false
-, version ? "1.11.0"
-, ldcSha256 ? "0w4z261gzji31hn1xdnmi9dfkbyydpy6rz8aj4456q5w8yp4yil5"
+, version ? "1.12.0"
+, ldcSha256 ? "1fdma1w8j37wkr0pqdar11slkk36qymamxnk6d9k8ybhjmxaaawm"
}:
let
-
bootstrapLdc = if !bootstrapVersion then
# LDC 0.17.x is the last version which doesn't need a working D compiler to
# build so we use that version to bootstrap the actual build.
callPackage ./default.nix {
bootstrapVersion = true;
- version = "0.17.5";
- ldcSha256 = "0200r5y8hs5yv2cx24csgyh00dlg18877b9cfblixypr6nhl19bs";
+ version = "0.17.6";
+ ldcSha256 = "0qf5kbxddgmg3kqzi0kf4bgv8vdrnv16y07hcpm0cwv9mc3qr2w6";
}
else
"";
@@ -31,97 +30,52 @@ let
postUnpack = ''
patchShebangs .
-
- # Remove cppa test for now because it doesn't work.
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/cppa.d
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/extra-files/cppb.cpp
''
- + stdenv.lib.optionalString (bootstrapVersion) ''
- # ... runnable/variadic.d ()
- #Test failed. The logged output:
- #/tmp/nix-build-ldcBuild-0.17.5.drv-0/ldc-0.17.5-src/build/bin/ldmd2 -conf= -m64 -Irunnable -od/tmp/nix-build-ldcBuild-0.17.5.drv-0/ldc-0.17.5-src/build/dmd-testsuite/runnable -of/tmp/nix-build-ldcBuild-0.17.5.drv-0/ldc-0.17.5-src/build/dmd-testsuite/runnable/variadic_0 runnable/variadic.d
- #Error: integer constant expression expected instead of <cant>
- #Error: integer constant expression expected instead of <cant>
- #Error: integer constant expression expected instead of <cant>
- #Error: integer constant expression expected instead of <cant>
- #Error: integer constant expression expected instead of <cant>
- #runnable/variadic.d(84): Error: template instance variadic.Foo3!(int, int, int) error instantiating
- #
- #
- #==============================
- #Test failed: expected rc == 0, exited with rc == 1
- rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/variadic.d
+ + stdenv.lib.optionalString (!bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
+ # http://forum.dlang.org/thread/xtbbqthxutdoyhnxjhxl@forum.dlang.org
+ rm -r ldc-${version}-src/tests/dynamiccompile
+
+ # https://github.com/NixOS/nixpkgs/issues/34817
+ rm -r ldc-${version}-src/tests/plugins/addFuncEntryCall
+
+ # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
+ rm -r ldc-${version}-src/tests/debuginfo/classtypes_gdb.d
+ rm -r ldc-${version}-src/tests/debuginfo/nested_gdb.d
+
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/test16096.sh
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/ldc_output_filenames.sh
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/crlf.sh
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/issue15574.sh
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/compilable/test6461.sh
''
+ stdenv.lib.optionalString (!bootstrapVersion) ''
- # http://forum.dlang.org/thread/xtbbqthxutdoyhnxjhxl@forum.dlang.org
- rm -r ldc-${version}-src/tests/dynamiccompile
+ echo ${tzdata}/share/zoneinfo/ > ldc-${version}-src/TZDatabaseDirFile
- # https://github.com/NixOS/nixpkgs/issues/34817
- rm -r ldc-${version}-src/tests/plugins/addFuncEntryCall
+ # Remove cppa test for now because it doesn't work.
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/cppa.d
+ rm ldc-${version}-src/tests/d2/dmd-testsuite/runnable/extra-files/cppb.cpp
'';
- ROOT_HOME_DIR = "$(echo ~root)";
-
datetimePath = if bootstrapVersion then
"phobos/std/datetime.d"
else
"phobos/std/datetime/timezone.d";
postPatch = ''
- substituteInPlace runtime/${datetimePath} \
- --replace "import core.time;" "import core.time;import std.path;"
-
- substituteInPlace runtime/${datetimePath} \
- --replace "tzName == \"leapseconds\"" "baseName(tzName) == \"leapseconds\""
-
+ # https://issues.dlang.org/show_bug.cgi?id=15391
substituteInPlace runtime/phobos/std/net/curl.d \
--replace libcurl.so ${curl.out}/lib/libcurl.so
- # Ugly hack to fix the hardcoded path to zoneinfo in the source file.
- # https://issues.dlang.org/show_bug.cgi?id=15391
- substituteInPlace runtime/${datetimePath} \
- --replace /usr/share/zoneinfo/ ${tzdata}/share/zoneinfo/
-
substituteInPlace tests/d2/dmd-testsuite/Makefile \
--replace "SHELL=/bin/bash" "SHELL=${bash}/bin/bash"
''
- + stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
- # See https://github.com/NixOS/nixpkgs/issues/29443
- substituteInPlace runtime/phobos/std/path.d \
- --replace "\"/root" "\"${ROOT_HOME_DIR}"
-
- # Can be remove with front end version >= 2.078.0
- substituteInPlace runtime/druntime/src/core/memory.d \
- --replace "assert(z is null);" "//assert(z is null);"
- ''
-
+ stdenv.lib.optionalString (bootstrapVersion && stdenv.hostPlatform.isDarwin) ''
- # https://github.com/ldc-developers/ldc/pull/2306
- # Can be removed on bootstrap version > 0.17.5
- substituteInPlace gen/programs.cpp \
- --replace "gcc" "clang"
-
# Was not able to compile on darwin due to "__inline_isnanl"
# being undefined.
substituteInPlace dmd2/root/port.c --replace __inline_isnanl __inline_isnan
- ''
-
- + stdenv.lib.optionalString (!bootstrapVersion) ''
- # TODO Can be removed with the next ldc version > 1.7.0
- # https://github.com/ldc-developers/ldc/issues/2493
- substituteInPlace tests/d2/dmd-testsuite/Makefile \
- --replace "# disable tests based on arch" "DISABLED_TESTS += test_cdvecfill"
- ''
-
- + stdenv.lib.optionalString (bootstrapVersion) ''
- substituteInPlace runtime/${datetimePath} \
- --replace "import std.traits;" "import std.traits;import std.path;"
-
- substituteInPlace runtime/${datetimePath} \
- --replace "tzName == \"+VERSION\"" "baseName(tzName) == \"leapseconds\" || tzName == \"+VERSION\""
'';
nativeBuildInputs = [ cmake makeWrapper llvm bootstrapLdc python lit gdb unzip ]
@@ -137,17 +91,24 @@ let
buildInputs = [ curl tzdata ];
- preConfigure = ''
- cmakeFlagsArray=("-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DCMAKE_SKIP_RPATH=ON"
- "-DBUILD_SHARED_LIBS=OFF"
- "-DLDC_WITH_LLD=OFF"
- # Xcode 9.0.1 fixes that bug according to ldc release notes
- "-DRT_ARCHIVE_WITH_LDC=OFF"
- )
+ #"-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc"
+ # Xcode 9.0.1 fixes that bug according to ldc release notes
+ #"-DRT_ARCHIVE_WITH_LDC=OFF"
+ #"-DD_FLAGS=TZ_DATABASE_DIR=${tzdata}/share/zoneinfo/"
+ #"-DCMAKE_BUILD_TYPE=Release"
+ #"-DCMAKE_SKIP_RPATH=ON"
+
+ #-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc
+ #
+ cmakeFlagsString = stdenv.lib.optionalString (!bootstrapVersion) ''
+ "-DD_FLAGS=-d-version=TZDatabaseDir;-J$PWD"
'';
+ preConfigure = stdenv.lib.optionalString (!bootstrapVersion) ''
+ cmakeFlagsArray=(
+ ${cmakeFlagsString}
+ )
+ '';
postConfigure = ''
export DMD=$PWD/bin/ldmd2
@@ -155,10 +116,7 @@ let
makeFlags = [ "DMD=$DMD" ];
- # Disable tests on Darwin for now because of
- # https://github.com/NixOS/nixpkgs/issues/41099
- # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
- doCheck = !bootstrapVersion && !stdenv.hostPlatform.isDarwin;
+ doCheck = !bootstrapVersion;
checkPhase = ''
# Build and run LDC D unittests.
@@ -216,15 +174,10 @@ let
buildInputs = ldcBuild.buildInputs;
preConfigure = ''
- cmakeFlagsArray=( "-DINCLUDE_INSTALL_DIR=$out/include/dlang/ldc"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DCMAKE_SKIP_RPATH=ON"
- "-DBUILD_SHARED_LIBS=OFF"
- "-DLDC_WITH_LLD=OFF"
- # Xcode 9.0.1 fixes that bug according to ldc release notes
- "-DRT_ARCHIVE_WITH_LDC=OFF"
- "-DD_COMPILER=${ldcBuild.out}/bin/ldmd2"
- )
+ cmakeFlagsArray=(
+ ${ldcBuild.cmakeFlagsString}
+ "-DD_COMPILER=${ldcBuild.out}/bin/ldmd2"
+ )
'';
postConfigure = ldcBuild.postConfigure;
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 9e0dd0758b04..7bd540c8578e 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -173,12 +173,14 @@ self: super: {
inline-c-cpp = if !pkgs.stdenv.isDarwin
then super.inline-c-cpp
- else addExtraLibrary (overrideCabal super.inline-c-cpp (drv:
- {
- postPatch = ''
- substituteInPlace inline-c-cpp.cabal --replace stdc++ c++
- '';
- })) pkgs.libcxx;
+ else
+ let drv = addExtraLibrary (overrideCabal super.inline-c-cpp (drv: {
+ postPatch = ''
+ substituteInPlace inline-c-cpp.cabal --replace stdc++ c++
+ '';
+ })) pkgs.libcxx;
+ in # https://github.com/fpco/inline-c/issues/75
+ dontCheck drv;
inline-java = addBuildDepend super.inline-java pkgs.jdk;
@@ -688,6 +690,13 @@ self: super: {
sha256 = "1m2d47ni4jbrpvxry50imj91qahr3r7zkqm157clrzlmw6gzpgnq";
});
+ # Djinn's last release was 2014, incompatible with Semigroup-Monoid Proposal
+ # https://github.com/augustss/djinn/pull/8
+ djinn = appendPatch super.djinn (pkgs.fetchpatch {
+ url = https://github.com/augustss/djinn/commit/6cb9433a137fb6b5194afe41d616bd8b62b95630.patch;
+ sha256 = "0s021y5nzrh74gfp8xpxpxm11ivzfs3jwg6mkrlyry3iy584xqil";
+ });
+
# We cannot build this package w/o the C library from <http://www.phash.org/>.
phash = markBroken super.phash;
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index a6deacf70157..574c29f76da3 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -171338,7 +171338,7 @@ self: {
"qr-imager" = callPackage
({ mkDerivation, base, binary, bytestring, cryptonite, directory
- , haskell-qrencode, hspec, jose-jwt, JuicyPixels, libqrencode
+ , haskell-qrencode, hspec, jose-jwt, JuicyPixels, qrencode
, microlens, process, split, vector
}:
mkDerivation {
@@ -171349,12 +171349,12 @@ self: {
base binary bytestring cryptonite directory haskell-qrencode
jose-jwt JuicyPixels microlens process split vector
];
- libraryPkgconfigDepends = [ libqrencode ];
+ libraryPkgconfigDepends = [ qrencode ];
testHaskellDepends = [ base hspec ];
description = "Library to generate images";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- }) {inherit (pkgs) libqrencode;};
+ }) {inherit (pkgs) qrencode;};
"qr-repa" = callPackage
({ mkDerivation, aeson, base, bytestring, cryptonite, directory
diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix
index 4e1028184aa1..5e8f5e2d59b6 100644
--- a/pkgs/development/interpreters/perl/default.nix
+++ b/pkgs/development/interpreters/perl/default.nix
@@ -42,13 +42,14 @@ let
patches =
[
# Do not look in /usr etc. for dependencies.
- ./no-sys-dirs-5.26.patch
+ (if (versionOlder version "5.29.6") then ./no-sys-dirs-5.26.patch else ./no-sys-dirs-5.29.patch)
+ ]
+ ++ optional (versionOlder version "5.29.6")
# Fix parallel building: https://rt.perl.org/Public/Bug/Display.html?id=132360
(fetchurlBoot {
url = "https://rt.perl.org/Public/Ticket/Attachment/1502646/807252/0001-Fix-missing-build-dependency-for-pods.patch";
sha256 = "1bb4mldfp8kq1scv480wm64n2jdsqa3ar46cjp1mjpby8h5dr2r0";
})
- ]
++ optional stdenv.isSunOS ./ld-shared.patch
++ optionals stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ]
++ optional crossCompiling ./MakeMaker-cross.patch;
@@ -181,7 +182,7 @@ in rec {
# the latest Devel version
perldevel = common {
- version = "5.29.4";
- sha256 = "153r0f6jdqrl7hxrvhfivf5g8ivhbvggfhg841q3hi3db5rc86k4";
+ version = "5.29.6";
+ sha256 = "0wj2bia8s30788f69mf5s533l72zbhqpdr85kkk97yrh1c9sgcd6";
};
}
diff --git a/pkgs/development/interpreters/perl/no-sys-dirs-5.29.patch b/pkgs/development/interpreters/perl/no-sys-dirs-5.29.patch
new file mode 100644
index 000000000000..0ccf6254b782
--- /dev/null
+++ b/pkgs/development/interpreters/perl/no-sys-dirs-5.29.patch
@@ -0,0 +1,251 @@
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/Configure perl-5.20.0/Configure
+--- perl-5.20.0-orig/Configure 2014-05-26 15:34:18.000000000 +0200
++++ perl-5.20.0/Configure 2014-06-25 10:43:35.368285986 +0200
+@@ -106,15 +106,7 @@
+ fi
+
+ : Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin"
+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
+-paths="$paths /sbin /usr/sbin /usr/libexec"
+-paths="$paths /system/gnu_library/bin"
++paths=''
+
+ for p in $paths
+ do
+@@ -1337,8 +1329,7 @@
+ archname=''
+ : Possible local include directories to search.
+ : Set locincpth to "" in a hint file to defeat local include searches.
+-locincpth="/usr/local/include /opt/local/include /usr/gnu/include"
+-locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
++locincpth=""
+ :
+ : no include file wanted by default
+ inclwanted=''
+@@ -1349,17 +1340,12 @@
+
+ libnames=''
+ : change the next line if compiling for Xenix/286 on Xenix/386
+-xlibpth='/usr/lib/386 /lib/386'
++xlibpth=''
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
++loclibpth=""
+
+ : general looking path for locating libraries
+-glibpth="/lib /usr/lib $xlibpth"
+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+-test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+-test -f /shlib/libc.so && glibpth="/shlib $glibpth"
+-test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
++glibpth=""
+
+ : Private path used by Configure to find libraries. Its value
+ : is prepended to libpth. This variable takes care of special
+@@ -1391,8 +1377,6 @@
+ libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
+ : We probably want to search /usr/shlib before most other libraries.
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
+-glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
+-glibpth="/usr/shlib $glibpth"
+ : Do not use vfork unless overridden by a hint file.
+ usevfork=false
+
+@@ -2446,7 +2430,6 @@
+ zip
+ "
+ pth=`echo $PATH | sed -e "s/$p_/ /g"`
+-pth="$pth $sysroot/lib $sysroot/usr/lib"
+ for file in $loclist; do
+ eval xxx=\$$file
+ case "$xxx" in
+@@ -4936,7 +4919,7 @@
+ : Set private lib path
+ case "$plibpth" in
+ '') if ./mips; then
+- plibpth="$incpath/usr/lib $sysroot/usr/local/lib $sysroot/usr/ccs/lib"
++ plibpth="$incpath/usr/lib"
+ fi;;
+ esac
+ case "$libpth" in
+@@ -8600,13 +8583,8 @@
+ echo " "
+ case "$sysman" in
+ '')
+- syspath='/usr/share/man/man1 /usr/man/man1'
+- syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1"
+- syspath="$syspath /usr/man/u_man/man1"
+- syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1"
+- syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
+- syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1"
+- sysman=`./loc . /usr/man/man1 $syspath`
++ syspath=''
++ sysman=''
+ ;;
+ esac
+ if $test -d "$sysman"; then
+@@ -19900,9 +19878,10 @@
+ case "$full_ar" in
+ '') full_ar=$ar ;;
+ esac
++full_ar=ar
+
+ : Store the full pathname to the sed program for use in the C program
+-full_sed=$sed
++full_sed=sed
+
+ : see what type gids are declared as in the kernel
+ echo " "
+Only in perl-5.20.0/: Configure.orig
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/ext/Errno/Errno_pm.PL perl-5.20.0/ext/Errno/Errno_pm.PL
+--- perl-5.20.0-orig/ext/Errno/Errno_pm.PL 2014-05-26 15:34:20.000000000 +0200
++++ perl-5.20.0/ext/Errno/Errno_pm.PL 2014-06-25 10:31:24.317970047 +0200
+@@ -134,12 +126,7 @@
+ if ($dep =~ /(\S+errno\.h)/) {
+ $file{$1} = 1;
+ }
+- } elsif ($^O eq 'linux' &&
+- $Config{gccversion} ne '' &&
+- $Config{gccversion} !~ /intel/i &&
+- # might be using, say, Intel's icc
+- $linux_errno_h
+- ) {
++ } elsif (0) {
+ $file{$linux_errno_h} = 1;
+ } elsif ($^O eq 'haiku') {
+ # hidden in a special place
+Only in perl-5.20.0/ext/Errno: Errno_pm.PL.orig
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/freebsd.sh perl-5.20.0/hints/freebsd.sh
+--- perl-5.20.0-orig/hints/freebsd.sh 2014-01-31 22:55:51.000000000 +0100
++++ perl-5.20.0/hints/freebsd.sh 2014-06-25 10:25:53.263964680 +0200
+@@ -119,21 +119,21 @@
+ objformat=`/usr/bin/objformat`
+ if [ x$objformat = xaout ]; then
+ if [ -e /usr/lib/aout ]; then
+- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
+- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
++ libpth=""
++ glibpth=""
+ fi
+ lddlflags='-Bshareable'
+ else
+- libpth="/usr/lib /usr/local/lib"
+- glibpth="/usr/lib /usr/local/lib"
++ libpth=""
++ glibpth=""
+ ldflags="-Wl,-E "
+ lddlflags="-shared "
+ fi
+ cccdlflags='-DPIC -fPIC'
+ ;;
+ *)
+- libpth="/usr/lib /usr/local/lib"
+- glibpth="/usr/lib /usr/local/lib"
++ libpth=""
++ glibpth=""
+ ldflags="-Wl,-E "
+ lddlflags="-shared "
+ cccdlflags='-DPIC -fPIC'
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/linux.sh
+--- perl-5.20.0-orig/hints/linux.sh 2014-05-26 15:34:20.000000000 +0200
++++ perl-5.20.0/hints/linux.sh 2014-06-25 10:33:47.354883843 +0200
+@@ -150,25 +150,6 @@
+ ;;
+ esac
+
+-# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries
+-# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us
+-# where to look. We don't want gcc's own libraries, however, so we
+-# filter those out.
+-# This could be conditional on Unbuntu, but other distributions may
+-# follow suit, and this scheme seems to work even on rather old gcc's.
+-# This unconditionally uses gcc because even if the user is using another
+-# compiler, we still need to find the math library and friends, and I don't
+-# know how other compilers will cope with that situation.
+-# Morever, if the user has their own gcc earlier in $PATH than the system gcc,
+-# we don't want its libraries. So we try to prefer the system gcc
+-# Still, as an escape hatch, allow Configure command line overrides to
+-# plibpth to bypass this check.
+-if [ -x /usr/bin/gcc ] ; then
+- gcc=/usr/bin/gcc
+-else
+- gcc=gcc
+-fi
+-
+ case "$plibpth" in
+ '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries |
+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
+@@ -178,32 +159,6 @@
+ ;;
+ esac
+
+-case "$libc" in
+-'')
+-# If you have glibc, then report the version for ./myconfig bug reporting.
+-# (Configure doesn't need to know the specific version since it just uses
+-# gcc to load the library for all tests.)
+-# We don't use __GLIBC__ and __GLIBC_MINOR__ because they
+-# are insufficiently precise to distinguish things like
+-# libc-2.0.6 and libc-2.0.7.
+- for p in $plibpth
+- do
+- for trylib in libc.so.6 libc.so
+- do
+- if $test -e $p/$trylib; then
+- libc=`ls -l $p/$trylib | awk '{print $NF}'`
+- if $test "X$libc" != X; then
+- break
+- fi
+- fi
+- done
+- if $test "X$libc" != X; then
+- break
+- fi
+- done
+- ;;
+-esac
+-
+ if ${sh:-/bin/sh} -c exit; then
+ echo ''
+ echo 'You appear to have a working bash. Good.'
+@@ -367,33 +322,6 @@
+ ;;
+ esac
+
+-# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than
+-# true libraries. The scripts cause binding against static
+-# version of -lgdbm which is a bad idea. So if we have 'nm'
+-# make sure it can read the file
+-# NI-S 2003/08/07
+-case "$nm" in
+- '') ;;
+- *)
+- for p in $plibpth
+- do
+- if $test -r $p/libndbm.so; then
+- if $nm $p/libndbm.so >/dev/null 2>&1 ; then
+- echo 'Your shared -lndbm seems to be a real library.'
+- _libndbm_real=1
+- break
+- fi
+- fi
+- done
+- if $test "X$_libndbm_real" = X; then
+- echo 'Your shared -lndbm is not a real library.'
+- set `echo X "$libswanted "| sed -e 's/ ndbm / /'`
+- shift
+- libswanted="$*"
+- fi
+- ;;
+-esac
+-
+ # Linux on Synology.
+ if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then
+ # Tested on Synology DS213 and DS413
diff --git a/pkgs/development/libraries/esdl/default.nix b/pkgs/development/libraries/esdl/default.nix
deleted file mode 100644
index 7b40359837a3..000000000000
--- a/