1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 isPy27,
6 libX11,
7 libXext,
8 attrs,
9 docopt,
10 pillow,
11 psutil,
12 xlib,
13}:
14
15buildPythonPackage rec {
16 pname = "ueberzug";
17 version = "18.1.9";
18 format = "setuptools";
19
20 disabled = isPy27;
21
22 src = fetchPypi {
23 inherit pname version;
24 sha256 = "7ce49f351132c7d1b0f8097f6e4c5635376151ca59318540da3e296e5b21adc3";
25 };
26
27 buildInputs = [
28 libX11
29 libXext
30 ];
31
32 propagatedBuildInputs = [
33 attrs
34 docopt
35 pillow
36 psutil
37 xlib
38 ];
39
40 doCheck = false;
41
42 pythonImportsCheck = [ "ueberzug" ];
43
44 meta = with lib; {
45 homepage = "https://github.com/seebye/ueberzug";
46 description = "Alternative for w3mimgdisplay";
47 mainProgram = "ueberzug";
48 license = licenses.gpl3;
49 maintainers = with maintainers; [ Br1ght0ne ];
50 };
51}