depot/third_party/nixpkgs/pkgs/development/ocaml-modules/graphql_ppx/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

39 lines
794 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, alcotest, reason
, result
, ppxlib
, yojson }:
buildDunePackage rec {
pname = "graphql_ppx";
version = "1.2.2";
duneVersion = "3";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "reasonml-community";
repo = "graphql-ppx";
rev = "v${version}";
sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44=";
};
buildInputs = [ ppxlib ];
propagatedBuildInputs = [
reason
result
yojson
];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
homepage = "https://github.com/reasonml-community/graphql_ppx";
description = "GraphQL PPX rewriter for Bucklescript/ReasonML";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Zimmi48 jtcoolen ];
};
}