ocamlPackages.graphql_parser: init at 0.13.0
This commit is contained in:
parent
ce1760abe5
commit
40a023a853
28
pkgs/development/ocaml-modules/graphql/parser.nix
Normal file
28
pkgs/development/ocaml-modules/graphql/parser.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, buildDunePackage, fetchurl, alcotest, fmt, menhir, re }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "graphql_parser";
|
||||||
|
version = "0.13.0";
|
||||||
|
|
||||||
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz";
|
||||||
|
sha256 = "0gb5y99ph0nz5y3pc1gxq1py4wji2hyf2ydbp0hv23v00n50hpsm";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ menhir ];
|
||||||
|
propagatedBuildInputs = [ fmt re ];
|
||||||
|
|
||||||
|
checkInputs = lib.optional doCheck 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -348,6 +348,8 @@ let
|
|||||||
|
|
||||||
gmetadom = callPackage ../development/ocaml-modules/gmetadom { };
|
gmetadom = callPackage ../development/ocaml-modules/gmetadom { };
|
||||||
|
|
||||||
|
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
|
||||||
|
|
||||||
gtktop = callPackage ../development/ocaml-modules/gtktop { };
|
gtktop = callPackage ../development/ocaml-modules/gtktop { };
|
||||||
|
|
||||||
hex = callPackage ../development/ocaml-modules/hex { };
|
hex = callPackage ../development/ocaml-modules/hex { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user