1{ 2 lib, 3 aiohttp, 4 asn1crypto, 5 buildPythonPackage, 6 cryptography, 7 fetchFromGitHub, 8 freezegun, 9 oscrypto, 10 pytest-asyncio, 11 pytestCheckHook, 12 pythonOlder, 13 requests, 14 setuptools, 15 uritools, 16}: 17 18buildPythonPackage rec { 19 pname = "pyhanko-certvalidator"; 20 version = "0.26.8"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.7"; 24 25 src = fetchFromGitHub { 26 owner = "MatthiasValvekens"; 27 repo = "certvalidator"; 28 tag = "v${version}"; 29 hash = "sha256-Gvahyuz3n/CNAEzMXS5Z0Z85yDqLUQu8Yis5oJ2jaKc="; 30 }; 31 32 build-system = [ setuptools ]; 33 34 dependencies = [ 35 asn1crypto 36 cryptography 37 oscrypto 38 requests 39 uritools 40 ]; 41 42 nativeCheckInputs = [ 43 aiohttp 44 freezegun 45 pytest-asyncio 46 pytestCheckHook 47 ]; 48 49 pythonImportsCheck = [ "pyhanko_certvalidator" ]; 50 51 meta = with lib; { 52 description = "Python library for validating X.509 certificates and paths"; 53 homepage = "https://github.com/MatthiasValvekens/certvalidator"; 54 changelog = "https://github.com/MatthiasValvekens/certvalidator/blob/v${version}/changelog.md"; 55 license = licenses.mit; 56 maintainers = [ ]; 57 }; 58}