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