nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 fetchpatch,
5 buildDunePackage,
6 ocaml,
7 stdlib-shims,
8}:
9
10buildDunePackage (finalAttrs: {
11 pname = "facile";
12 version = "1.1.4";
13
14 src = fetchurl {
15 url = "https://github.com/Emmanuel-PLF/facile/releases/download/${finalAttrs.version}/facile-${finalAttrs.version}.tbz";
16 sha256 = "0jqrwmn6fr2vj2rrbllwxq4cmxykv7zh0y4vnngx29f5084a04jp";
17 };
18
19 patches = fetchpatch {
20 url = "https://patch-diff.githubusercontent.com/raw/Emmanuel-PLF/facile/pull/4.patch";
21 excludes = [ "Makefile" ];
22 hash = "sha256-syZO3lzuHxE2Y4yUaS+XgAQUFtLrENy2MwyWzPygfdg=";
23 };
24
25 propagatedBuildInputs = [ stdlib-shims ];
26
27 doCheck = true;
28
29 meta = {
30 homepage = "http://opti.recherche.enac.fr/facile/";
31 license = lib.licenses.lgpl21Plus;
32 description = "Functional Constraint Library";
33 broken = lib.versionAtLeast ocaml.version "5.0";
34 };
35})