summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyte/default.nix
blob: f09bd95d0703ad89446f80a0bfb2d2c4e86bbf2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }:

buildPythonPackage rec {
  pname = "pyte";
  version = "0.8.0";
  src = fetchPypi {
    inherit pname version;
    sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
  };

  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 ];
  };
}