18 stdenv.mkDerivation rec {
19 pname = "vokoscreen-ng";
22 src = fetchFromGitHub {
24 repo = "vokoscreenNG";
26 hash = "sha256-Y6+R18Gf3ShqhsmZ4Okx02fSOOyilS6iKU5FW9wpxvY=";
29 qmakeFlags = [ "src/vokoscreenNG.pro" ];
31 nativeBuildInputs = [ qt6.qttools pkg-config qt6.qmake qt6.wrapQtAppsHook ];
40 gst_all_1.gst-plugins-base
41 gst_all_1.gst-plugins-good
42 gst_all_1.gst-plugins-bad
43 gst_all_1.gst-plugins-ugly
47 substituteInPlace src/vokoscreenNG.pro \
48 --replace lrelease-qt5 lrelease
52 mkdir -p $out/bin $out/share/applications $out/share/icons
53 cp ./vokoscreenNG $out/bin/
54 cp ./src/applications/vokoscreenNG.desktop $out/share/applications/
55 cp ./src/applications/vokoscreenNG.png $out/share/icons/
56 qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
57 wrapQtApp $out/bin/vokoscreenNG
61 description = "User friendly Open Source screencaster for Linux and Windows";
62 license = licenses.gpl2Plus;
63 homepage = "https://github.com/vkohaupt/vokoscreenNG";
64 maintainers = with maintainers; [ shamilton dietmarw ];
65 platforms = platforms.linux;
66 mainProgram = "vokoscreenNG";