mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-02 21:54:45 +00:00
34 lines
861 B
Nix
34 lines
861 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication (finalAttrs: {
|
|
pname = "gitxray";
|
|
version = "1.0.20";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kulkansecurity";
|
|
repo = "gitxray";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-pnP9vqyobB9MY8axBokzZvM4L8Th3/wDA4adpNyF0G8=";
|
|
};
|
|
|
|
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/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
mainProgram = "gitxray";
|
|
};
|
|
})
|