Merge: zmap: 4.2.0 -> 4.3.1 (#364578)
[NixPkgs.git] / pkgs / development / ocaml-modules / graphql_ppx / default.nix
blob08ae3343d06254cf8803065c0c39757cb4a15e9f
2   lib,
3   buildDunePackage,
4   fetchFromGitHub,
5   alcotest,
6   reason,
7   result,
8   ppxlib,
9   yojson,
12 buildDunePackage rec {
13   pname = "graphql_ppx";
14   version = "1.2.2";
16   duneVersion = "3";
18   minimalOCamlVersion = "4.08";
20   src = fetchFromGitHub {
21     owner = "reasonml-community";
22     repo = "graphql-ppx";
23     rev = "v${version}";
24     sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44=";
25   };
27   nativeBuildInputs = [ reason ];
29   buildInputs = [
30     ppxlib
31     reason
32   ];
34   propagatedBuildInputs = [
35     reason
36     result
37     yojson
38   ];
40   checkInputs = [ alcotest ];
42   doCheck = true;
44   meta = {
45     homepage = "https://github.com/reasonml-community/graphql_ppx";
46     description = "GraphQL PPX rewriter for Bucklescript/ReasonML";
47     license = lib.licenses.mit;
48     maintainers = with lib.maintainers; [
49       Zimmi48
50       jtcoolen
51     ];
52   };