depot/third_party/nixpkgs/pkgs/development/python-modules/ddt/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

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;
};
}