python313Packages.blessed:1.21.0 -> 1.25-unstable-2025-12-05 (#473814)

This commit is contained in:
Vladimír Čunát
2025-12-27 21:52:31 +00:00
committed by GitHub
@@ -1,41 +1,46 @@
{
lib,
buildPythonPackage,
fetchPypi,
six,
fetchFromGitHub,
flit-core,
wcwidth,
pytest,
six,
pytestCheckHook,
mock,
glibcLocales,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "blessed";
version = "1.21.0";
format = "setuptools";
# We need https://github.com/jquast/blessed/pull/311 to fix 3.13
version = "1.25-unstable-2025-12-05";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-7Oi7xHWKuRdkUvTjpxnXAIjrVzl5jNVYLJ4F8qKDN+w=";
src = fetchFromGitHub {
owner = "jquast";
repo = "blessed";
rev = "cee680ff7fb3ad31f42ae98582ba74629f1fd6b0";
hash = "sha256-4K1W0LXJKkb2wKE6D+IkX3oI5KxkpKbO661W/VTHgts=";
};
build-system = [ flit-core ];
dependencies = [
wcwidth
six
];
nativeCheckInputs = [
pytest
pytestCheckHook
mock
glibcLocales
];
# Default tox.ini parameters not needed
checkPhase = ''
preCheck = ''
rm tox.ini
pytest
'';
propagatedBuildInputs = [
wcwidth
six
];
meta = {
homepage = "https://github.com/jquast/blessed";
description = "Thin, practical wrapper around terminal capabilities in Python";