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 15:38:32 +00:00
buildDunePackage rec {
2020-04-13 15:38:32 +00:00
pname = "ppx_irmin";
version = "2.9.1";
2020-04-13 15:38:32 +00:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "10r7j4z4gx3dp48lavjhpb1cam27n6ch751amslb0drphy53l00n";
};
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
};
}