nixpkgs-suyu/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 17:38:32 +02:00
buildDunePackage rec {
2020-04-13 17:38:32 +02:00
pname = "ppx_irmin";
2021-07-24 14:05:29 +02:00
version = "2.7.2";
2020-04-13 17:38:32 +02:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
2021-07-24 14:05:29 +02:00
sha256 = "29c68c5001a727aaa7a6842d6204ffa3e24b3544fa4f6af2234cdbfa032f7fdf";
};
minimumOCamlVersion = "4.08";
2020-04-13 17:38:32 +02:00
useDune2 = true;
propagatedBuildInputs = [
ppx_repr
ppxlib
];
2020-04-13 17:38:32 +02:00
meta = {
homepage = "https://irmin.org/";
2020-04-13 17:38:32 +02:00
description = "PPX deriver for Irmin generics";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
2020-04-13 17:38:32 +02:00
};
}