Commit e1ac8ed8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

gitxray: init at -1.0.15-unstable-2024-09-20

Tool which leverages Public GitHub REST APIs for various tasks

https://github.com/kulkansecurity/gitxray
parent 144db672
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  lib,
  python3,
  fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "gitxray";
  version = "1.0.15-unstable-2024-09-20";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kulkansecurity";
    repo = "gitxray";
    # https://github.com/kulkansecurity/gitxray/issues/1
    rev = "7e02f8c789f1c8bf3f4df6c1c301d1a666cedd1c";
    hash = "sha256-ucXHfclvaAbSi2HtrhkR2iW0r7jWq9yHqROwRAowOhA=";
  };

  build-system = with python3.pkgs; [ setuptools ];

  dependencies = with python3.pkgs; [ requests ];

  pythonImportsCheck = [ "gitxray" ];

  meta = {
    description = "Tool which leverages Public GitHub REST APIs for various tasks";
    homepage = "https://github.com/kulkansecurity/gitxray";
    changelog = "https://github.com/kulkansecurity/gitxray/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "gitxray";
  };
}