3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/apps/gnome-books/default.nix

88 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, stdenv
2020-09-21 01:11:42 +01:00
, meson
, ninja
, gettext
, fetchurl
, evince
, gjs
2021-01-17 02:21:50 +00:00
, pkg-config
2020-09-21 01:11:42 +01:00
, gtk3
, glib
, tracker
, tracker-miners
2020-09-21 01:11:42 +01:00
, libxslt
, webkitgtk
, gnome-desktop
, libgepub
, gnome3
, gdk-pixbuf
, gsettings-desktop-schemas
, adwaita-icon-theme
, docbook_xsl
, docbook_xml_dtd_42
, desktop-file-utils
, python3
, gobject-introspection
, wrapGAppsHook
}:
2019-03-07 03:28:48 +00:00
stdenv.mkDerivation rec {
pname = "gnome-books";
2019-09-02 17:44:36 +01:00
version = "3.34.0";
2019-03-07 03:28:48 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-09-02 17:44:36 +01:00
sha256 = "153vknqisjn5f105avzm933fsc3v0pjzzbwxlqxf8vjjksh1cmya";
2019-03-07 03:28:48 +00:00
};
nativeBuildInputs = [
2020-09-21 01:11:42 +01:00
meson
ninja
2021-01-17 02:21:50 +00:00
pkg-config
2020-09-21 01:11:42 +01:00
gettext
libxslt
desktop-file-utils
docbook_xsl
docbook_xml_dtd_42
wrapGAppsHook
python3
2019-03-07 03:28:48 +00:00
];
buildInputs = [
2020-09-21 01:11:42 +01:00
gtk3
glib
gsettings-desktop-schemas
gdk-pixbuf
adwaita-icon-theme
evince
webkitgtk
gjs
gobject-introspection
tracker
tracker-miners
2020-09-21 01:11:42 +01:00
gnome-desktop
libgepub
2019-03-07 03:28:48 +00:00
];
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-books";
attrPath = "gnome3.gnome-books";
};
};
meta = with lib; {
broken = true; # Tracker 3 not supported and it cannot start Tracker 2.
homepage = "https://wiki.gnome.org/Apps/Books";
2019-03-07 03:28:48 +00:00
description = "An e-book manager application for GNOME";
maintainers = teams.gnome.members;
2019-03-07 03:28:48 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}