depot/pkgs/development/tools/gqlint/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 lines
601 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "gqlint";
version = "1.8.0";
src = fetchFromGitHub {
owner = "happylinks";
repo = "gqlint";
rev = "v${version}";
hash = "sha256-m/Y7i3+93UdPnKQlZUHgtRbfSmJ1xYjao+bU+zxMgHw=";
};
npmDepsHash = "sha256-Fc5RbBqrJB7KSqLgTmIsPf3MK2n7vef/UVeFqH0o7mE=";
dontNpmBuild = true;
meta = {
description = "GraphQL linter";
homepage = "https://github.com/happylinks/gqlint";
license = lib.licenses.mit;
mainProgram = "gqlint";
maintainers = with lib.maintainers; [ hardselius ];
};
}