depot/third_party/nixpkgs/pkgs/development/ocaml-modules/elpi/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
640 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, camlp5
, ppx_tools_versioned, ppx_deriving, re
}:
buildDunePackage rec {
pname = "elpi";
version = "1.10.2";
src = fetchFromGitHub {
owner = "LPCIC";
repo = "elpi";
rev = "v${version}";
sha256 = "0w5z0pxyshqawq7w5rw3nqii49y88rizvwqf202pl11xqi14icsn";
};
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 ];
inherit (src.meta) homepage;
};
}