summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ppxfind/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ppxfind/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ppxfind/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ppxfind/default.nix b/pkgs/development/ocaml-modules/ppxfind/default.nix
new file mode 100644
index 00000000000..ebb592dddd2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ppxfind/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildDunePackage, fetchurl, ocaml-migrate-parsetree }:
+
+buildDunePackage rec {
+	pname = "ppxfind";
+	version = "1.2";
+	src = fetchurl {
+		url = "https://github.com/diml/ppxfind/releases/download/${version}/ppxfind-${version}.tbz";
+		sha256 = "1687jbgii5w5dvvid3ri2cx006ysv0rrspn8dz8x7ma8615whz2h";
+	};
+
+	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 ];
+	};
+}