git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #34326 from ThomasMader/dub1.7.1

dub: 1.6.0 -> 1.7.1

commitf85163e89c2de41c1f5e5e51af727aee5f98657c authoradisbladis <adisbladis@gmail.com> dateSun 28 Jan 2018, 22:36 (9 years ago) parent19c87f8b07f0f9
1 file changed+13−3
pkgs/development/tools/build-managers/dub/default.nix+13−3
pkgs/development/tools/build-managers/dub/default.nix+13−3
@@ -1,10 +1,10 @@
1−{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
1+{ stdenv, fetchFromGitHub, fetchpatch, curl, dmd, libevent, rsync }:
22
33let
44
55 dubBuild = stdenv.mkDerivation rec {
66 name = "dubBuild-${version}";
7− version = "1.6.0";
7+ version = "1.7.1";
88
99 enableParallelBuilding = true;
1010
@@ -12,9 +12,17 @@ let
1212 owner = "dlang";
1313 repo = "dub";
1414 rev = "v${version}";
15− sha256 = "1xjr5pp263lbcd4harxy1ybh7q0kzj9iyy63ji6pn66fizrgm7zk";
15+ sha256 = "09bcc9bq2z1rbm8sdip1l81y5p8q13r30k02lzifyasiplrnpvlv";
1616 };
1717
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+ ];
25+
1826 postPatch = ''
1927 # Avoid that the version file is overwritten
2028 substituteInPlace build.sh \
@@ -59,6 +67,8 @@ let
5967 outputHash = builtins.hashString "sha256" inputString;
6068
6169 src = dubBuild.src;
70+
71+ patches = dubBuild.patches;
6272
6373 postPatch = dubBuild.postPatch;
6474