mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
llpp: 26b -> 2018-03-02
This commit is contained in:
parent
498374a8bd
commit
7b056a3330
1 changed files with 3 additions and 4 deletions
|
@ -6,12 +6,12 @@ assert lib.versionAtLeast (lib.getVersion ocaml) "4.02";
|
|||
let ocamlVersion = (builtins.parseDrvName (ocaml.name)).version;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "llpp-${version}";
|
||||
version = "26b";
|
||||
version = "2018-03-02";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://repo.or.cz/llpp.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "1w8g1fp1c20sl34cx20plhnbghbsx2fwgp4vyhd1x0za29lw62nj";
|
||||
rev = "0ab1fbbf142b6df6d6bae782e3af2ec50f32dec9";
|
||||
sha256 = "1h0hrmxwm7ripgp051788p8ad0q38dc9nvjx87mdwlkwk9qc0dis";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,6 @@ in stdenv.mkDerivation rec {
|
|||
dontStrip = true;
|
||||
|
||||
configurePhase = ''
|
||||
sed -i -e 's+fz_set_use_document_css (state.ctx, usedoccss);+/* fz_set_use_document_css (state.ctx, usedoccss); */+' link.c
|
||||
sed -i -e 's+ocamlc --version+ocamlc -version+' build.sh
|
||||
sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I ${freetype.dev}/include+' build.sh
|
||||
sed -i -e 's+-lmupdf +-lfreetype -lz -lharfbuzz -ljbig2dec -lopenjp2 -ljpeg -lmupdf +' build.sh
|
||||
|
|
Loading…
Reference in a new issue