lol

ats2: 0.3.0 -> 0.3.7

The patch is no longer needed as ats2 includes contribs in the
upstream Makefile_dist file

+3 -24
+3 -5
pkgs/development/compilers/ats2/default.nix
··· 3 3 , withContrib ? true }: 4 4 5 5 let 6 - versionPkg = "0.3.0" ; 6 + versionPkg = "0.3.7" ; 7 7 8 8 contrib = fetchurl { 9 9 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz" ; 10 - sha256 = "1s4yscisn9gsr692jmh4y5mz03012pv84cm7l5n51v83wc08fks0" ; 10 + sha256 = "1w59ir9ij5bvvnxj6fb1rvzycfqa57i31wmpwawxbsb10bqwzyr6"; 11 11 }; 12 12 13 13 postInstallContrib = stdenv.lib.optionalString withContrib ··· 31 31 32 32 src = fetchurl { 33 33 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz"; 34 - sha256 = "1knf03r8a5sis7n8rw54flf1lxfbr3prywxb1czcdp6hsbcd1v1d"; 34 + sha256 = "19nxyi39fn42sp38kl14a6pvbxq9wr8y405wx0zz7mqb77r0m0h5"; 35 35 }; 36 - 37 - patches = [ ./install-postiats-contrib.patch ]; 38 36 39 37 buildInputs = [ gmp ]; 40 38
-19
pkgs/development/compilers/ats2/install-postiats-contrib.patch
··· 1 - Install the parts of the contrib that have been moved to Postiats. 2 - diff -Naur ATS2-Postiats-0.3.0-upstream/Makefile_dist ATS2-Postiats-0.3.0/Makefile_dist 3 - --- ATS2-Postiats-0.3.0-upstream/Makefile_dist 2017-01-20 10:23:54.000000000 -0400 4 - +++ ATS2-Postiats-0.3.0/Makefile_dist 2017-01-21 13:14:27.614723335 -0400 5 - @@ -124,12 +124,12 @@ 6 - cd "$(abs_top_srcdir)" && \ 7 - $(MKDIR_P) $(PATSLIBHOME2)/bin && \ 8 - if [ ! -d $(bindir2) ] ; then $(MKDIR_P) $(bindir2) ; fi && \ 9 - - for x in share ccomp prelude libc libats ; do \ 10 - + for x in share ccomp prelude libc libats contrib atscntrb ; do \ 11 - find "$$x" -type d -exec $(MKDIR_P) $(PATSLIBHOME2)/\{} \; -print; \ 12 - done 13 - 14 - install_files_0: install_dirs ; \ 15 - - for x in share ccomp/runtime prelude libc libats ; do \ 16 - + for x in share ccomp/runtime prelude libc libats contrib atscntrb ; do \ 17 - cd "$(abs_top_srcdir)" && \ 18 - $(INSTALL) -d $(PATSLIBHOME2)/"$$x" && \ 19 - find "$$x" -type l -exec cp -d \{} $(PATSLIBHOME2)/\{} \; -print && \