1{ 2 lib, 3 asn1crypto, 4 attrs, 5 buildPythonPackage, 6 cryptodatahub, 7 fetchPypi, 8 python-dateutil, 9 pythonOlder, 10 setuptools, 11 setuptools-scm, 12 urllib3, 13}: 14 15buildPythonPackage rec { 16 pname = "cryptoparser"; 17 version = "1.0.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-bEvhMVcm9sXlfhxUD2K4N10nusgxpGYFJQLtJE1/qok="; 25 }; 26 27 build-system = [ 28 setuptools 29 setuptools-scm 30 ]; 31 32 dependencies = [ 33 asn1crypto 34 attrs 35 cryptodatahub 36 python-dateutil 37 urllib3 38 ]; 39 40 pythonImportsCheck = [ "cryptoparser" ]; 41 42 meta = with lib; { 43 description = "Security protocol parser and generator"; 44 homepage = "https://gitlab.com/coroner/cryptoparser"; 45 changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/v${version}/CHANGELOG.md"; 46 license = licenses.mpl20; 47 maintainers = with maintainers; [ kranzes ]; 48 }; 49}