diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-08-23 17:51:53 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-08-23 17:51:53 +0000 |
commit | c21c1e8f3f1356959d4a2043ac91bb8bbadf4118 (patch) | |
tree | 7ed4f498e189e782458ad81dd476a69a44176cb3 /pkgs/development/ocaml-modules/ppx_tools_versioned | |
parent | 7cca325b0797da92424b6216e14ed17757b49379 (diff) | |
download | nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar.gz nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar.bz2 nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar.lz nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar.xz nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.tar.zst nixlib-c21c1e8f3f1356959d4a2043ac91bb8bbadf4118.zip |
ocamlPackages.ppx_tools_versioned: 5.1 -> 5.2.3
Ensures compatibility with OCaml 4.08
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_tools_versioned')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix index 363b774aaeba..03cadad7ff4d 100644 --- a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix +++ b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix @@ -1,23 +1,19 @@ -{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }: +{ lib, fetchFromGitHub, buildDunePackage, ocaml-migrate-parsetree }: -stdenv.mkDerivation rec { - name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}"; - version = "5.1"; +buildDunePackage rec { + pname = "ppx_tools_versioned"; + version = "5.2.3"; src = fetchFromGitHub { - owner = "let-def"; - repo = "ppx_tools_versioned"; + owner = "ocaml-ppx"; + repo = pname; rev = version; - sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624"; + sha256 = "1hcmpnw26zf70a71r3d2c2c0mn8q084gdn1r36ynng6fv9hq6j0y"; }; - buildInputs = [ ocaml findlib ]; - propagatedBuildInputs = [ ocaml-migrate-parsetree ]; - createFindlibDestdir = true; - - meta = with stdenv.lib; { + meta = with lib; { homepage = https://github.com/let-def/ppx_tools_versioned; description = "Tools for authors of syntactic tools (such as ppx rewriters)"; license = licenses.gpl2; |