nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 67 lines 1.3 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 charset-normalizer, 5 dsinternals, 6 fetchPypi, 7 flask, 8 ldap3, 9 ldapdomaindump, 10 pyasn1, 11 pyasn1-modules, 12 pycryptodomex, 13 pyopenssl, 14 setuptools, 15 pytestCheckHook, 16 six, 17}: 18 19buildPythonPackage rec { 20 pname = "impacket"; 21 version = "0.13.0"; 22 pyproject = true; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-0JpSvvxU24IDM2BWfetwxIoIGBPQiiIhstGiWc1+Tjo="; 27 }; 28 29 pythonRelaxDeps = [ "pyopenssl" ]; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 charset-normalizer 35 dsinternals 36 flask 37 ldap3 38 ldapdomaindump 39 pyasn1 40 pyasn1-modules 41 pycryptodomex 42 pyopenssl 43 setuptools 44 six 45 ]; 46 47 nativeCheckInputs = [ pytestCheckHook ]; 48 49 pythonImportsCheck = [ "impacket" ]; 50 51 disabledTestPaths = [ 52 # Skip all RPC related tests 53 "tests/dcerpc/" 54 "tests/SMB_RPC/" 55 ]; 56 57 meta = { 58 description = "Network protocols Constructors and Dissectors"; 59 homepage = "https://github.com/SecureAuthCorp/impacket"; 60 changelog = 61 "https://github.com/fortra/impacket/releases/tag/impacket_" 62 + lib.replaceStrings [ "." ] [ "_" ] version; 63 # Modified Apache Software License, Version 1.1 64 license = lib.licenses.free; 65 maintainers = with lib.maintainers; [ fab ]; 66 }; 67}