depot/third_party/nixpkgs/pkgs/by-name/gi/gitxray/package.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

34 lines
941 B
Nix

{
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";
};
}