mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
graphql_ppx: init at 0.7.1
This commit is contained in:
parent
944a86ed1a
commit
115b7d92b8
2 changed files with 32 additions and 0 deletions
30
pkgs/development/ocaml-modules/graphql_ppx/default.nix
Normal file
30
pkgs/development/ocaml-modules/graphql_ppx/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub, alcotest, cppo
|
||||
, ocaml-migrate-parsetree, ppx_tools_versioned, reason, result, yojson }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "graphql_ppx";
|
||||
version = "0.7.1";
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "reasonml-community";
|
||||
repo = "graphql_ppx";
|
||||
rev = "v${version}";
|
||||
sha256 = "0gpzwcnss9c82whncyxfm6gwlkgh9hy90329hrazny32ybb470zh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ cppo ocaml-migrate-parsetree ppx_tools_versioned reason result yojson ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/reasonml-community/graphql_ppx";
|
||||
description = "GraphQL PPX rewriter for Bucklescript/ReasonML";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ Zimmi48 jtcoolen ];
|
||||
};
|
||||
}
|
|
@ -363,6 +363,8 @@ let
|
|||
|
||||
graphql_parser = callPackage ../development/ocaml-modules/graphql/parser.nix { };
|
||||
|
||||
graphql_ppx = callPackage ../development/ocaml-modules/graphql_ppx { };
|
||||
|
||||
gtktop = callPackage ../development/ocaml-modules/gtktop { };
|
||||
|
||||
hex = callPackage ../development/ocaml-modules/hex { };
|
||||
|
|
Loading…
Reference in a new issue