29 lines
549 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
2018-11-25 12:57:31 +01:00
, nose, six, pyyaml, mock
}:
buildPythonPackage rec {
pname = "ddt";
2020-06-06 08:47:03 +02:00
version = "1.4.1";
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:03 +02:00
sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da";
};
2018-11-25 12:57:31 +01:00
checkInputs = [ nose six pyyaml mock ];
checkPhase = ''
nosetests -s
'';
meta = with stdenv.lib; {
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
homepage = "https://github.com/txels/ddt";
license = licenses.mit;
};
}