mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
a70f40d09c
Diff: https://github.com/kulkansecurity/gitxray/compare/refs/tags/1.0.15-unstable-2024-09-20...1.0.16 Changelog: https://github.com/kulkansecurity/gitxray/blob/refs/tags/1.0.16/CHANGELOG.md
34 lines
844 B
Nix
34 lines
844 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "gitxray";
|
|
version = "1.0.16";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kulkansecurity";
|
|
repo = "gitxray";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-sBDKRHNhRG0SUd9G0+iiKOB+lqzISi92itbZIT+j4ME=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|