mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
ocamlPackages.jsonrpc: drop unnecesary dependencies for 1.7.0
The latest version of jsonrpc does not require any dependencies apart from dune or ocaml Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
This commit is contained in:
parent
705ab7dea9
commit
3080ccb11a
@ -31,9 +31,17 @@ buildDunePackage rec {
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
buildInputs = [ yojson stdlib-shims ocaml-syntax-shims ];
|
||||
buildInputs =
|
||||
if lib.versionAtLeast version "1.7.0" then
|
||||
[ ]
|
||||
else
|
||||
[ yojson stdlib-shims ocaml-syntax-shims ];
|
||||
|
||||
propagatedBuildInputs = [ ppx_yojson_conv_lib result ];
|
||||
propagatedBuildInputs =
|
||||
if lib.versionAtLeast version "1.7.0" then
|
||||
[ ]
|
||||
else
|
||||
[ ppx_yojson_conv_lib result ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jsonrpc protocol implementation in OCaml";
|
||||
|
Loading…
Reference in New Issue
Block a user