python313Packages.urwidgets: refactor

Tom Hunze 75eb5bee a2403e9b

+3 -6
+3 -6
pkgs/development/python-modules/urwidgets/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - pythonOlder, 6 5 setuptools, 7 6 urwid, 8 7 }: ··· 11 10 pname = "urwidgets"; 12 11 version = "0.2.1"; 13 12 pyproject = true; 14 - 15 - disabled = pythonOlder "3.7"; 16 13 17 14 src = fetchFromGitHub { 18 15 owner = "AnonymouX47"; ··· 21 18 hash = "sha256-RgY7m0smcdUspGkCdzepxruEMDq/mAsVFNjHMLoWAyc="; 22 19 }; 23 20 24 - nativeBuildInputs = [ setuptools ]; 21 + build-system = [ setuptools ]; 25 22 26 - propagatedBuildInputs = [ urwid ]; 23 + dependencies = [ urwid ]; 27 24 28 25 pythonRelaxDeps = [ "urwid" ]; 29 26 ··· 32 29 meta = with lib; { 33 30 description = "Collection of widgets for urwid"; 34 31 homepage = "https://github.com/AnonymouX47/urwidgets"; 35 - changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/v${version}"; 32 + changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/${src.tag}"; 36 33 license = licenses.mit; 37 34 maintainers = with maintainers; [ huyngo ]; 38 35 };