pythonPackages.pyte: fix cross compile
This commit is contained in:
parent
b8f80a5bf3
commit
7d4f998b07
@ -1,21 +1,19 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pytest, pytestrunner, wcwidth }:
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-runner, wcwidth }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyte";
|
pname = "pyte";
|
||||||
version = "0.8.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
|
sha256 = "7e71d03e972d6f262cbe8704ff70039855f05ee6f7ad9d7129df9c977b5a88c5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pytest-runner ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ wcwidth ];
|
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"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple VTXXX-compatible linux terminal emulator";
|
description = "Simple VTXXX-compatible linux terminal emulator";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user