36 lines
664 B
Nix
36 lines
664 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cryptography
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "types-pyopenssl";
|
|
version = "23.2.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "types-pyOpenSSL";
|
|
inherit version;
|
|
hash = "sha256-agENrJ7NQrWC190sw+nkBIa3mztkuy//uhR0/5avkG0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|