python313Packages.urwidgets: refactor

Tom Hunze 75eb5bee a2403e9b

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