Skip to content

Commit

Permalink
Add graphql-schema-linter package
Browse files Browse the repository at this point in the history
Signed-off-by: micnncim <micnncim@gmail.com>
  • Loading branch information
micnncim committed May 6, 2024
1 parent ba4e414 commit e036bb9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
gctx = pkgs.callPackage ./pkgs/gctx { };
gh-sync = pkgs.callPackage ./pkgs/gh-sync { };
gqlgen = pkgs.callPackage ./pkgs/gqlgen { };
graphql-schema-linter = pkgs.callPackage ./pkgs/apollo-ios-cli { };
kubectl-reveal-secret = pkgs.callPackage ./pkgs/kubectl-reveal { };
mockgen = pkgs.callPackage ./pkgs/mockgen { };
slack-cli = pkgs.callPackage ./pkgs/slack-cli { };
Expand Down
17 changes: 17 additions & 0 deletions pkgs/graphql-schema-linter/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, buildNpmPackage, fetchFromGitHub }:

buildNpmPackage rec {
pname = "graphql-schema-linter";
version = "3.0.1";

src = fetchFromGitHub {
owner = "cjoudrey";
repo = "graphql-schema-linter";
rev = "v${version}";
hash = "";
};

npmDepsHash = "";

dontNpmBuild = true;
}

0 comments on commit e036bb9

Please sign in to comment.