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

28 lines
640 B
Nix
Raw Normal View History

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