2010-07-30 15:47:23 +01:00
|
|
|
{ stdenv, fetchurl, ocaml }:
|
|
|
|
|
2007-11-14 23:05:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-30 15:47:23 +01:00
|
|
|
name = "facile-1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/distrib/${name}.tar.gz";
|
|
|
|
sha256 = "1jp59ankjds8mh4vm0b5h4fd1lcbfn0rd6n151cgh14ihsknnym8";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontAddPrefix = 1;
|
2014-03-19 07:46:17 +00:00
|
|
|
|
|
|
|
patches = [ ./ocaml_4.xx.patch ];
|
|
|
|
|
|
|
|
postPatch = "sed -e 's@mkdir@mkdir -p@' -i Makefile";
|
|
|
|
|
2010-07-30 15:47:23 +01:00
|
|
|
postConfigure = "make -C src .depend";
|
|
|
|
|
|
|
|
makeFlags = "FACILEDIR=\${out}/lib/ocaml/facile";
|
|
|
|
|
|
|
|
buildInputs = [ ocaml ];
|
2007-11-14 23:05:11 +00:00
|
|
|
|
2010-07-30 15:47:23 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.recherche.enac.fr/log/facile;
|
|
|
|
license = "LGPL";
|
|
|
|
description = "A Functional Constraint Library";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-07-30 15:47:23 +01:00
|
|
|
};
|
2007-11-14 23:05:11 +00:00
|
|
|
}
|