depot/third_party/nixpkgs/pkgs/development/ocaml-modules/graphql/parser.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

28 lines
719 B
Nix

{ lib, buildDunePackage, fetchurl, alcotest, fmt, menhir, re }:
buildDunePackage rec {
pname = "graphql_parser";
version = "0.14.0";
minimalOCamlVersion = "4.08";
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 ];
};
}