mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
ocamlPackages.graphql: use Dune 2
This commit is contained in:
parent
e56e8d4f74
commit
46281741b2
@ -1,13 +1,13 @@
|
||||
{ lib, buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
|
||||
{ buildDunePackage, alcotest, graphql_parser, rresult, yojson }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql";
|
||||
|
||||
inherit (graphql_parser) version src;
|
||||
inherit (graphql_parser) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ graphql_parser rresult yojson ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ lib, buildDunePackage, alcotest, graphql, ocaml_lwt }:
|
||||
{ buildDunePackage, alcotest, graphql, ocaml_lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql-lwt";
|
||||
|
||||
inherit (graphql) version src;
|
||||
inherit (graphql) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ graphql ocaml_lwt ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||
pname = "graphql_parser";
|
||||
version = "0.13.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
src = fetchurl {
|
||||
@ -14,7 +16,7 @@ buildDunePackage rec {
|
||||
nativeBuildInputs = [ menhir ];
|
||||
propagatedBuildInputs = [ fmt re ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user