Skip to content

Commit

Permalink
gitxray: init at -1.0.15-unstable-2024-09-20 (#348563)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 16, 2024
2 parents 4752352 + e1ac8ed commit dbd4d21
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/gi/gitxray/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit dbd4d21

Please sign in to comment.