1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "gitxray";
9 version = "1.0.17.4";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "kulkansecurity";
14 repo = "gitxray";
15 tag = version;
16 hash = "sha256-JzQ7Dq02lWDGj7+xN4jOHQZThGy/wB0TZDax3fAyXNM=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [ requests ];
22
23 pythonImportsCheck = [ "gitxray" ];
24
25 meta = {
26 description = "Tool which leverages Public GitHub REST APIs for various tasks";
27 homepage = "https://github.com/kulkansecurity/gitxray";
28 changelog = "https://github.com/kulkansecurity/gitxray/blob/${src.tag}/CHANGELOG.md";
29 license = lib.licenses.agpl3Only;
30 maintainers = with lib.maintainers; [ fab ];
31 mainProgram = "gitxray";
32 };
33}