Merge pull request #288996 from fabaff/urwid-bump
python311Packages.urwid: 2.4.3 -> 2.5.3
This commit is contained in:
commit
c43f7a4c28
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
|
|
|
@ -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; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user