python313Packages.urwidgets: refactor

Tom Hunze 75eb5bee a2403e9b

Changed files
+3 -6
pkgs
development
python-modules
urwidgets
+3 -6
pkgs/development/python-modules/urwidgets/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
-
pythonOlder,
setuptools,
urwid,
}:
···
pname = "urwidgets";
version = "0.2.1";
pyproject = true;
-
-
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AnonymouX47";
···
hash = "sha256-RgY7m0smcdUspGkCdzepxruEMDq/mAsVFNjHMLoWAyc=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [ urwid ];
+
dependencies = [ urwid ];
pythonRelaxDeps = [ "urwid" ];
···
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 ];
};