mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
adpathfinder: init at 1.2.0 (#555227)
This commit is contained in:
48
pkgs/by-name/ad/adpathfinder/package.nix
Normal file
48
pkgs/by-name/ad/adpathfinder/package.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "adpathfinder";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NetSPI";
|
||||
repo = "AD-PathFinder";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-UZMULUs/0zm7iU7nh5E3z1oKHRMmUG6pYsYudNWaL/E=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
argcomplete
|
||||
beautifulsoup4
|
||||
colorama
|
||||
neo4j
|
||||
prompt-toolkit
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Attack path mapping for Active Directory, ADCS, SCCM and MSSQL";
|
||||
homepage = "https://github.com/NetSPI/AD-PathFinder";
|
||||
changelog = "https://github.com/NetSPI/AD-PathFinder/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "adpathfinder";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user