3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/irmin/ppx.nix

30 lines
759 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, ppxlib, ocaml-syntax-shims }:
2020-04-13 16:38:32 +01:00
buildDunePackage rec {
2020-04-13 16:38:32 +01:00
pname = "ppx_irmin";
version = "2.2.0";
2020-04-13 16:38:32 +01:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "0gzw918b661qkvd140hilww9jsc49rxsxz1k4iihyvikjn202km4";
};
minimumOCamlVersion = "4.06";
2020-04-13 16:38:32 +01:00
useDune2 = true;
2020-04-13 16:38:32 +01:00
buildInputs = [ ocaml-syntax-shims ];
propagatedBuildInputs = [ ppxlib ];
# tests depend on irmin, would create mutual dependency
# opt to test irmin instead of ppx_irmin
doCheck = false;
meta = {
homepage = "https://irmin.org/";
2020-04-13 16:38:32 +01:00
description = "PPX deriver for Irmin generics";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
2020-04-13 16:38:32 +01:00
};
}