Merge pull request #34326 from ThomasMader/dub1.7.1

dub: 1.6.0 -> 1.7.1

authored by

adisbladis and committed by
GitHub
f85163e8 19c87f87

+13 -3
+13 -3
pkgs/development/tools/build-managers/dub/default.nix
··· 1 - { stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }: 1 + { stdenv, fetchFromGitHub, fetchpatch, curl, dmd, libevent, rsync }: 2 2 3 3 let 4 4 5 5 dubBuild = stdenv.mkDerivation rec { 6 6 name = "dubBuild-${version}"; 7 - version = "1.6.0"; 7 + version = "1.7.1"; 8 8 9 9 enableParallelBuilding = true; 10 10 ··· 12 12 owner = "dlang"; 13 13 repo = "dub"; 14 14 rev = "v${version}"; 15 - sha256 = "1xjr5pp263lbcd4harxy1ybh7q0kzj9iyy63ji6pn66fizrgm7zk"; 15 + sha256 = "09bcc9bq2z1rbm8sdip1l81y5p8q13r30k02lzifyasiplrnpvlv"; 16 16 }; 17 + 18 + patches = [ 19 + # TODO Remove with next release which contains https://github.com/dlang/dub/pull/1354 20 + (fetchpatch { 21 + url = "https://patch-diff.githubusercontent.com/raw/dlang/dub/pull/1354.patch"; 22 + sha256 = "01alky8a91qwjmlnfjbrn8kiivwr69f3j4c84cjlxrzfp1ph20ah"; 23 + }) 24 + ]; 17 25 18 26 postPatch = '' 19 27 # Avoid that the version file is overwritten ··· 59 67 outputHash = builtins.hashString "sha256" inputString; 60 68 61 69 src = dubBuild.src; 70 + 71 + patches = dubBuild.patches; 62 72 63 73 postPatch = dubBuild.postPatch; 64 74