diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-11-25 14:16:07 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-11-27 08:54:40 +0100 |
commit | c6a8fcd945ae64c5875432dc7e8a6ff112a9c209 (patch) | |
tree | 5e4d37474f5a84f5107e6f54dee9f53f1bc6222f /pkgs | |
parent | cddd4fad6bb11e971ae9230df76250241456b191 (diff) |
ocamlPackages.ocaml-migrate-parsetree-2-1: init at 2.1.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 22 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 0000000000000..afe3d34963ae6 --- /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"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index b4bf6f7852e55..5e4f350099a6d 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -666,6 +666,8 @@ let ocaml-migrate-parsetree-1-8 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/1.8.x.nix { }; + ocaml-migrate-parsetree-2-1 = callPackage ../development/ocaml-modules/ocaml-migrate-parsetree/2.1.x.nix { }; + ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { }; ocaml-monadic = callPackage ../development/ocaml-modules/ocaml-monadic { }; |