Merge pull request #121182 from dotlambda/recapp-init

recapp: init at 1.1.1

authored by

davidak and committed by
GitHub
9742ac3b 77e96995

+83
+81
pkgs/applications/video/recapp/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + , appstream-glib 5 + , desktop-file-utils 6 + , gettext 7 + , glib 8 + , gobject-introspection 9 + , gtk3 10 + , gst_all_1 11 + , libnotify 12 + , librsvg 13 + , meson 14 + , ninja 15 + , pkg-config 16 + , slop 17 + , wrapGAppsHook 18 + }: 19 + 20 + python3.pkgs.buildPythonApplication rec { 21 + pname = "recapp"; 22 + version = "1.1.1"; 23 + 24 + format = "other"; 25 + 26 + src = fetchFromGitHub { 27 + owner = "amikha1lov"; 28 + repo = "RecApp"; 29 + rev = "v${version}"; 30 + sha256 = "08bpfcqgw0lj6j7y5b2i18kffawlzp6pfk4wdpmk29vwmgk9s9yc"; 31 + }; 32 + 33 + postPatch = '' 34 + patchShebangs build-aux/meson 35 + ''; 36 + 37 + nativeBuildInputs = [ 38 + appstream-glib 39 + desktop-file-utils 40 + gettext 41 + glib 42 + gtk3 43 + meson 44 + ninja 45 + pkg-config 46 + wrapGAppsHook 47 + ]; 48 + 49 + buildInputs = [ 50 + libnotify 51 + librsvg 52 + gobject-introspection 53 + gtk3 54 + gst_all_1.gst-plugins-base 55 + gst_all_1.gst-plugins-good 56 + gst_all_1.gst-plugins-bad 57 + gst_all_1.gst-plugins-ugly 58 + ]; 59 + 60 + propagatedBuildInputs = with python3.pkgs; [ 61 + pulsectl 62 + pydbus 63 + pygobject3 64 + ]; 65 + 66 + dontWrapGApps = true; 67 + 68 + preFixup = '' 69 + makeWrapperArgs+=( 70 + "''${gappsWrapperArgs[@]}" 71 + "--prefix" "PATH" ":" "${lib.makeBinPath [ gst_all_1.gstreamer.dev slop ]}" 72 + ) 73 + ''; 74 + 75 + meta = with lib; { 76 + description = "User friendly Open Source screencaster for Linux written in GTK"; 77 + homepage = "https://github.com/amikha1lov/RecApp"; 78 + license = licenses.gpl3Plus; 79 + maintainers = with maintainers; [ dotlambda ]; 80 + }; 81 + }
+2
pkgs/top-level/all-packages.nix
··· 25802 25802 25803 25803 reaper = callPackage ../applications/audio/reaper { }; 25804 25804 25805 + recapp = callPackage ../applications/video/recapp { }; 25806 + 25805 25807 recode = callPackage ../tools/text/recode { }; 25806 25808 25807 25809 reddsaver = callPackage ../applications/misc/reddsaver {