teyjus: 2.0b2 -> 2.1

This commit is contained in:
Vincent Laporte 2016-12-02 19:35:11 +00:00
parent 895d3c8908
commit 7f501d7f02
3 changed files with 17 additions and 19 deletions

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, omake, ocaml, flex, bison }:
{ stdenv, fetchzip, omake, ocaml, flex, bison }:
stdenv.mkDerivation {
name = "teyjus-2.0b2";
name = "teyjus-2.1";
src = fetchurl {
url = "https://teyjus.googlecode.com/files/teyjus-source-2.0-b2.tar.gz";
sha256 = "f589fb460d7095a6e674b7a6413772c41b98654c38602c3e8c477a976da99052";
src = fetchzip {
url = https://github.com/teyjus/teyjus/archive/v2.1.tar.gz;
sha256 = "064jqf68zpmvndgyhilmxfhnvx1bzm8avhgw82csj5wxw5ky6glz";
};
patches = [ ./fix-lex-to-flex.patch ];

View file

@ -1,23 +1,23 @@
diff --git a/source/OMakefile b/source/OMakefile
index 6b19d84..095b8b6 100644
--- a/source/OMakefile
+++ b/source/OMakefile
@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
--- a/source/OMakefile 1970-01-01 00:00:01.000000000 +0000
+++ b/source/OMakefile 2016-12-02 08:48:42.000000000 +0000
@@ -183,18 +183,18 @@
DEP_MAIN = $(FNT)/dependfront
PAR_MAIN = $(FNT)/parsefront
############################################################
+# Nixpkgs specific changes
+#
+
+LEX = flex
+
+############################################################
############################################################
# Platform specific changes
#
if $(mem $(SYSNAME), Linux)
YACC = bison -by
- LEX = flex
export
if $(mem $(OSTYPE), Cygwin Win32)
YACC = bison -by
- LEX = flex
CFLAGS += -mno-cygwin
CC = i686-pc-mingw32-gcc
INC_C[] += $(INC)/byteswap $(INC)/search
export

View file

@ -5295,9 +5295,7 @@ in
lua = lua5_1;
};
teyjus = callPackage ../development/compilers/teyjus {
omake = omake_rc1;
};
teyjus = callPackage ../development/compilers/teyjus { };
thrust = callPackage ../development/tools/thrust {
gconf = pkgs.gnome2.GConf;