nixpkgs/pkgs/development/python-modules/pyte/default.nix
2018-01-20 13:48:23 +01:00

27 lines
707 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }:
buildPythonPackage rec {
pname = "pyte";
version = "0.7.0";
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 ];
};
}