pythonPackages.cassandra-driver: 3.15.1 -> 3.16.0 - fix build
cassandra-driver requires an older version of cython than the one
present in nixpkgs.
Next cassandra-driver version will support cython 0.29
82c84255ff
This commit is contained in:
parent
bd8bebb821
commit
385b97e9cf
1 changed files with 15 additions and 3 deletions
|
@ -20,14 +20,26 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "cassandra-driver";
|
||||
version = "3.15.1";
|
||||
version = "3.16.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xcirbvlj00id8269akhk8gy2sv0mlnbgy3nagi32648jwsrcadg";
|
||||
sha256 = "1gjs2lqy0ba6zhh13a1dhirk59i7lc4zcbl7h50619hdm5kv3g22";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.libev cython ];
|
||||
buildInputs = [
|
||||
pkgs.libev
|
||||
# NOTE: next version will work with cython 0.29
|
||||
# Requires 'Cython!=0.25,<0.29,>=0.20'
|
||||
(cython.overridePythonAttrs(old: rec {
|
||||
pname = "Cython";
|
||||
version = "0.28.3";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1aae6d6e9858888144cea147eb5e677830f45faaff3d305d77378c3cba55f526";
|
||||
};
|
||||
}))
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ six ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.4") [ futures ];
|
||||
|
|
Loading…
Reference in a new issue