python313Packages.ueberzug: refactor
- update build-system - update meta - add missing input
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user