git.iko.soy/typeable/nixpkgs
on master help sign in
teyjus: 2.0b2 -> 2.1
commit7f501d7f02ed614f2159ae8b0855f33d796d6819 authorVincent Laporte <Vincent.Laporte@gmail.com> dateFri 2 Dec 2016, 19:35 (10 years ago) parent895d3c8
3 files changed+17−19
pkgs/development/compilers/teyjus/default.nix+5−5 pkgs/development/compilers/teyjus/fix-lex-to-flex.patch+11−11 pkgs/top-level/all-packages.nix+1−3
pkgs/development/compilers/teyjus/default.nix+5−5
@@ -1,11 +1,11 @@
1−{ stdenv, fetchurl, omake, ocaml, flex, bison }:
1+{ stdenv, fetchzip, omake, ocaml, flex, bison }:
22
33stdenv.mkDerivation {
4− name = "teyjus-2.0b2";
4+ name = "teyjus-2.1";
55
6− src = fetchurl {
7− url = "https://teyjus.googlecode.com/files/teyjus-source-2.0-b2.tar.gz";
8− sha256 = "f589fb460d7095a6e674b7a6413772c41b98654c38602c3e8c477a976da99052";
6+ src = fetchzip {
7+ url = https://github.com/teyjus/teyjus/archive/v2.1.tar.gz;
8+ sha256 = "064jqf68zpmvndgyhilmxfhnvx1bzm8avhgw82csj5wxw5ky6glz";
99 };
1010
1111 patches = [ ./fix-lex-to-flex.patch ];
pkgs/development/compilers/teyjus/fix-lex-to-flex.patch+11−11
@@ -1,23 +1,23 @@
1−diff --git a/source/OMakefile b/source/OMakefile
2−index 6b19d84..095b8b6 100644
3−--- a/source/OMakefile
4−+++ b/source/OMakefile
5−@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
1+--- a/source/OMakefile 1970-01-01 00:00:01.000000000 +0000
2++++ b/source/OMakefile 2016-12-02 08:48:42.000000000 +0000
3+@@ -183,18 +183,18 @@
64 DEP_MAIN = $(FNT)/dependfront
5+ PAR_MAIN = $(FNT)/parsefront
76
8− ############################################################
9−+# Nixpkgs specific changes
10−+#
11−+
127+LEX = flex
138+
14−+############################################################
9+ ############################################################
1510 # Platform specific changes
1611 #
1712
13+ if $(mem $(SYSNAME), Linux)
14+ YACC = bison -by
15+- LEX = flex
16+ export
17+
1818 if $(mem $(OSTYPE), Cygwin Win32)
1919 YACC = bison -by
2020- LEX = flex
21− CFLAGS += -mno-cygwin
21+ CC = i686-pc-mingw32-gcc
2222 INC_C[] += $(INC)/byteswap $(INC)/search
2323 export
pkgs/top-level/all-packages.nix+1−3
@@ -5295,9 +5295,7 @@ in
52955295 lua = lua5_1;
52965296 };
52975297
5298− teyjus = callPackage ../development/compilers/teyjus {
5299− omake = omake_rc1;
5300− };
5298+ teyjus = callPackage ../development/compilers/teyjus { };
53015299
53025300 thrust = callPackage ../development/tools/thrust {
53035301 gconf = pkgs.gnome2.GConf;