mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
parent
e76a1f0e7e
commit
3c7bd996e6
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchzip, omake, ocaml, flex, bison }:
|
{ stdenv, fetchurl, omake, ocaml, flex, bison }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "teyjus-2.1";
|
name = "teyjus-2.0b2";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchurl {
|
||||||
url = https://github.com/teyjus/teyjus/archive/v2.1.tar.gz;
|
url = "https://teyjus.googlecode.com/files/teyjus-source-2.0-b2.tar.gz";
|
||||||
sha256 = "064jqf68zpmvndgyhilmxfhnvx1bzm8avhgw82csj5wxw5ky6glz";
|
sha256 = "f589fb460d7095a6e674b7a6413772c41b98654c38602c3e8c477a976da99052";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-lex-to-flex.patch ];
|
patches = [ ./fix-lex-to-flex.patch ];
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
--- a/source/OMakefile 1970-01-01 00:00:01.000000000 +0000
|
diff --git a/source/OMakefile b/source/OMakefile
|
||||||
+++ b/source/OMakefile 2016-12-02 08:48:42.000000000 +0000
|
index 6b19d84..095b8b6 100644
|
||||||
@@ -183,18 +183,18 @@
|
--- a/source/OMakefile
|
||||||
|
+++ b/source/OMakefile
|
||||||
|
@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
|
||||||
DEP_MAIN = $(FNT)/dependfront
|
DEP_MAIN = $(FNT)/dependfront
|
||||||
PAR_MAIN = $(FNT)/parsefront
|
|
||||||
|
|
||||||
|
############################################################
|
||||||
|
+# Nixpkgs specific changes
|
||||||
|
+#
|
||||||
|
+
|
||||||
+LEX = flex
|
+LEX = flex
|
||||||
+
|
+
|
||||||
############################################################
|
+############################################################
|
||||||
# Platform specific changes
|
# Platform specific changes
|
||||||
#
|
#
|
||||||
|
|
||||||
if $(mem $(SYSNAME), Linux)
|
|
||||||
YACC = bison -by
|
|
||||||
- LEX = flex
|
|
||||||
export
|
|
||||||
|
|
||||||
if $(mem $(OSTYPE), Cygwin Win32)
|
if $(mem $(OSTYPE), Cygwin Win32)
|
||||||
YACC = bison -by
|
YACC = bison -by
|
||||||
- LEX = flex
|
- LEX = flex
|
||||||
CC = i686-pc-mingw32-gcc
|
CFLAGS += -mno-cygwin
|
||||||
INC_C[] += $(INC)/byteswap $(INC)/search
|
INC_C[] += $(INC)/byteswap $(INC)/search
|
||||||
export
|
export
|
||||||
|
@ -5324,7 +5324,9 @@ in
|
|||||||
lua = lua5_1;
|
lua = lua5_1;
|
||||||
};
|
};
|
||||||
|
|
||||||
teyjus = callPackage ../development/compilers/teyjus { };
|
teyjus = callPackage ../development/compilers/teyjus {
|
||||||
|
omake = omake_rc1;
|
||||||
|
};
|
||||||
|
|
||||||
thrust = callPackage ../development/tools/thrust {
|
thrust = callPackage ../development/tools/thrust {
|
||||||
gconf = pkgs.gnome2.GConf;
|
gconf = pkgs.gnome2.GConf;
|
||||||
|
Loading…
Reference in New Issue
Block a user