depot/third_party/nixpkgs/pkgs/development/python-modules/pyte/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
711 B
Nix

{ lib, 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 lib; {
description = "Simple VTXXX-compatible linux terminal emulator";
homepage = "https://github.com/selectel/pyte";
license = licenses.lgpl3;
maintainers = with maintainers; [ flokli ];
};
}