Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 32 lines 744 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, six 6, stdenv 7}: 8 9 10buildPythonPackage rec { 11 pname = "more-itertools"; 12 version = "8.7.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "c5d6da9ca3ff65220c3bfd2a8db06d698f05d4d2b9be57e1deb2be5a45019713"; 17 }; 18 19 checkInputs = [ nose ]; 20 propagatedBuildInputs = [ six ]; 21 22 # iterable = range(10 ** 10) # Is efficiently reversible 23 # OverflowError: Python int too large to convert to C long 24 doCheck = !stdenv.hostPlatform.is32bit; 25 26 meta = { 27 homepage = "https://more-itertools.readthedocs.org"; 28 changelog = "https://more-itertools.readthedocs.io/en/stable/versions.html"; 29 description = "Expansion of the itertools module"; 30 license = lib.licenses.mit; 31 }; 32}