mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python27Packages.more-itertools: use unittestCheckHook
I thought that the Python 2 package set was entirely separate from the Python 3 one, but this appears to actually be using the main nose package. The actual code doesn’t use nose at all, and their `tox.ini` uses unittest, so let’s fix that…
This commit is contained in:
parent
ef54fc5394
commit
c4639f8cbc
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, unittestCheckHook
|
||||
, six
|
||||
, stdenv
|
||||
}:
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
sha256 = "38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ nose ];
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
# iterable = range(10 ** 10) # Is efficiently reversible
|
||||
|
Loading…
Reference in New Issue
Block a user