diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-11-06 01:56:54 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2018-11-06 08:06:11 -0500 |
commit | 36efe7b3aa5a652f296968c8e9ea85710f35d8b1 (patch) | |
tree | c4ada0ee41205bb1ac08d6c32bee6ffef510b60a /pkgs/development/ocaml-modules/visitors | |
parent | faea8def191e6609525910216755e1d1311a0017 (diff) | |
download | nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar.gz nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar.bz2 nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar.lz nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar.xz nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.tar.zst nixpkgs-36efe7b3aa5a652f296968c8e9ea85710f35d8b1.zip |
ocamlPackages.visitors: init at 20171124
Diffstat (limited to 'pkgs/development/ocaml-modules/visitors')
-rw-r--r-- | pkgs/development/ocaml-modules/visitors/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/visitors/default.nix b/pkgs/development/ocaml-modules/visitors/default.nix new file mode 100644 index 00000000000..506721f7bf5 --- /dev/null +++ b/pkgs/development/ocaml-modules/visitors/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, cppo, ppx_tools, ppx_deriving, result }: + +stdenv.mkDerivation { + name = "ocaml${ocaml.version}-visitors-20171124"; + + src = fetchurl { + url = http://gallium.inria.fr/~fpottier/visitors/visitors-20171124.tar.gz; + sha256 = "04047k2v0pgwcdkgw7jk4955pgil0nj2ji0zfhmlqrdbinyfqzac"; + }; + + buildInputs = [ ocaml findlib ocamlbuild cppo ]; + propagatedBuildInputs = [ ppx_tools ppx_deriving result ]; + + createFindlibDestdir = true; + + meta = with stdenv.lib; { + homepage = https://gitlab.inria.fr/fpottier/visitors; + license = licenses.lgpl21; + description = "An OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures"; + inherit (ocaml.meta) platforms; + maintainers = [ maintainers.marsam ]; + }; +} |