1{ lib, buildPythonPackage, fetchPypi, isPy27
2, libX11, libXext
3, attrs, docopt, pillow, psutil, xlib }:
4
5buildPythonPackage rec {
6 pname = "ueberzug";
7 version = "18.1.9";
8
9 disabled = isPy27;
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "7ce49f351132c7d1b0f8097f6e4c5635376151ca59318540da3e296e5b21adc3";
14 };
15
16 buildInputs = [ libX11 libXext ];
17
18 propagatedBuildInputs = [ attrs docopt pillow psutil xlib ];
19
20 doCheck = false;
21
22 pythonImportsCheck = [ "ueberzug" ];
23
24 meta = with lib; {
25 homepage = "https://github.com/seebye/ueberzug";
26 description = "An alternative for w3mimgdisplay";
27 license = licenses.gpl3;
28 maintainers = with maintainers; [ Br1ght0ne ];
29 };
30}