python313Packages.ueberzug: refactor

- update build-system
- update meta
- add missing input
This commit is contained in:
Fabian Affolter
2025-08-18 20:09:38 +02:00
parent a6c125f516
commit 0a4986f35e
@@ -1,13 +1,16 @@
{
lib,
attrs,
buildPythonPackage,
docopt,
fetchPypi,
isPy27,
libX11,
libXext,
attrs,
docopt,
libXres,
meson-python,
meson,
pillow,
pkg-config,
psutil,
xlib,
}:
@@ -15,21 +18,27 @@
buildPythonPackage rec {
pname = "ueberzug";
version = "18.3.1";
format = "setuptools";
disabled = isPy27;
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk=";
hash = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk=";
};
build-system = [
meson
meson-python
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
libX11
libXres
libXext
];
propagatedBuildInputs = [
dependencies = [
attrs
docopt
pillow
@@ -42,10 +51,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "ueberzug" ];
meta = with lib; {
homepage = "https://github.com/seebye/ueberzug";
description = "Alternative for w3mimgdisplay";
homepage = "https://github.com/ueber-devel/ueberzug";
changelog = "https://github.com/ueber-devel/ueberzug/releases/tag/${version}";
license = licenses.gpl3Only;
mainProgram = "ueberzug";
license = licenses.gpl3;
maintainers = with maintainers; [ Br1ght0ne ];
};
}