2020-06-18 07:06:33 +00:00
|
|
|
{ lib, fetchzip, buildDunePackage, camlp5
|
2020-04-24 23:36:52 +00:00
|
|
|
, ppx_tools_versioned, ppx_deriving, re
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "elpi";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "1.11.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/LPCIC/elpi/releases/download/v${version}/elpi-v${version}.tbz";
|
|
|
|
sha256 = "15hamy9ifr05kczadwh3yj2gmr12a9z1jwppmp5yrns0vykjbj76";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.04";
|
|
|
|
|
|
|
|
buildInputs = [ ppx_tools_versioned ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Embeddable λProlog Interpreter";
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-06-18 07:06:33 +00:00
|
|
|
homepage = "https://github.com/LPCIC/elpi";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|