python313Packages.bloodyad: modernize
This commit is contained in:
@@ -1,26 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
asn1crypto,
|
||||
badldap,
|
||||
buildPythonPackage,
|
||||
certipy,
|
||||
cryptography,
|
||||
dnspython,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
kerbad,
|
||||
winacl,
|
||||
|
||||
# test
|
||||
certipy,
|
||||
pytestCheckHook,
|
||||
winacl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bloodyad";
|
||||
version = "2.5.4";
|
||||
pyproject = true;
|
||||
@@ -28,7 +22,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "CravateRouge";
|
||||
repo = "bloodyAD";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-6ZSJTupjVhvyU9G/eePJiXk16w9HwpsOFwdwTSLb7tU=";
|
||||
};
|
||||
|
||||
@@ -87,8 +81,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for Active Directory Privilege Escalations";
|
||||
homepage = "https://github.com/CravateRouge/bloodyAD";
|
||||
changelog = "https://github.com/CravateRouge/bloodyAD/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/CravateRouge/bloodyAD/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user