3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/facile/default.nix
Ulrik Strid d6e2e39a6e ocamlPackages.nonstd,facile: run dune upgrade for newer ocaml versions
This allows us to build the packages on OCaml >=4.12

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-03-25 13:55:18 +01:00

23 lines
605 B
Nix

{ lib, fetchurl, buildDunePackage, ocaml }:
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;
useDune2 = lib.versionAtLeast ocaml.version "4.12";
postPatch = lib.optionalString useDune2 "dune upgrade";
meta = {
homepage = "http://opti.recherche.enac.fr/facile/";
license = lib.licenses.lgpl21Plus;
description = "A Functional Constraint Library";
};
}