1{ 2 lib, 3 attrs, 4 beautifulsoup4, 5 buildPythonPackage, 6 certvalidator, 7 colorama, 8 cryptoparser, 9 dnspython, 10 fetchPypi, 11 pathlib2, 12 pyfakefs, 13 python-dateutil, 14 pythonOlder, 15 requests, 16 setuptools, 17 setuptools-scm, 18 urllib3, 19}: 20 21buildPythonPackage rec { 22 pname = "cryptolyzer"; 23 version = "1.0.0"; 24 pyproject = true; 25 26 disabled = pythonOlder "3.9"; 27 28 src = fetchPypi { 29 inherit pname version; 30 hash = "sha256-rRiRaXONLMNirKsK+QZWMSvaGeSLrHN9BpM8dhxoaxY="; 31 }; 32 33 pythonRemoveDeps = [ "bs4" ]; 34 35 build-system = [ 36 setuptools 37 setuptools-scm 38 ]; 39 40 dependencies = [ 41 attrs 42 beautifulsoup4 43 certvalidator 44 colorama 45 cryptoparser 46 dnspython 47 pathlib2 48 pyfakefs 49 python-dateutil 50 requests 51 urllib3 52 ]; 53 54 # Tests require networking 55 doCheck = false; 56 57 pythonImportsCheck = [ "cryptolyzer" ]; 58 59 meta = with lib; { 60 description = "Cryptographic protocol analyzer"; 61 homepage = "https://gitlab.com/coroner/cryptolyzer"; 62 changelog = "https://gitlab.com/coroner/cryptolyzer/-/blob/v${version}/CHANGELOG.md"; 63 license = licenses.mpl20; 64 maintainers = with maintainers; [ kranzes ]; 65 }; 66}