2021-02-16 17:04:54 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr }:
|
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";
|
2021-02-16 17:04:54 +00:00
|
|
|
version = "2.4.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";
|
2021-02-16 17:04:54 +00:00
|
|
|
sha256 = "1b6lav5br1b83cwdc3gj9mqkzhlbfjrbyjx0107zvj54m82dbrxb";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_repr
|
|
|
|
ppxlib
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# tests depend on irmin, would create mutual dependency
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|