at master 1.0 kB view raw
1{ 2 lib, 3 attrs, 4 buildPythonPackage, 5 docopt, 6 fetchPypi, 7 libX11, 8 libXext, 9 libXres, 10 meson-python, 11 meson, 12 pillow, 13 pkg-config, 14 psutil, 15 xlib, 16}: 17 18buildPythonPackage rec { 19 pname = "ueberzug"; 20 version = "18.3.1"; 21 pyproject = true; 22 23 src = fetchPypi { 24 inherit pname version; 25 hash = "sha256-1Lk4E5YwEq2mUnYbIWDhzz9/CCwfXMJ11/TtJ44ugOk="; 26 }; 27 28 build-system = [ 29 meson 30 meson-python 31 ]; 32 33 nativeBuildInputs = [ pkg-config ]; 34 35 buildInputs = [ 36 libX11 37 libXres 38 libXext 39 ]; 40 41 dependencies = [ 42 attrs 43 docopt 44 pillow 45 psutil 46 xlib 47 ]; 48 49 doCheck = false; 50 51 pythonImportsCheck = [ "ueberzug" ]; 52 53 meta = { 54 description = "Alternative for w3mimgdisplay"; 55 homepage = "https://github.com/ueber-devel/ueberzug"; 56 changelog = "https://github.com/ueber-devel/ueberzug/releases/tag/${version}"; 57 license = lib.licenses.gpl3Only; 58 mainProgram = "ueberzug"; 59 maintainers = with lib.maintainers; [ Br1ght0ne ]; 60 platforms = lib.platforms.linux; 61 }; 62}