at 23.05-pre 630 B view raw
1{ lib, buildPythonPackage, pythonOlder, fetchPypi, nose }: 2 3buildPythonPackage rec { 4 pname = "yanc"; 5 version = "0.3.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0z35bkk9phs40lf5061k1plhjdl5fskm0dmdikrsqi1bjihnxp8w"; 10 }; 11 12 # Tests fail on Python>=3.5. See: https://github.com/0compute/yanc/issues/10 13 doCheck = pythonOlder "3.5"; 14 15 checkInputs = [ nose ]; 16 17 checkPhase = '' 18 nosetests . 19 ''; 20 21 meta = with lib; { 22 description = "Yet another nose colorer"; 23 homepage = "https://github.com/0compute/yanc"; 24 license = licenses.gpl3; 25 maintainers = with maintainers; [ jluttine ]; 26 }; 27}