2019-08-14 16:35:28 +01:00
|
|
|
{ lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }:
|
2018-12-17 21:39:33 +00:00
|
|
|
|
2019-08-14 16:35:28 +01:00
|
|
|
buildDunePackage (rec {
|
2018-12-17 21:39:33 +00:00
|
|
|
pname = "ppxfind";
|
2019-06-17 12:32:20 +01:00
|
|
|
version = "1.3";
|
2018-12-17 21:39:33 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/diml/ppxfind/releases/download/${version}/ppxfind-${version}.tbz";
|
2019-06-17 12:32:20 +01:00
|
|
|
sha256 = "1r4jp0516378js62ss50a9s8ql2pm8lfdd3mnk214hp7s0kb17fl";
|
2018-12-17 21:39:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
buildInputs = [ ocaml-migrate-parsetree ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/diml/ppxfind";
|
|
|
|
description = "ocamlfind ppx tool";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
2019-08-14 16:35:28 +01:00
|
|
|
} // (
|
|
|
|
if lib.versions.majorMinor ocaml.version == "4.04" then {
|
|
|
|
dontStrip = true;
|
|
|
|
} else {}
|
|
|
|
))
|