Merge pull request #171365 from fabaff/cert-chain-resolver-fix
python310Packages.cert-chain-resolver: add missing input
This commit is contained in:
commit
697c15ada1
|
@ -1,35 +1,50 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
, cryptography
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cert-chain-resolver";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rkoopmans";
|
||||
repo = "python-certificate-chain-resolver";
|
||||
rev = version;
|
||||
sha256 = "1kmig4ksbx1wvgcjn4r9jjg2pn1ag5rq871bjwxkp9kslb3x3d1l";
|
||||
hash = "sha256-NLTRx6J6pjs7lyschHN5KtgrnpQpEyvZ2zz0pSd5sc4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
six
|
||||
];
|
||||
|
||||
# online tests
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_cert_returns_completed_chain"
|
||||
"test_display_flag_is_properly_formatted"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cert_chain_resolver"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rkoopmans/python-certificate-chain-resolver";
|
||||
description = "Resolve / obtain the certificate intermediates of a x509 certificate";
|
||||
homepage = "https://github.com/rkoopmans/python-certificate-chain-resolver";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ veehaitch ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue