python.pkgs.ddt: fix build
This commit is contained in:
parent
f1a4e82a1a
commit
141e15d8e0
|
@ -1,7 +1,10 @@
|
|||
{ stdenv
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose, six, pyyaml, mock
|
||||
, six, pyyaml, mock
|
||||
, pytestCheckHook
|
||||
, enum34
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,13 +16,13 @@ buildPythonPackage rec {
|
|||
sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da";
|
||||
};
|
||||
|
||||
checkInputs = [ nose six pyyaml mock ];
|
||||
checkInputs = [ six pyyaml mock pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -s
|
||||
'';
|
||||
propagatedBuildInputs = lib.optionals (!isPy3k) [
|
||||
enum34
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
||||
homepage = "https://github.com/txels/ddt";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue