From 482dfddc233f5aecefbdb8f5d50cfc3f5fbdae36 Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Sat, 18 Feb 2023 15:30:15 +0100 Subject: [PATCH] thrift: 0.17.0 -> 0.18.0 --- pkgs/development/libraries/thrift/default.nix | 11 ++++++++--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/thrift/default.nix b/pkgs/development/libraries/thrift/default.nix index 92063eb1400a..fd6b21a94f72 100644 --- a/pkgs/development/libraries/thrift/default.nix +++ b/pkgs/development/libraries/thrift/default.nix @@ -16,11 +16,11 @@ stdenv.mkDerivation rec { pname = "thrift"; - version = "0.17.0"; + version = "0.18.0"; src = fetchurl { url = "https://archive.apache.org/dist/thrift/${version}/${pname}-${version}.tar.gz"; - hash = "sha256-snLBeIuxZdmVIaJZmzG5f6aeWTHQmQFdka4QegsMxY8="; + hash = "sha256-fBk4nLeRCiDli45GkDyMGjY1MAj5/MGwP3SKzPm18+E="; }; # Workaround to make the Python wrapper not drop this package: @@ -74,6 +74,11 @@ stdenv.mkDerivation rec { url = "https://github.com/apache/thrift/commit/2ab850824f75d448f2ba14a468fb77d2594998df.diff"; hash = "sha256-ejMKFG/cJgoPlAFzVDPI4vIIL7URqaG06/IWdQ2NkhY="; }) + (fetchpatch { + name = "thrift-fix-tests-OpenSSL3.patch"; # https://github.com/apache/thrift/pull/2760 + url = "https://github.com/apache/thrift/commit/eae3ac418f36c73833746bcd53e69ed8a12f0e1a.diff"; + hash = "sha256-0jlN4fo94cfGFUKcLFQgVMI/x7uxn5OiLiFk6txVPzs="; + }) ]; cmakeFlags = [ @@ -90,6 +95,7 @@ stdenv.mkDerivation rec { disabledTests = [ "PythonTestSSLSocket" + "PythonThriftTNonblockingServer" ] ++ lib.optionals stdenv.isDarwin [ # Tests that hang up in the Darwin sandbox "SecurityTest" @@ -106,7 +112,6 @@ stdenv.mkDerivation rec { "StressTest" "StressTestConcurrent" "StressTestNonBlocking" - "PythonThriftTNonblockingServer" ]; doCheck = !static; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f46e94edd40..e215807969d6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23517,9 +23517,7 @@ with pkgs; theft = callPackage ../development/libraries/theft { }; - thrift = callPackage ../development/libraries/thrift { - openssl = openssl_1_1; - }; + thrift = callPackage ../development/libraries/thrift { }; thrift-0_10 = callPackage ../development/libraries/thrift/0.10.nix { };