git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32189 from yrashk/ats2-0.3.7

ats2: 0.3.0 -> 0.3.7

commit1354099daf98b7a1f79e6c41ce6bfda5c40177ae authorJoachim F <joachifm@users.noreply.github.com> dateMon 11 Dec 2017, 23:27 (9 years ago) parent90accc0a83067e
2 files changed+3−24
pkgs/development/compilers/ats2/default.nix+3−5 pkgs/development/compilers/ats2/install-postiats-contrib.patch−19
pkgs/development/compilers/ats2/default.nix+3−5
@@ -3,11 +3,11 @@
33, withContrib ? true }:
44
55let
6− versionPkg = "0.3.0" ;
6+ versionPkg = "0.3.7" ;
77
88 contrib = fetchurl {
99 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-contrib-${versionPkg}.tgz" ;
10− sha256 = "1s4yscisn9gsr692jmh4y5mz03012pv84cm7l5n51v83wc08fks0" ;
10+ sha256 = "1w59ir9ij5bvvnxj6fb1rvzycfqa57i31wmpwawxbsb10bqwzyr6";
1111 };
1212
1313 postInstallContrib = stdenv.lib.optionalString withContrib
@@ -31,11 +31,9 @@ stdenv.mkDerivation rec {
3131
3232 src = fetchurl {
3333 url = "mirror://sourceforge/ats2-lang/ATS2-Postiats-${version}.tgz";
34− sha256 = "1knf03r8a5sis7n8rw54flf1lxfbr3prywxb1czcdp6hsbcd1v1d";
34+ sha256 = "19nxyi39fn42sp38kl14a6pvbxq9wr8y405wx0zz7mqb77r0m0h5";
3535 };
3636
37− patches = [ ./install-postiats-contrib.patch ];
38−
3937 buildInputs = [ gmp ];
4038
4139 setupHook = with stdenv.lib;
pkgs/development/compilers/ats2/install-postiats-contrib.patchdeleted−19
@@ -1,19 +0,0 @@
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 && \