Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, python3 3, fetchFromGitHub 4}: 5 6python3.pkgs.buildPythonPackage rec { 7 pname = "acltoolkit"; 8 version = "unstable-2023-02-03"; 9 format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "zblurx"; 13 repo = "acltoolkit"; 14 rev = "a5219946aa445c0a3b4a406baea67b33f78bca7c"; 15 hash = "sha256-97cbkGyIkq2Pk1hydMcViXWoh+Ipi3m0YvEYiaV4zcM="; 16 }; 17 18 postPatch = '' 19 # Ignore pinned versions 20 sed -i -e "s/==[0-9.]*//" setup.py 21 ''; 22 23 propagatedBuildInputs = with python3.pkgs; [ 24 asn1crypto 25 dnspython 26 impacket 27 ldap3 28 pyasn1 29 pycryptodome 30 ]; 31 32 # Project has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ 36 "acltoolkit" 37 ]; 38 39 meta = with lib; { 40 description = "ACL abuse swiss-knife"; 41 homepage = "https://github.com/zblurx/acltoolkit"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}