32 lines
607 B
Nix
32 lines
607 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six, pyyaml, mock
|
|
, pytestCheckHook
|
|
, enum34
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ddt";
|
|
version = "1.4.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da";
|
|
};
|
|
|
|
checkInputs = [ six pyyaml mock pytestCheckHook ];
|
|
|
|
propagatedBuildInputs = lib.optionals (!isPy3k) [
|
|
enum34
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
|
homepage = "https://github.com/txels/ddt";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|