gitxray: init at -1.0.15-unstable-2024-09-20 (#348563)

This commit is contained in:
Fabian Affolter 2024-10-17 01:12:17 +02:00 committed by GitHub
commit dbd4d21583
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,34 @@
{
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";
};
}