1{ stdenv, buildPythonPackage, fetchPypi, thrift, isPy3k }:
2
3buildPythonPackage rec {
4 pname = "pycassa";
5 version = "1.11.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1nsqjzgn6v0rya60dihvbnrnq1zwaxl2qwf0sr08q9qlkr334hr6";
10 };
11
12 disabled = isPy3k;
13
14 # Tests are not executed since they require a cassandra up and
15 # running
16 doCheck = false;
17
18 propagatedBuildInputs = [ thrift ];
19
20 meta = {
21 description = "A python client library for Apache Cassandra";
22 homepage = https://github.com/pycassa/pycassa;
23 license = stdenv.lib.licenses.mit;
24 };
25}