diff options
author | Florian Klink <flokli@flokli.de> | 2017-10-29 11:20:31 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2017-10-29 12:26:45 +0100 |
commit | 208e5c99c46fd9d9f2300931a44cd698edc8d0b9 (patch) | |
tree | 5b478f8a4b7b3668a005e645755eca11c69d8cbe /pkgs/development/python-modules/pyte | |
parent | 0e4be9e5f07c8688abaf3f06b6976a662b993ac7 (diff) | |
download | nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar.gz nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar.bz2 nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar.lz nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar.xz nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.tar.zst nixlib-208e5c99c46fd9d9f2300931a44cd698edc8d0b9.zip |
pyte: init at 0.7.0
Diffstat (limited to 'pkgs/development/python-modules/pyte')
-rw-r--r-- | pkgs/development/python-modules/pyte/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyte/default.nix b/pkgs/development/python-modules/pyte/default.nix new file mode 100644 index 000000000000..2bd710705815 --- /dev/null +++ b/pkgs/development/python-modules/pyte/default.nix @@ -0,0 +1,28 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }: + +buildPythonPackage rec { + pname = "pyte"; + version = "0.7.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1an54hvyjm8gncx8cgabz9mkpgjkdb0bkyjlkh7g7f94nr3wnfl7"; + }; + + 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" + ''; + + meta = with stdenv.lib; { + description = "Simple VTXXX-compatible linux terminal emulator"; + homepage = https://github.com/selectel/pyte; + license = licenses.lgpl3; + maintainers = with maintainers; [ flokli ]; + }; +} |