Merge pull request #53726 from Ma27/unbreak-thrift

thrift: fix build
This commit is contained in:
worldofpeace 2019-01-10 18:02:37 -05:00 committed by GitHub
commit 3bcd4f37c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

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

View file

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
@ -12,6 +13,8 @@ buildPythonPackage rec {
sha256 = "7d59ac4fdcb2c58037ebd4a9da5f9a49e3e034bf75b3f26d9fe48ba3d8806e6b";
};
propagatedBuildInputs = [ six ];
# No tests. Breaks when not disabling.
doCheck = false;