commit
3bcd4f37c6
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue