mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
30 lines
666 B
Nix
30 lines
666 B
Nix
{ stdenv, fetchurl, ocaml }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "facile-1.1";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/distrib/${name}.tar.gz";
|
|
sha256 = "1jp59ankjds8mh4vm0b5h4fd1lcbfn0rd6n151cgh14ihsknnym8";
|
|
};
|
|
|
|
dontAddPrefix = 1;
|
|
|
|
patches = [ ./ocaml_4.xx.patch ];
|
|
|
|
postPatch = "sed -e 's@mkdir@mkdir -p@' -i Makefile";
|
|
|
|
postConfigure = "make -C src .depend";
|
|
|
|
makeFlags = "FACILEDIR=\${out}/lib/ocaml/facile";
|
|
|
|
buildInputs = [ ocaml ];
|
|
|
|
meta = {
|
|
homepage = http://www.recherche.enac.fr/log/facile;
|
|
license = "LGPL";
|
|
description = "A Functional Constraint Library";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|