thrift: 0.17.0 -> 0.18.0

This commit is contained in:
Tobias Mayer 2023-02-18 15:30:15 +01:00
parent 571a705593
commit 482dfddc23
No known key found for this signature in database
GPG key ID: F8657E90819A1298
2 changed files with 9 additions and 6 deletions

View file

@ -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;

View file

@ -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 { };