python312Packages.pyopenssl: 24.1.0 -> 24.2.1 (#335688)

This commit is contained in:
Robert Schütz 2024-09-18 21:38:17 -07:00 committed by GitHub
commit 99b6529e4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
lib,
stdenv,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
openssl,
setuptools,
cryptography,
@ -15,13 +15,14 @@
buildPythonPackage rec {
pname = "pyopenssl";
version = "24.1.0";
version = "24.2.1";
pyproject = true;
src = fetchPypi {
pname = "pyOpenSSL";
inherit version;
hash = "sha256-yr7Uv6pd+fGhbA72Sgy2Uxi1zQd6ftp9aXATHKL0Gm8=";
src = fetchFromGitHub {
owner = "pyca";
repo = "pyopenssl";
rev = "refs/tags/${version}";
hash = "sha256-/TQnDWdycN4hQ7ZGvBhMJEZVafmL+0wy9eJ8hC6rfio=";
};
outputs = [
@ -30,19 +31,17 @@ buildPythonPackage rec {
"doc"
];
build-system = [ setuptools ];
nativeBuildInputs = [
openssl
setuptools
sphinxHook
sphinx-rtd-theme
];
postPatch = ''
# remove cryptography pin
sed -i "/cryptography/ s/,<[0-9]*//g" setup.py
'';
pythonRelaxDeps = [ "cryptography" ];
propagatedBuildInputs = [ cryptography ];
dependencies = [ cryptography ];
nativeCheckInputs = [
pretend