pythonPackages.pycassa: fix build

Use `thrift` 0.9.3 to build.

See also https://github.com/pycassa/pycassa/issues/245
This commit is contained in:
Maximilian Bosch 2019-01-10 02:49:17 +01:00
parent 53380970e7
commit 642f778fb6
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,5 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi, thrift, isPy3k }:
let
thrift' = thrift.overridePythonAttrs (old: rec {
version = "0.9.3";
src= fetchPypi {
inherit (old) pname;
inherit version;
sha256 = "0zl7cgckqy9j5vq8wyfzw82q1blkdpsblnmhv8c6ffcxs4xkvg6z";
};
});
in
buildPythonPackage rec {
pname = "pycassa";
version = "1.11.2";
@ -15,7 +28,7 @@ buildPythonPackage rec {
# running
doCheck = false;
propagatedBuildInputs = [ thrift ];
propagatedBuildInputs = [ thrift' ];
meta = {
description = "A python client library for Apache Cassandra";