Merge pull request #221974 from gador/types-redis-add-pyopenssl

This commit is contained in:
Sandro
2023-04-12 00:47:45 +02:00
committed by GitHub
3 changed files with 44 additions and 0 deletions
@@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec {
pname = "types-pyopenssl";
version = "23.0.0.4";
format = "setuptools";
src = fetchPypi {
pname = "types-pyOpenSSL";
inherit 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 ];
};
}
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, cryptography
, types-pyopenssl
}:
buildPythonPackage rec {
@@ -13,6 +15,11 @@ buildPythonPackage rec {
hash = "sha256-dmAXh1TWCkz6z1sz7gY6oGJTEXkcYgdc2TYTZiej978=";
};
propagatedBuildInputs = [
cryptography
types-pyopenssl
];
# Module doesn't have tests
doCheck = false;
+2
View File
@@ -12115,6 +12115,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 { };