2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }:
|
2017-10-29 10:20:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyte";
|
2018-06-12 17:47:05 +01:00
|
|
|
version = "0.8.0";
|
2017-10-29 10:20:31 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:05 +01:00
|
|
|
sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
|
2017-10-29 10:20:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wcwidth ];
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestrunner ];
|
|
|
|
|
|
|
|
# tries to write to os.path.dirname(__file__) in test_input_output
|
|
|
|
checkPhase = ''
|
|
|
|
py.test -k "not test_input_output"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-29 10:20:31 +00:00
|
|
|
description = "Simple VTXXX-compatible linux terminal emulator";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/selectel/pyte";
|
2017-10-29 10:20:31 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ flokli ];
|
|
|
|
};
|
|
|
|
}
|