2021-02-19 21:19:24 +00:00
|
|
|
{ lib, buildDunePackage, cohttp-lwt, graphql-cohttp, graphql-lwt, irmin
|
2021-05-11 04:54:15 +00:00
|
|
|
, alcotest, alcotest-lwt, logs, yojson, cohttp-lwt-unix, cacert
|
2021-02-19 21:19:24 +00:00
|
|
|
}:
|
2019-12-09 10:29:27 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "irmin-graphql";
|
|
|
|
|
|
|
|
inherit (irmin) version src;
|
|
|
|
|
2020-06-25 21:22:21 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-12-09 10:29:27 +00:00
|
|
|
propagatedBuildInputs = [ cohttp-lwt graphql-cohttp graphql-lwt irmin ];
|
|
|
|
|
2021-02-19 21:19:24 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
alcotest-lwt
|
|
|
|
logs
|
|
|
|
cohttp-lwt-unix
|
|
|
|
yojson
|
2021-05-11 04:54:15 +00:00
|
|
|
cacert
|
2021-02-19 21:19:24 +00:00
|
|
|
];
|
2019-12-09 10:29:27 +00:00
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "GraphQL server for Irmin";
|
2022-08-09 15:13:21 +00:00
|
|
|
broken = true; # Not compatible with graphql 0.14
|
2019-12-09 10:29:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|