Merge pull request #109351 from veehaitch/cert-chain-resolver-v1.0.1
pythonPackages.cert-chain-resolver: init at 1.0.1
This commit is contained in:
commit
551ede0a2c
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-mock
|
||||||
|
, cryptography
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cert-chain-resolver";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rkoopmans";
|
||||||
|
repo = "python-certificate-chain-resolver";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1kmig4ksbx1wvgcjn4r9jjg2pn1ag5rq871bjwxkp9kslb3x3d1l";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cryptography ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook pytest-mock ];
|
||||||
|
|
||||||
|
# online tests
|
||||||
|
disabledTests = [
|
||||||
|
"test_cert_returns_completed_chain"
|
||||||
|
"test_display_flag_is_properly_formatted"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/rkoopmans/python-certificate-chain-resolver";
|
||||||
|
description = "Resolve / obtain the certificate intermediates of a x509 certificate";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ veehaitch ];
|
||||||
|
};
|
||||||
|
}
|
@ -1161,6 +1161,8 @@ in {
|
|||||||
|
|
||||||
cerberus = callPackage ../development/python-modules/cerberus { };
|
cerberus = callPackage ../development/python-modules/cerberus { };
|
||||||
|
|
||||||
|
cert-chain-resolver = callPackage ../development/python-modules/cert-chain-resolver { };
|
||||||
|
|
||||||
certbot = callPackage ../development/python-modules/certbot { };
|
certbot = callPackage ../development/python-modules/certbot { };
|
||||||
|
|
||||||
certbot-dns-cloudflare = callPackage ../development/python-modules/certbot-dns-cloudflare { };
|
certbot-dns-cloudflare = callPackage ../development/python-modules/certbot-dns-cloudflare { };
|
||||||
|
Loading…
Reference in New Issue
Block a user