11 buildPythonPackage rec {
12 pname = "cert-chain-resolver";
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
20 repo = "python-certificate-chain-resolver";
21 rev = "refs/tags/${version}";
22 hash = "sha256-2itpu/Ap5GNnqAiw3Cp+8rndreWlwfPd+WwM99G7U2E=";
25 propagatedBuildInputs = [
36 # Tests require network access
37 "test_cert_returns_completed_chain"
38 "test_display_flag_is_properly_formatted"
41 pythonImportsCheck = [
46 description = "Resolve / obtain the certificate intermediates of a x509 certificate";
47 mainProgram = "cert-chain-resolver";
48 homepage = "https://github.com/rkoopmans/python-certificate-chain-resolver";
49 changelog = "https://github.com/rkoopmans/python-certificate-chain-resolver/blob/${version}/CHANGELOG.md";
50 license = licenses.mit;
51 maintainers = with maintainers; [ veehaitch ];