nixpkgs/pkgs/development/ocaml-modules/elpi/default.nix

29 lines
639 B
Nix
Raw Normal View History

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