2022-10-11 08:50:54 +02:00
|
|
|
{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr, logs }:
|
2020-04-13 17:38:32 +02:00
|
|
|
|
2020-06-29 14:28:45 +02:00
|
|
|
buildDunePackage rec {
|
2020-04-13 17:38:32 +02:00
|
|
|
pname = "ppx_irmin";
|
2022-10-11 08:50:54 +02:00
|
|
|
version = "3.4.1";
|
2020-04-13 17:38:32 +02:00
|
|
|
|
2020-06-29 14:28:45 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
|
2022-10-11 08:50:54 +02:00
|
|
|
sha256 = "sha256-kig2EWww7GgGijhpSgm7pSHPR+3Q5K5E4Ha5tJY9oYA=";
|
2020-06-29 14:28:45 +02:00
|
|
|
};
|
|
|
|
|
2022-10-11 08:50:54 +02:00
|
|
|
minimalOCamlVersion = "4.10";
|
2020-04-13 17:38:32 +02:00
|
|
|
|
2022-10-11 08:50:54 +02:00
|
|
|
strictDeps = false; # We must provide checkInputs as buildInputs because dune builds tests at build time
|
2020-06-25 23:22:21 +02:00
|
|
|
|
2021-02-16 08:39:46 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_repr
|
|
|
|
ppxlib
|
2022-10-11 08:50:54 +02:00
|
|
|
logs
|
2021-02-16 08:39:46 +01:00
|
|
|
];
|
2020-04-13 17:38:32 +02:00
|
|
|
|
2020-06-29 14:28:45 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "https://irmin.org/";
|
2020-04-13 17:38:32 +02:00
|
|
|
description = "PPX deriver for Irmin generics";
|
2020-06-29 14:28:45 +02:00
|
|
|
license = lib.licenses.isc;
|
2021-02-19 22:19:24 +01:00
|
|
|
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
|
2020-04-13 17:38:32 +02:00
|
|
|
};
|
|
|
|
}
|