3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ddt/default.nix

32 lines
607 B
Nix
Raw Normal View History

2020-06-07 09:39:17 +01:00
{ lib
, buildPythonPackage
, fetchPypi
2020-06-07 09:39:17 +01:00
, six, pyyaml, mock
, pytestCheckHook
, enum34
, isPy3k
}:
buildPythonPackage rec {
pname = "ddt";
2021-10-08 23:23:00 +01:00
version = "1.4.4";
src = fetchPypi {
inherit pname version;
2021-10-08 23:23:00 +01:00
sha256 = "8de39a69730442dc835e4d33f9d2e33043ff91151c8d18086959ee556febb9f8";
};
2020-06-07 09:39:17 +01:00
checkInputs = [ six pyyaml mock pytestCheckHook ];
2018-11-25 11:57:31 +00:00
2020-06-07 09:39:17 +01:00
propagatedBuildInputs = lib.optionals (!isPy3k) [
enum34
];
2018-11-25 11:57:31 +00:00
2020-06-07 09:39:17 +01:00
meta = with lib; {
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
homepage = "https://github.com/txels/ddt";
license = licenses.mit;
};
}