mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
32 lines
594 B
Nix
32 lines
594 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six, pyyaml, mock
|
|
, pytestCheckHook
|
|
, enum34
|
|
, isPy3k
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ddt";
|
|
version = "1.4.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-ZKZzZqJxXmNriGlMxgdcwC2ykvAQmLjjhTl8iU05U3g=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|