blob: 3b61a65126358f5bad716240c33fa08cc4e43911 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }:
buildDunePackage (rec {
pname = "ppxfind";
version = "1.3";
src = fetchurl {
url = "https://github.com/diml/ppxfind/releases/download/${version}/ppxfind-${version}.tbz";
sha256 = "1r4jp0516378js62ss50a9s8ql2pm8lfdd3mnk214hp7s0kb17fl";
};
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 ];
};
} // (
if lib.versions.majorMinor ocaml.version == "4.04" then {
dontStrip = true;
} else {}
))
|