Fabian Affolter
2024-02-17 15:40:38 +01:00
parent ecaadca24a
commit d3723e4d81
@@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pythonOlder
, setuptools
, urwid
, wheel
}:
buildPythonPackage rec {
pname = "urwidgets";
version = "0.1.1";
version = "0.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AnonymouX47";
repo = "urwidgets";
rev = "refs/tags/v${version}";
hash = "sha256-0aZLL0NutptPkuLHv3bTzR1/SNqLgMdUYWET6mLE0IU=";
hash = "sha256-ultlfNeCGFTqKaMeXu0+NihkN5/6NtMewk33YfIzhu8=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
urwid
];
pythonImportsCheck = [ "urwidgets" ];
pythonImportsCheck = [
"urwidgets"
];
meta = with lib; {
description = "A collection of widgets for urwid";
homepage = "https://github.com/AnonymouX47/urwidgets";
changelog = "https://github.com/AnonymouX47/urwidgets/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ huyngo ];
};