depot/third_party/nixpkgs/pkgs/development/ocaml-modules/irmin/ppx.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

28 lines
730 B
Nix

{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr, logs }:
buildDunePackage rec {
pname = "ppx_irmin";
version = "3.4.1";
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "sha256-kig2EWww7GgGijhpSgm7pSHPR+3Q5K5E4Ha5tJY9oYA=";
};
minimalOCamlVersion = "4.10";
strictDeps = false; # We must provide checkInputs as buildInputs because dune builds tests at build time
propagatedBuildInputs = [
ppx_repr
ppxlib
logs
];
meta = {
homepage = "https://irmin.org/";
description = "PPX deriver for Irmin generics";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
};
}