2017-03-15 14:50:16 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, thrift, isPy3k }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pycassa";
|
|
|
|
version = "1.11.2";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1nsqjzgn6v0rya60dihvbnrnq1zwaxl2qwf0sr08q9qlkr334hr6";
|
|
|
|
};
|
|
|
|
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
# Tests are not executed since they require a cassandra up and
|
|
|
|
# running
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ thrift ];
|
|
|
|
|
|
|
|
meta = {
|
2017-03-16 20:43:09 +01:00
|
|
|
description = "A python client library for Apache Cassandra";
|
2017-03-15 14:50:16 +01:00
|
|
|
homepage = http://github.com/pycassa/pycassa;
|
2017-03-16 20:43:09 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2017-03-15 14:50:16 +01:00
|
|
|
};
|
|
|
|
}
|