Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 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.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "d13e6af8f36238e89d00f4ebccf2bda4f6d1878be560a6600689e42077e164e3"; 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}