Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 547 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, nose, six, pyyaml, mock 5}: 6 7buildPythonPackage rec { 8 pname = "ddt"; 9 version = "1.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "898364fc34b27981b925171a0011c174c94633cb678eb1fac05fe7a234c7912c"; 14 }; 15 16 checkInputs = [ nose six pyyaml mock ]; 17 18 checkPhase = '' 19 nosetests -s 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "Data-Driven/Decorated Tests, a library to multiply test cases"; 24 homepage = https://github.com/txels/ddt; 25 license = licenses.mit; 26 }; 27 28}