nixpkgs/pkgs/development/ocaml-modules/irmin/ppx.nix
2023-02-04 22:14:35 +01:00

28 lines
641 B
Nix

{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr, logs }:
buildDunePackage rec {
pname = "ppx_irmin";
version = "3.5.1";
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
hash = "sha256-zXiKjT9KPdGNwWChU9SuyR6vaw+0GtQUZNJsecMEqY4=";
};
minimalOCamlVersion = "4.10";
duneVersion = "3";
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 ];
};
}