diff options
-rw-r--r-- | pkgs/applications/misc/gnome-epub-thumbnailer/default.nix | 53 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gnome-epub-thumbnailer/default.nix b/pkgs/applications/misc/gnome-epub-thumbnailer/default.nix new file mode 100644 index 0000000000000..3553dd118da03 --- /dev/null +++ b/pkgs/applications/misc/gnome-epub-thumbnailer/default.nix @@ -0,0 +1,53 @@ +{ stdenv +, lib +, fetchurl +, wrapGAppsNoGuiHook +, meson +, ninja +, pkg-config +, gnome +, gdk-pixbuf +, glib +, libarchive +, librsvg +, libxml2 +}: + +stdenv.mkDerivation rec { + pname = "gnome-epub-thumbnailer"; + version = "1.7"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-epub-thumbnailer/${lib.versions.majorMinor version}/gnome-epub-thumbnailer-${version}.tar.xz"; + sha256 = "sha256-S7Ah++RCgNuY3xTBH6XkMgsWe4GpG9e6WGvqDE+il1I="; + }; + + nativeBuildInputs = [ + wrapGAppsNoGuiHook + meson + ninja + pkg-config + ]; + + buildInputs = [ + gdk-pixbuf + glib + libarchive + librsvg + libxml2 + ]; + + passthru = { + updateScript = gnome.updateScript { + packageName = "gnome-epub-thumbnailer"; + }; + }; + + meta = with lib; { + description = "Thumbnailer for EPub and MOBI books"; + homepage = "https://gitlab.gnome.org/GNOME/gnome-epub-thumbnailer"; + license = licenses.gpl2Plus; + maintainers = teams.gnome.members; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0270750dbf84f..57391d9db7fe1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7556,6 +7556,8 @@ with pkgs; gst-plugins-bad = gst_all_1.gst-plugins-bad.override { enableZbar = true; }; }; + gnome-epub-thumbnailer = callPackage ../applications/misc/gnome-epub-thumbnailer { }; + gnome-extension-manager = callPackage ../applications/misc/gnome-extension-manager { }; gnome-feeds = callPackage ../applications/networking/feedreaders/gnome-feeds {}; |