2020-06-04 09:25:19 +01:00
|
|
|
{ lib, fetchzip, buildDunePackage, camlp5
|
2018-09-20 06:45:31 +01:00
|
|
|
, ppx_tools_versioned, ppx_deriving, re
|
|
|
|
}:
|
|
|
|
|
2019-06-23 20:53:51 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "elpi";
|
2020-06-04 09:25:19 +01:00
|
|
|
version = "1.11.2";
|
2019-05-07 10:31:57 +01:00
|
|
|
|
2020-06-04 09:25:19 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/LPCIC/elpi/releases/download/v${version}/elpi-v${version}.tbz";
|
|
|
|
sha256 = "15hamy9ifr05kczadwh3yj2gmr12a9z1jwppmp5yrns0vykjbj76";
|
|
|
|
};
|
2018-09-20 06:45:31 +01:00
|
|
|
|
2019-06-23 20:53:51 +01:00
|
|
|
minimumOCamlVersion = "4.04";
|
2018-09-20 06:45:31 +01:00
|
|
|
|
2019-06-23 20:53:51 +01:00
|
|
|
buildInputs = [ ppx_tools_versioned ];
|
2018-09-20 06:45:31 +01:00
|
|
|
|
2019-06-23 20:53:51 +01:00
|
|
|
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
|
2018-09-20 06:45:31 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Embeddable λProlog Interpreter";
|
2019-06-23 20:53:51 +01:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-06-04 09:25:19 +01:00
|
|
|
homepage = "https://github.com/LPCIC/elpi";
|
2018-09-20 06:45:31 +01:00
|
|
|
};
|
2020-06-04 09:25:19 +01:00
|
|
|
|
|
|
|
useDune2 = true;
|
2018-09-20 06:45:31 +01:00
|
|
|
}
|