2021-02-16 08:39:46 +01:00
|
|
|
{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr }:
|
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";
|
2021-02-19 22:19:24 +01:00
|
|
|
version = "2.5.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";
|
2021-02-19 22:19:24 +01:00
|
|
|
sha256 = "131pcgmpys6danprcbxzf4pdsl0ka74bpmmxz8db4507cvxhsz3n";
|
2020-06-29 14:28:45 +02:00
|
|
|
};
|
|
|
|
|
2021-02-16 08:39:46 +01:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-04-13 17:38:32 +02:00
|
|
|
|
2020-06-25 23:22:21 +02:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-02-16 08:39:46 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
ppx_repr
|
|
|
|
ppxlib
|
|
|
|
];
|
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
|
|
|
};
|
|
|
|
}
|