Signed-off-by: Florian Brandes <florian.brandes@posteo.de> Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
36 lines
664 B
Nix
36 lines
664 B
Nix
{ 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 ];
|
|
};
|
|
}
|