2020-06-29 13:28:45 +01:00
|
|
|
{ lib, fetchurl, buildDunePackage, ppxlib, ocaml-syntax-shims }:
|
2020-04-13 16:38:32 +01:00
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
buildDunePackage rec {
|
2020-04-13 16:38:32 +01:00
|
|
|
pname = "ppx_irmin";
|
2020-06-29 13:28:45 +01:00
|
|
|
version = "2.2.0";
|
2020-04-13 16:38:32 +01:00
|
|
|
|
2020-06-29 13:28:45 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
|
|
|
|
sha256 = "0gzw918b661qkvd140hilww9jsc49rxsxz1k4iihyvikjn202km4";
|
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.06";
|
2020-04-13 16:38:32 +01:00
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-13 16:38:32 +01:00
|
|
|
buildInputs = [ ocaml-syntax-shims ];
|
|
|
|
propagatedBuildInputs = [ ppxlib ];
|
|
|
|
|
2020-06-29 13:28:45 +01: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-13 16:38:32 +01:00
|
|
|
description = "PPX deriver for Irmin generics";
|
2020-06-29 13:28:45 +01:00
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2020-04-13 16:38:32 +01:00
|
|
|
};
|
|
|
|
}
|