python310Packages.pyte: 0.8.0 -> 0.8.1
This commit is contained in:
parent
a79c16c397
commit
663e41e6df
1 changed files with 17 additions and 8 deletions
|
@ -1,23 +1,32 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-runner, wcwidth }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, wcwidth
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyte";
|
pname = "pyte";
|
||||||
version = "0.8.1";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "selectel";
|
||||||
sha256 = "sha256-ub/Rt4F1nnVypuVTwBDMk+71ihnY0VkERthMGbGwl7A=";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-gLvsW4ou6bGq9CxT6XdX+r2ViMk7z+aejemrdLwJb3M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
postPatch = ''
|
||||||
|
# Remove pytest-runner dependency since it is not supported in the NixOS
|
||||||
|
# sandbox
|
||||||
|
sed -i '/pytest-runner/d' setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ wcwidth ];
|
propagatedBuildInputs = [ wcwidth ];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
disabledTests = [
|
pythonImportsCheck = [ "pyte" ];
|
||||||
"test_input_output"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple VTXXX-compatible linux terminal emulator";
|
description = "Simple VTXXX-compatible linux terminal emulator";
|
||||||
|
|
Loading…
Reference in a new issue