2022-03-30 09:31:56 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, ocaml }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "facile";
|
|
|
|
version = "1.1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Emmanuel-PLF/facile/releases/download/${version}/facile-${version}.tbz";
|
|
|
|
sha256 = "0jqrwmn6fr2vj2rrbllwxq4cmxykv7zh0y4vnngx29f5084a04jp";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
useDune2 = lib.versionAtLeast ocaml.version "4.12";
|
|
|
|
postPatch = lib.optionalString useDune2 "dune upgrade";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://opti.recherche.enac.fr/facile/";
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
description = "A Functional Constraint Library";
|
|
|
|
};
|
|
|
|
}
|