nixpkgs/pkgs/development/ocaml-modules/irmin/ppx.nix

28 lines
628 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr }:
2020-04-13 17:38:32 +02:00
buildDunePackage rec {
2020-04-13 17:38:32 +02:00
pname = "ppx_irmin";
version = "2.5.1";
2020-04-13 17:38:32 +02:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "131pcgmpys6danprcbxzf4pdsl0ka74bpmmxz8db4507cvxhsz3n";
};
minimumOCamlVersion = "4.08";
2020-04-13 17:38:32 +02:00
useDune2 = true;
propagatedBuildInputs = [
ppx_repr
ppxlib
];
2020-04-13 17:38:32 +02:00
meta = {
homepage = "https://irmin.org/";
2020-04-13 17:38:32 +02:00
description = "PPX deriver for Irmin generics";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
2020-04-13 17:38:32 +02:00
};
}