1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/development/python-modules/pycassa/default.nix
2017-11-10 22:13:46 +01:00

27 lines
615 B
Nix

{ 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 = {
description = "A python client library for Apache Cassandra";
homepage = https://github.com/pycassa/pycassa;
license = stdenv.lib.licenses.mit;
};
}