summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-11-25 14:16:07 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2020-11-27 08:54:40 +0100
commitc6a8fcd945ae64c5875432dc7e8a6ff112a9c209 (patch)
tree5e4d37474f5a84f5107e6f54dee9f53f1bc6222f /pkgs/development/ocaml-modules
parentcddd4fad6bb11e971ae9230df76250241456b191 (diff)
ocamlPackages.ocaml-migrate-parsetree-2-1: init at 2.1.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix b/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix
new file mode 100644
index 000000000000..afe3d34963ae
--- /dev/null
+++ b/pkgs/development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix
@@ -0,0 +1,20 @@
+{ lib, fetchurl, buildDunePackage }:
+
+buildDunePackage rec {
+ pname = "ocaml-migrate-parsetree";
+ version = "2.1.0";
+
+ minimumOCamlVersion = "4.02";
+
+ src = fetchurl {
+ url = "https://github.com/ocaml-ppx/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
+ sha256 = "07x7lm45kny0mi0fjvzw51445brm0dgy099cw0gpyly0wj77hyrq";
+ };
+
+ meta = {
+ description = "Convert OCaml parsetrees between different major versions";
+ license = lib.licenses.lgpl21;
+ maintainers = with lib.maintainers; [ vbgl sternenseemann ];
+ homepage = "https://github.com/ocaml-ppx/ocaml-migrate-parsetree";
+ };
+}