Merge pull request #37128 from ryantm/auto-update/teyjus
teyjus: actually update to 2.1
This commit is contained in:
commit
253cbcf7e8
2 changed files with 13 additions and 7 deletions
|
@ -1,11 +1,15 @@
|
|||
{ stdenv, fetchurl, omake, ocaml, flex, bison }:
|
||||
|
||||
let
|
||||
version = "2.1";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "teyjus-2.1";
|
||||
name = "teyjus-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/teyjus/teyjus-source-2.0-b2.tar.gz";
|
||||
sha256 = "0llhm5nrfyj7ihz2qq1q9ijrh6y4f8vl39mpfkkad5bh1m3gp2gm";
|
||||
url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz";
|
||||
sha256 = "0393wpg8v1vvarqy2xh4fdmrwlrl6jaj960kql7cq79mb9p3m269";
|
||||
};
|
||||
|
||||
patches = [ ./fix-lex-to-flex.patch ];
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
diff --git a/source/OMakefile b/source/OMakefile
|
||||
index 6b19d84..095b8b6 100644
|
||||
index e6bd37e..1bbc0a8 100644
|
||||
--- a/source/OMakefile
|
||||
+++ b/source/OMakefile
|
||||
@@ -164,12 +164,17 @@ LNK_MAIN = $(FNT)/linkerfront
|
||||
DEP_MAIN = $(FNT)/dependfront
|
||||
@@ -184,6 +184,12 @@ DEP_MAIN = $(FNT)/dependfront
|
||||
PAR_MAIN = $(FNT)/parsefront
|
||||
|
||||
############################################################
|
||||
+# Nixpkgs specific changes
|
||||
|
@ -15,9 +15,11 @@ index 6b19d84..095b8b6 100644
|
|||
# Platform specific changes
|
||||
#
|
||||
|
||||
@@ -194,7 +200,6 @@ if $(mem $(SYSNAME), Linux)
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue