python2Packages.cytoolz: disable

no longer compatibled with python2

```
    File "cytoolz/itertoolz.pyx", line 15, in init cytoolz.itertoolz
      from itertools import chain, islice, zip_longest
  ImportError: cannot import name zip_longest
```
This commit is contained in:
Jonathan Ringer 2020-10-15 23:54:52 -07:00 committed by Jon
parent 7d63ed3f47
commit ee8db0e84f

View file

@ -6,20 +6,19 @@
, toolz , toolz
, python , python
, fetchpatch , fetchpatch
, isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cytoolz"; pname = "cytoolz";
version = "0.11.0"; version = "0.11.0";
disabled = isPy27 || isPyPy;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222"; sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222";
}; };
# Extension types
disabled = isPyPy;
checkInputs = [ nose ]; checkInputs = [ nose ];
propagatedBuildInputs = [ toolz ]; propagatedBuildInputs = [ toolz ];