2019-12-10 15:15:14 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
|
|
, libX11, libXext
|
|
|
|
, attrs, docopt, pillow, psutil, xlib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ueberzug";
|
2020-12-07 07:47:10 +00:00
|
|
|
version = "18.1.7";
|
2019-12-10 15:15:14 +00:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:47:10 +00:00
|
|
|
sha256 = "ef0d6ac5815446ede654a38da550d2c44abd0fc05c901b2232935a65bcbca875";
|
2019-12-10 15:15:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext ];
|
2020-12-07 11:37:09 +00:00
|
|
|
|
2019-12-10 15:15:14 +00:00
|
|
|
propagatedBuildInputs = [ attrs docopt pillow psutil xlib ];
|
|
|
|
|
2020-12-07 11:37:09 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ueberzug" ];
|
|
|
|
|
2019-12-10 15:15:14 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/seebye/ueberzug";
|
|
|
|
description = "An alternative for w3mimgdisplay";
|
|
|
|
license = licenses.gpl3;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-12-10 15:15:14 +00:00
|
|
|
};
|
|
|
|
}
|