diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyte/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyte/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyte/default.nix b/nixpkgs/pkgs/development/python-modules/pyte/default.nix index e930f1d5717f..b907db22386c 100644 --- a/nixpkgs/pkgs/development/python-modules/pyte/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pyte/default.nix @@ -1,21 +1,23 @@ -{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }: +{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-runner, wcwidth }: buildPythonPackage rec { pname = "pyte"; version = "0.8.0"; + src = fetchPypi { inherit pname version; sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5"; }; + nativeBuildInputs = [ pytest-runner ]; + propagatedBuildInputs = [ wcwidth ]; - checkInputs = [ pytest pytestrunner ]; + checkInputs = [ pytestCheckHook ]; - # tries to write to os.path.dirname(__file__) in test_input_output - checkPhase = '' - py.test -k "not test_input_output" - ''; + disabledTests = [ + "test_input_output" + ]; meta = with lib; { description = "Simple VTXXX-compatible linux terminal emulator"; |