Merge pull request #254034 from doronbehar/pkg/gnome-frog

gnome-frog: 1.3.0 -> 1.4.2
This commit is contained in:
Doron Behar 2023-09-09 13:33:00 +00:00 committed by GitHub
commit 7c6dc82d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@
, desktop-file-utils , desktop-file-utils
, glib , glib
, gobject-introspection , gobject-introspection
, blueprint-compiler
, libxml2
, libnotify , libnotify
, libadwaita , libadwaita
, libportal , libportal
@ -18,17 +20,18 @@
, librsvg , librsvg
, tesseract5 , tesseract5
, zbar , zbar
, gst_all_1
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gnome-frog"; pname = "gnome-frog";
version = "1.3.0"; version = "1.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TenderOwl"; owner = "TenderOwl";
repo = "Frog"; repo = "Frog";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-ErDHrdD9UZxOIGwgN5eakY6vhNvE6D9SoRYXZhzmYX4="; sha256 = "sha256-w/ENUhJt7bYy5htBLolb/HysK8/scRaPQX5qEezQcXY=";
}; };
format = "other"; format = "other";
@ -52,6 +55,8 @@ python3Packages.buildPythonApplication rec {
glib glib
wrapGAppsHook4 wrapGAppsHook4
gobject-introspection gobject-introspection
blueprint-compiler
libxml2
]; ];
buildInputs = [ buildInputs = [
@ -61,6 +66,7 @@ python3Packages.buildPythonApplication rec {
libportal libportal
zbar zbar
tesseract5 tesseract5
gst_all_1.gstreamer
]; ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
@ -68,6 +74,7 @@ python3Packages.buildPythonApplication rec {
pillow pillow
pytesseract pytesseract
pyzbar pyzbar
gtts
]; ];
# This is to prevent double-wrapping the package. We'll let # This is to prevent double-wrapping the package. We'll let
@ -83,6 +90,7 @@ python3Packages.buildPythonApplication rec {
description = description =
"Intuitive text extraction tool (OCR) for GNOME desktop"; "Intuitive text extraction tool (OCR) for GNOME desktop";
license = licenses.mit; license = licenses.mit;
mainProgram = "frog";
maintainers = with maintainers; [ foo-dogsquared ]; maintainers = with maintainers; [ foo-dogsquared ];
platforms = platforms.linux; platforms = platforms.linux;
}; };