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