blob: 8359951938729650022b9071e0b75c9878ef1765 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonPackage (finalAttrs: {
pname = "acltoolkit";
version = "0.2.2-unstable-2023-02-03";
pyproject = true;
src = fetchFromGitHub {
owner = "zblurx";
repo = "acltoolkit";
# https://github.com/zblurx/acltoolkit/issues/6
rev = "a5219946aa445c0a3b4a406baea67b33f78bca7c";
hash = "sha256-97cbkGyIkq2Pk1hydMcViXWoh+Ipi3m0YvEYiaV4zcM=";
};
postPatch = ''
# Ignore pinned versions
sed -i -e "s/==[0-9.]*//" setup.py
'';
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
asn1crypto
dnspython
impacket
ldap3
pyasn1
pycryptodome
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "acltoolkit" ];
meta = {
description = "ACL abuse swiss-knife";
homepage = "https://github.com/zblurx/acltoolkit";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "acltoolkit";
};
})
|