Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
910 B
Nix
48 lines
910 B
Nix
{
|
|
lib,
|
|
python3,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonPackage {
|
|
pname = "acltoolkit";
|
|
version = "0-unstable-2023-02-03";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zblurx";
|
|
repo = "acltoolkit";
|
|
rev = "a5219946aa445c0a3b4a406baea67b33f78bca7c";
|
|
hash = "sha256-97cbkGyIkq2Pk1hydMcViXWoh+Ipi3m0YvEYiaV4zcM=";
|
|
};
|
|
|
|
postPatch = ''
|
|
# Ignore pinned versions
|
|
sed -i -e "s/==[0-9.]*//" setup.py
|
|
'';
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
asn1crypto
|
|
dnspython
|
|
impacket
|
|
ldap3
|
|
pyasn1
|
|
pycryptodome
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"acltoolkit"
|
|
];
|
|
|
|
meta = {
|
|
description = "ACL abuse swiss-knife";
|
|
mainProgram = "acltoolkit";
|
|
homepage = "https://github.com/zblurx/acltoolkit";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|