1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 urwid, 7}: 8 9buildPythonPackage rec { 10 pname = "urwidgets"; 11 version = "0.2.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "AnonymouX47"; 16 repo = "urwidgets"; 17 tag = "v${version}"; 18 hash = "sha256-RgY7m0smcdUspGkCdzepxruEMDq/mAsVFNjHMLoWAyc="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ urwid ]; 24 25 pythonRelaxDeps = [ "urwid" ]; 26 27 pythonImportsCheck = [ "urwidgets" ]; 28 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 }; 36}