2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-14 00:27:37 +00:00

python312Packages.cassandra-driver: 3.29.1 -> 3.29.2 ()

This commit is contained in:
Felix Bühler 2024-11-14 23:02:08 +01:00 committed by GitHub
commit fff5b97c49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,6 @@
cython, cython,
eventlet, eventlet,
fetchFromGitHub, fetchFromGitHub,
fetchpatch2,
geomet, geomet,
gevent, gevent,
gremlinpython, gremlinpython,
@ -26,38 +25,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cassandra-driver"; pname = "cassandra-driver";
version = "3.29.1"; version = "3.29.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "datastax"; owner = "datastax";
repo = "python-driver"; repo = "python-driver";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-pnNm5Pd5k4bt+s3GrUUDWRpSdqNSM89GiX8DZKYzW1E="; hash = "sha256-RX9GLk2admzRasmP7LCwIfsJIt8TC/9rWhIcoTqS0qc=";
}; };
patches = [
# https://github.com/datastax/python-driver/pull/1201
# Also needed for below patch to apply
(fetchpatch2 {
name = "remove-mock-dependency.patch";
url = "https://github.com/datastax/python-driver/commit/9aca00be33d96559f0eabc1c8a26bb439dcebbd7.patch";
hash = "sha256-ZN95V8ebbjahzqBat2oKBJLfu0fqbWMvAu0DzfVGw8I=";
})
# https://github.com/datastax/python-driver/pull/1215
(fetchpatch2 {
name = "convert-to-pytest.patch";
url = "https://github.com/datastax/python-driver/commit/9952e2ab22c7e034b96cc89330791d73c221546b.patch";
hash = "sha256-xa2aV6drBcgkQT05kt44vwupg3oMHLbcbZSQ7EHKnko=";
})
# https://github.com/datastax/python-driver/pull/1195
(fetchpatch2 {
name = "remove-assertRaisesRegexp.patch";
url = "https://github.com/datastax/python-driver/commit/622523b83971e8a181eb4853b7d877420c0351ef.patch";
hash = "sha256-Q8pRhHBLKyenMfrITf8kDv3BbsSCDAmVisTr4jSAIvA=";
})
];
pythonRelaxDeps = [ "geomet" ]; pythonRelaxDeps = [ "geomet" ];
build-system = [ build-system = [