nixpkgs/pkgs/development/ocaml-modules/irmin/graphql.nix
2023-02-03 08:59:34 +01:00

28 lines
538 B
Nix

{ lib, buildDunePackage, cohttp-lwt, cohttp-lwt-unix, graphql-cohttp, graphql-lwt, irmin, git-unix
, alcotest, alcotest-lwt, logs, yojson, cacert
}:
buildDunePackage rec {
pname = "irmin-graphql";
inherit (irmin) version src;
duneVersion = "3";
propagatedBuildInputs = [ cohttp-lwt cohttp-lwt-unix graphql-cohttp graphql-lwt irmin git-unix ];
doCheck = true;
checkInputs = [
alcotest
alcotest-lwt
logs
yojson
cacert
];
meta = irmin.meta // {
description = "GraphQL server for Irmin";
};
}