blob: e708ff2ee3e71c8459208a87ac385b579a3cf86a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, pythonOlder
, mock
, coverage
}:
buildPythonPackage rec {
pname = "nose2";
version = "0.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3";
};
propagatedBuildInputs = [ six coverage ]
++ stdenv.lib.optionals (pythonOlder "3.4") [ mock ];
# AttributeError: 'module' object has no attribute 'collector'
doCheck = false;
meta = with stdenv.lib; {
description = "nose2 is the next generation of nicer testing for Python";
homepage = https://github.com/nose-devs/nose2;
license = licenses.bsd0;
};
}
|