nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 902 B view raw
1{ 2 lib, 3 ocaml, 4 buildDunePackage, 5 fetchFromGitHub, 6 alcotest, 7 reason, 8 result, 9 ppxlib, 10 yojson, 11}: 12 13buildDunePackage (finalAttrs: { 14 pname = "graphql_ppx"; 15 version = "1.2.3"; 16 17 src = fetchFromGitHub { 18 owner = "reasonml-community"; 19 repo = "graphql-ppx"; 20 tag = "v${finalAttrs.version}"; 21 hash = "sha256-u49JHC8K5iMCOQRPYaMl00npJsIE6ePaeJ2jP/vnuvw="; 22 }; 23 24 nativeBuildInputs = [ reason ]; 25 26 buildInputs = [ 27 ppxlib 28 reason 29 ]; 30 31 propagatedBuildInputs = [ 32 reason 33 result 34 yojson 35 ]; 36 37 checkInputs = [ alcotest ]; 38 39 doCheck = true; 40 41 meta = { 42 broken = lib.versionAtLeast ocaml.version "5.4"; 43 homepage = "https://github.com/reasonml-community/graphql_ppx"; 44 description = "GraphQL PPX rewriter for Bucklescript/ReasonML"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ 47 Zimmi48 48 jtcoolen 49 ]; 50 }; 51})