at 18.03-beta 707 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }: 2 3buildPythonPackage rec { 4 pname = "pyte"; 5 version = "0.7.0"; 6 src = fetchPypi { 7 inherit pname version; 8 sha256 = "1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7"; 9 }; 10 11 propagatedBuildInputs = [ wcwidth ]; 12 13 checkInputs = [ pytest pytestrunner ]; 14 15 # tries to write to os.path.dirname(__file__) in test_input_output 16 checkPhase = '' 17 py.test -k "not test_input_output" 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Simple VTXXX-compatible linux terminal emulator"; 22 homepage = https://github.com/selectel/pyte; 23 license = licenses.lgpl3; 24 maintainers = with maintainers; [ flokli ]; 25 }; 26}