Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 31 lines 607 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six, pyyaml, mock 5, pytestCheckHook 6, enum34 7, isPy3k 8}: 9 10buildPythonPackage rec { 11 pname = "ddt"; 12 version = "1.4.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0595e70d074e5777771a45709e99e9d215552fb1076443a25fad6b23d8bf38da"; 17 }; 18 19 checkInputs = [ six pyyaml mock pytestCheckHook ]; 20 21 propagatedBuildInputs = lib.optionals (!isPy3k) [ 22 enum34 23 ]; 24 25 meta = with lib; { 26 description = "Data-Driven/Decorated Tests, a library to multiply test cases"; 27 homepage = "https://github.com/txels/ddt"; 28 license = licenses.mit; 29 }; 30 31}