Merge pull request #288996 from fabaff/urwid-bump

python311Packages.urwid: 2.4.3 -> 2.5.3
This commit is contained in:
Fabian Affolter 2024-02-17 16:37:43 +01:00 committed by GitHub
commit c43f7a4c28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 40 additions and 20 deletions

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "nomadnet";
version = "0.4.5";
version = "0.4.6";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "markqvist";
repo = "NomadNet";
rev = "refs/tags/${version}";
hash = "sha256-+w/Earu76mMJFp8ALvaDEkZOGJqlKbO7jfpW/xxvd1o=";
hash = "sha256-23TIBSWOYgo7xEilB4raNMbEWIyPFHAh9jsVzh40S8I=";
};
nativeBuildInputs = [

View File

@ -13,11 +13,13 @@
, tornado
, trio
, twisted
, typing-extensions
, wcwidth
}:
buildPythonPackage rec {
pname = "urwid";
version = "2.4.3";
version = "2.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
@ -26,7 +28,7 @@ buildPythonPackage rec {
owner = "urwid";
repo = "urwid";
rev = "refs/tags/${version}";
hash = "sha256-raDsUZaXBC4s/48KNH8Thrpm8Bq8wj9+Rahk+LkxcDo=";
hash = "sha256-D/ZxN9hVVmAgHGdLGrSD2VAMSd4II8z6GzO1VDuyw9M=";
};
postPatch = ''
@ -38,6 +40,11 @@ buildPythonPackage rec {
setuptools-scm
];
propagatedBuildInputs = [
typing-extensions
wcwidth
];
passthru.optional-dependencies = {
glib = [
pygobject3

View File

@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pythonOlder
, setuptools
, urwid
, wheel
}:
buildPythonPackage rec {
pname = "urwidgets";
version = "0.1.1";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AnonymouX47";
repo = "urwidgets";
rev = "refs/tags/v${version}";
hash = "sha256-0aZLL0NutptPkuLHv3bTzR1/SNqLgMdUYWET6mLE0IU=";
hash = "sha256-ultlfNeCGFTqKaMeXu0+NihkN5/6NtMewk33YfIzhu8=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
urwid
];
pythonImportsCheck = [ "urwidgets" ];
pythonImportsCheck = [
"urwidgets"
];
meta = with lib; {
description = "A collection of widgets for urwid";
homepage = "https://github.com/AnonymouX47/urwidgets";
changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ huyngo ];
};

View File

@ -1,25 +1,23 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, glibcLocales
, urwid
, fetchpatch
, setuptools
, urwid
}:
buildPythonPackage rec {
pname = "urwidtrees";
format = "setuptools";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pazz";
repo = "urwidtrees";
rev = version;
rev = "refs/tags/${version}";
hash = "sha256-yGSjwagCd5TiwEFtF6ZhDuVqj4PTa5pVXhs8ebr2O/g=";
};
propagatedBuildInputs = [ urwid ];
patches = [
(fetchpatch {
url = "https://github.com/pazz/urwidtrees/commit/ed39dbc4fc67b0e0249bf108116a88cd18543aa9.patch";
@ -27,13 +25,26 @@ buildPythonPackage rec {
})
];
nativeCheckInputs = [ glibcLocales ];
LC_ALL="en_US.UTF-8";
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
urwid
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"urwidtrees"
];
meta = with lib; {
description = "Tree widgets for urwid";
homepage = "https://github.com/pazz/urwidtrees";
license = licenses.gpl3;
changelog = "https://github.com/pazz/urwidtrees/releases/tag/${version}";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
};
}