at 22.05-pre 758 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, unittest2 5, python 6, isPy27 7}: 8 9buildPythonPackage rec { 10 pname = "pyxl3"; 11 version = "1.4"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "ad4cc56bf4b35def33783e6d4783882702111fe8f9a781c63228e2114067c065"; 17 }; 18 19 checkInputs = [ unittest2 ]; 20 21 checkPhase = '' 22 ${python.interpreter} tests/test_basic.py 23 ''; 24 25 # tests require weird codec installation 26 # which is not necessary for major use of package 27 doCheck = false; 28 29 meta = with lib; { 30 description = "Python 3 port of pyxl for writing structured and reusable inline HTML"; 31 homepage = "https://github.com/gvanrossum/pyxl3"; 32 license = licenses.asl20; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}