nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "graphqlmaker";
9 version = "0-unstable-2024-05-18";
10
11 src = fetchFromGitHub {
12 owner = "xssdoctor";
13 repo = "graphqlMaker";
14 rev = "ff884ce39156d8458da35c0b0b5d7eb1e1146bb5";
15 hash = "sha256-H3AFCS1WoeVXUdXBV1JKrGIraJP/ql6XG++PxmWUico=";
16 };
17
18 vendorHash = "sha256-1mDOqTsQ3kHs3MEWlRcdqhjIRul7um2mfBAxObhoSlE=";
19
20 ldflags = [
21 "-s"
22 "-w"
23 ];
24
25 meta = {
26 description = "Tool to find graphql queries in Javascript files";
27 homepage = "https://github.com/xssdoctor/graphqlMaker";
28 # https://github.com/xssdoctor/graphqlMaker/issues/1
29 license = lib.licenses.unfree;
30 maintainers = with lib.maintainers; [ fab ];
31 mainProgram = "graphqlMaker";
32 };
33}