Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
765 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "graphqlmaker";
version = "0-unstable-2024-05-18";
src = fetchFromGitHub {
owner = "xssdoctor";
repo = "graphqlMaker";
rev = "ff884ce39156d8458da35c0b0b5d7eb1e1146bb5";
hash = "sha256-H3AFCS1WoeVXUdXBV1JKrGIraJP/ql6XG++PxmWUico=";
};
vendorHash = "sha256-1mDOqTsQ3kHs3MEWlRcdqhjIRul7um2mfBAxObhoSlE=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tool to find graphql queries in Javascript files";
homepage = "https://github.com/xssdoctor/graphqlMaker";
# https://github.com/xssdoctor/graphqlMaker/issues/1
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "graphqlMaker";
};
}