2021-02-22 21:28:39 +00:00
|
|
|
{ lib, buildDunePackage, cohttp-lwt, graphql-cohttp, graphql-lwt, irmin
|
2021-05-20 23:08:51 +00:00
|
|
|
, alcotest, alcotest-lwt, logs, yojson, cohttp-lwt-unix, cacert
|
2021-02-22 21:28:39 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "irmin-graphql";
|
|
|
|
|
|
|
|
inherit (irmin) version src;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ cohttp-lwt graphql-cohttp graphql-lwt irmin ];
|
|
|
|
|
2021-02-22 21:28:39 +00:00
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
alcotest-lwt
|
|
|
|
logs
|
|
|
|
cohttp-lwt-unix
|
|
|
|
yojson
|
2021-05-20 23:08:51 +00:00
|
|
|
cacert
|
2021-02-22 21:28:39 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "GraphQL server for Irmin";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|