1{ stdenv, fetchPypi, buildPythonPackage, nose, six, glibcLocales, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "parameterized"; 5 version = "0.6.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1qj1939shm48d9ql6fm1nrdy4p7sdyj8clz1szh5swwpf1qqxxfa"; 10 }; 11 12 # Tests require some python3-isms but code works without. 13 doCheck = isPy3k; 14 15 checkInputs = [ nose glibcLocales ]; 16 propagatedBuildInputs = [ six ]; 17 18 checkPhase = '' 19 LC_ALL="en_US.UTF-8" nosetests -v 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "Parameterized testing with any Python test framework"; 24 homepage = https://pypi.python.org/pypi/parameterized; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ ma27 ]; 27 }; 28}