From 05ccfd2c53826937700316ff7ddaf8924cc4eb16 Mon Sep 17 00:00:00 2001 From: linsui Date: Fri, 8 Jul 2022 13:45:38 +0800 Subject: [PATCH] requests-toolbelt: remove pyopenssl dep Co-authored-by: Sandro --- .../python-modules/requests-toolbelt/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/requests-toolbelt/default.nix b/pkgs/development/python-modules/requests-toolbelt/default.nix index 0417154a4a31..af6788d173fc 100644 --- a/pkgs/development/python-modules/requests-toolbelt/default.nix +++ b/pkgs/development/python-modules/requests-toolbelt/default.nix @@ -26,7 +26,6 @@ buildPythonPackage rec { checkInputs = [ betamax mock - pyopenssl pytestCheckHook ]; @@ -37,6 +36,16 @@ buildPythonPackage rec { url = "https://github.com/requests/toolbelt/commit/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch"; sha256 = "sha256-pRkG77sNglG/KsRX6JaPgk4QxmmSBXypFRp/vNA3ot4="; }) + # Make pyopenssl optional + (fetchpatch { + url = "https://github.com/requests/toolbelt/commit/c7c1f8626b73e5715e6ecc1de0833fabdfd67323.patch"; + sha256 = "sha256-OhE3nyYyKKRHs9rCq8EJYebwaYyjWjbvbtL79MIMMRc="; + }) + # Make pyopenssl optional + (fetchpatch { + url = "https://github.com/requests/toolbelt/commit/2453f32f1c995e7b19294750a4177bc32326826e.patch"; + sha256 = "sha256-qmKHp+aVeazZt8X+sZeYfZCB56SE0OvFvWCXRZtkCew="; + }) ]; disabledTests = [