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.5.3";
2020-04-13 15:38:32 +00:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "2c8ef24cc57379c3a138f121fea350ee7b6077abc22a4fdc6a47d0c81585f3f6";
};
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
};
}