Merge branch 'types-redis-add-pyopenssl' into current

This commit is contained in:
2023-03-19 09:36:30 +01:00
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec {
pname = "types-pyOpenSSL";
version = "23.0.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-izVQtuGdUc54qr1ySw2OvZYggaX86V5/haWS3828Fr8=";
};
propagatedBuildInputs = [
cryptography
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"OpenSSL-stubs"
];
meta = with lib; {
description = "Typing stubs for pyopenssl";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ gador ];
};
}

View File

@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, types-pyopenssl
}:
buildPythonPackage rec {
@@ -13,6 +14,10 @@ buildPythonPackage rec {
hash = "sha256-dmAXh1TWCkz6z1sz7gY6oGJTEXkcYgdc2TYTZiej978=";
};
propagatedBuildInputs = [
types-pyopenssl
];
# Module doesn't have tests
doCheck = false;

View File

@@ -12017,6 +12017,8 @@ self: super: with self; {
types-psutil = callPackage ../development/python-modules/types-psutil { };
types-pyopenssl = callPackage ../development/python-modules/types-pyopenssl { };
types-python-dateutil = callPackage ../development/python-modules/types-python-dateutil { };
types-pytz = callPackage ../development/python-modules/types-pytz { };