2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
31 lines
607 B
Nix
31 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;
|
|
};
|
|
|
|
}
|