13 python3.pkgs.buildPythonApplication rec {
17 src = fetchFromGitLab {
21 hash = "sha256-kWktKzRyWHGd1lmdKhPwrJoSzAIN2E5TKyg30uhM4Ug=";
35 propagatedBuildInputs = with python3.pkgs; [
42 # Prevent double wrapping because of wrapGAppsHook3
47 --prefix PATH ":" "${lib.makeBinPath [ slop ]}"
48 "''${gappsWrapperArgs[@]}"
52 # screenkey does not have any tests
55 # Fix CDLL python calls for non absolute paths of xorg libraries
57 substituteInPlace Screenkey/xlib.py \
58 --replace libX11.so.6 ${lib.getLib xorg.libX11}/lib/libX11.so.6 \
59 --replace libXtst.so.6 ${lib.getLib xorg.libXtst}/lib/libXtst.so.6
63 homepage = "https://www.thregr.org/~wavexx/software/screenkey/";
64 description = "Screencast tool to display your keys inspired by Screenflick";
65 license = licenses.gpl3Plus;
66 platforms = platforms.linux;
67 maintainers = [ maintainers.rasendubi ];
68 mainProgram = "screenkey";