dub: 1.7.2 -> 1.8.0

This commit is contained in:
Thomas Mader 2018-03-03 18:47:48 +01:00
parent 80d6e98964
commit 659e641b90

View File

@ -4,7 +4,7 @@ let
dubBuild = stdenv.mkDerivation rec { dubBuild = stdenv.mkDerivation rec {
name = "dubBuild-${version}"; name = "dubBuild-${version}";
version = "1.7.2"; version = "1.8.0";
enableParallelBuilding = true; enableParallelBuilding = true;
@ -12,21 +12,13 @@ let
owner = "dlang"; owner = "dlang";
repo = "dub"; repo = "dub";
rev = "v${version}"; rev = "v${version}";
sha256 = "073ibvgm1gphcqs1yjrav9ryp677nh3b194nxmvicwgvdc0sb6w9"; sha256 = "0788d375sc6xdak9x6xclkkz243lb7di68yxfvl4v0n178mi22bk";
}; };
postUnpack = '' postUnpack = ''
patchShebangs . patchShebangs .
''; '';
patches = [
# TODO Remove with next release which contains https://github.com/dlang/dub/pull/1354
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/dlang/dub/pull/1354.patch";
sha256 = "01alky8a91qwjmlnfjbrn8kiivwr69f3j4c84cjlxrzfp1ph20ah";
})
];
# Can be removed with https://github.com/dlang/dub/pull/1368 # Can be removed with https://github.com/dlang/dub/pull/1368
dubvar = "\\$DUB"; dubvar = "\\$DUB";
postPatch = '' postPatch = ''
@ -71,8 +63,6 @@ let
src = dubBuild.src; src = dubBuild.src;
patches = dubBuild.patches;
postUnpack = dubBuild.postUnpack; postUnpack = dubBuild.postUnpack;
postPatch = dubBuild.postPatch; postPatch = dubBuild.postPatch;