diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2021-06-06 05:35:05 -0300 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-06-06 14:55:09 +0200 |
commit | 690496c4e545e68482b5c162a03f0a4f97d35373 (patch) | |
tree | a922c355785b37219aa5f47a2ef13b9b2b3d0115 /pkgs | |
parent | 235f98a343053aa73f3e0838804b6ed67b615292 (diff) | |
download | nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar.gz nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar.bz2 nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar.lz nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar.xz nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.tar.zst nixlib-690496c4e545e68482b5c162a03f0a4f97d35373.zip |
ocamlPackages.ppx_gen_rec: 1.1.0 -> 2.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_gen_rec/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix b/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix index 87ccd85a07df..ee801f6adfd8 100644 --- a/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix +++ b/pkgs/development/ocaml-modules/ppx_gen_rec/default.nix @@ -1,22 +1,23 @@ -{ lib, fetchurl, buildDunePackage, ocaml-migrate-parsetree }: +{ lib, fetchurl, buildDunePackage, ppxlib }: buildDunePackage rec { pname = "ppx_gen_rec"; - version = "1.1.0"; - - useDune2 = true; + version = "2.0.0"; src = fetchurl { url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; - sha256 = "0fwi4bknq8h9zgpsarjvnzdm9bm8qlyyw0lz30pihg02aiiljqbh"; + sha256 = "sha256-/mMj5UT22KQGVy1sjgEoOgPzyCYyeDPtWJYNDvQ9nlk="; }; - buildInputs = [ ocaml-migrate-parsetree ]; + minimumOCamlVersion = "4.07"; + useDune2 = true; + + buildInputs = [ ppxlib ]; meta = with lib; { homepage = "https://github.com/flowtype/ocaml-ppx_gen_rec"; - description = "ocaml preprocessor that generates a recursive module"; + description = "A ppx rewriter that transforms a recursive module expression into a struct."; license = licenses.mit; - maintainers = [ maintainers.frontsideair ]; + maintainers = with maintainers; [ frontsideair ]; }; } |