nixpkgs/pkgs/development/ocaml-modules/irmin/ppx.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
730 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, ppxlib, ppx_repr, logs }:
2020-04-13 17:38:32 +02:00
buildDunePackage rec {
2020-04-13 17:38:32 +02:00
pname = "ppx_irmin";
version = "3.4.1";
2020-04-13 17:38:32 +02:00
src = fetchurl {
url = "https://github.com/mirage/irmin/releases/download/${version}/irmin-${version}.tbz";
sha256 = "sha256-kig2EWww7GgGijhpSgm7pSHPR+3Q5K5E4Ha5tJY9oYA=";
};
minimalOCamlVersion = "4.10";
2020-04-13 17:38:32 +02:00
strictDeps = false; # We must provide checkInputs as buildInputs because dune builds tests at build time
propagatedBuildInputs = [
ppx_repr
ppxlib
logs
];
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
};
}