nixpkgs/pkgs/development/python-modules/pyte/default.nix

27 lines
719 B
Nix
Raw Normal View History

2017-10-29 11:20:31 +01:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }:
buildPythonPackage rec {
pname = "pyte";
2018-06-12 18:47:05 +02:00
version = "0.8.0";
2017-10-29 11:20:31 +01:00
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:05 +02:00
sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
2017-10-29 11:20:31 +01: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"
'';
meta = with stdenv.lib; {
description = "Simple VTXXX-compatible linux terminal emulator";
homepage = https://github.com/selectel/pyte;
license = licenses.lgpl3;
maintainers = with maintainers; [ flokli ];
};
}