|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{stdenv, fetchurl, ocaml, findlib, camlp4}: |
|
|
|
|
{stdenv, fetchurl, fetchpatch, ocaml, findlib, camlp4}: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "camomile-${version}"; |
|
|
|
@ -9,6 +9,11 @@ stdenv.mkDerivation rec { |
|
|
|
|
sha256 = "003ikpvpaliy5hblhckfmln34zqz0mk3y2m1fqvbjngh3h2np045"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ (fetchpatch { |
|
|
|
|
url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/camomile/camomile.0.8.5/files/4.05-typing-fix.patch; |
|
|
|
|
sha256 = "167279lia6qx62mdcyc5rjsi4gf4yi52wn9mhgd9y1v3754z7fwb"; |
|
|
|
|
})]; |
|
|
|
|
|
|
|
|
|
buildInputs = [ocaml findlib camlp4]; |
|
|
|
|
|
|
|
|
|
createFindlibDestdir = true; |
|
|
|
|