CodeQL icon

CodeQL 2.22.3

Semantic code analysis engine

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    codeql # CodeQL
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    codeql # CodeQL
  ];
}

Package Definition

{
  "pname": "codeql",
  "version": "2.22.3",
  "src": {
    "url": "https://github.com/github/codeql-cli-binaries/releases/download/v2.22.3/codeql-osx64.zip",
    "sha256": "970f60661e52209ebb5e38819a19c608189834b7aec940ce77625f54cdfca399"
  },
  "installPhase": [
    "mkdir -p \"$out/bin\" && ln -s \"$out/codeql/codeql\" \"$out/bin/codeql\""
  ],
  "meta": {
    "description": "Semantic code analysis engine",
    "homepage": "https://codeql.github.com/"
  }
}