2019-06-23 19:53:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, camlp5
|
2018-09-20 05:45:31 +00:00
|
|
|
, ppx_tools_versioned, ppx_deriving, re
|
|
|
|
}:
|
|
|
|
|
2019-06-23 19:53:51 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "elpi";
|
2020-03-03 13:10:12 +00:00
|
|
|
version = "1.10.2";
|
2019-05-07 09:31:57 +00:00
|
|
|
|
2018-09-20 05:45:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LPCIC";
|
|
|
|
repo = "elpi";
|
|
|
|
rev = "v${version}";
|
2020-03-03 13:10:12 +00:00
|
|
|
sha256 = "0w5z0pxyshqawq7w5rw3nqii49y88rizvwqf202pl11xqi14icsn";
|
2018-09-20 05:45:31 +00:00
|
|
|
};
|
|
|
|
|
2019-06-23 19:53:51 +00:00
|
|
|
minimumOCamlVersion = "4.04";
|
2018-09-20 05:45:31 +00:00
|
|
|
|
2019-06-23 19:53:51 +00:00
|
|
|
buildInputs = [ ppx_tools_versioned ];
|
2018-09-20 05:45:31 +00:00
|
|
|
|
2019-06-23 19:53:51 +00:00
|
|
|
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
|
2018-09-20 05:45:31 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Embeddable λProlog Interpreter";
|
2019-06-23 19:53:51 +00:00
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-09-20 05:45:31 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|