push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
{
lib,
buildDunePackage,
ocaml-crunch,
astring,
cohttp,
digestif,
graphql,
ocplib-endian,
alcotest,
cohttp-lwt-unix,
graphql-lwt,
}:
buildDunePackage rec {
pname = "graphql-cohttp";
inherit (graphql) version src;
duneVersion = "3";
nativeBuildInputs = [ ocaml-crunch ];
propagatedBuildInputs = [
astring
cohttp
digestif
graphql
ocplib-endian
];
checkInputs = lib.optionals doCheck [
alcotest
cohttp-lwt-unix
graphql-lwt
];
doCheck = true;
meta = graphql.meta // {
description = "Run GraphQL servers with cohttp";
};
}

View File

@@ -0,0 +1,30 @@
{
buildDunePackage,
alcotest,
graphql_parser,
rresult,
yojson,
}:
buildDunePackage {
pname = "graphql";
inherit (graphql_parser) version src;
duneVersion = "3";
propagatedBuildInputs = [
graphql_parser
rresult
yojson
];
checkInputs = [ alcotest ];
doCheck = true;
meta = graphql_parser.meta // {
description = "Build GraphQL schemas and execute queries against them";
};
}

View File

@@ -0,0 +1,28 @@
{
buildDunePackage,
alcotest,
graphql,
ocaml_lwt,
}:
buildDunePackage {
pname = "graphql-lwt";
inherit (graphql) version src;
duneVersion = "3";
propagatedBuildInputs = [
graphql
ocaml_lwt
];
checkInputs = [ alcotest ];
doCheck = true;
meta = graphql.meta // {
description = "Build GraphQL schemas with Lwt support";
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
buildDunePackage,
fetchurl,
alcotest,
fmt,
menhir,
re,
}:
buildDunePackage rec {
pname = "graphql_parser";
version = "0.14.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
sha256 = "sha256-v4v1ueF+NV7LvYIVinaf4rE450Z1P9OiMAito6/NHAY=";
};
nativeBuildInputs = [ menhir ];
propagatedBuildInputs = [
fmt
re
];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
homepage = "https://github.com/andreas/ocaml-graphql-server";
description = "Library for parsing GraphQL queries";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}