Unverified Commit 4d9d3bc4 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #320810 from fabaff/graphqlmaker

graphqlmaker: init at 0-unstable-2024-05-18
parents 08903296 69643da9
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  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 = with lib; {
    description = "Tool to find graphql queries in Javascript files";
    homepage = "https://github.com/xssdoctor/graphqlMaker";
    # https://github.com/xssdoctor/graphqlMaker/issues/1
    license = licenses.unfree;
    maintainers = with maintainers; [ fab ];
    mainProgram = "graphqlMaker";
  };
}