2020-07-18 16:06:22 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, ppxlib, ocaml-syntax-shims }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ppx_irmin";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "2.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
|
|
|
|
sha256 = "0gzw918b661qkvd140hilww9jsc49rxsxz1k4iihyvikjn202km4";
|
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.06";
|
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ ocaml-syntax-shims ];
|
|
|
|
propagatedBuildInputs = [ ppxlib ];
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# tests depend on irmin, would create mutual dependency
|
|
|
|
# opt to test irmin instead of ppx_irmin
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://irmin.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "PPX deriver for Irmin generics";
|
2020-07-18 16:06:22 +00:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|