python313Packages.urwidgets: refactor
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
urwid,
|
||||
}:
|
||||
@@ -12,8 +11,6 @@ buildPythonPackage rec {
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnonymouX47";
|
||||
repo = "urwidgets";
|
||||
@@ -21,9 +18,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-RgY7m0smcdUspGkCdzepxruEMDq/mAsVFNjHMLoWAyc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ urwid ];
|
||||
dependencies = [ urwid ];
|
||||
|
||||
pythonRelaxDeps = [ "urwid" ];
|
||||
|
||||
@@ -32,7 +29,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Collection of widgets for urwid";
|
||||
homepage = "https://github.com/AnonymouX47/urwidgets";
|
||||
changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/v${version}";
|
||||
changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/${src.tag}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ huyngo ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user