33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
31 lines
669 B
Nix
31 lines
669 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, six
|
|
, stdenv
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "more-itertools";
|
|
version = "5.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
|
};
|
|
|
|
nativeCheckInputs = [ nose ];
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
# iterable = range(10 ** 10) # Is efficiently reversible
|
|
# OverflowError: Python int too large to convert to C long
|
|
doCheck = !stdenv.hostPlatform.is32bit;
|
|
|
|
meta = {
|
|
homepage = "https://more-itertools.readthedocs.org";
|
|
description = "Expansion of the itertools module";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|