Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2a9f47c67f3e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4dc218c116d1
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 7, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    elseym Simon Waibl
    Copy the full SHA
    4dc218c View commit details
Showing with 54 additions and 0 deletions.
  1. +52 −0 pkgs/desktops/gnome-3/apps/gnome-books/default.nix
  2. +2 −0 pkgs/desktops/gnome-3/default.nix
52 changes: 52 additions & 0 deletions pkgs/desktops/gnome-3/apps/gnome-books/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ stdenv, meson, ninja, gettext, fetchurl, evince, gjs
, pkgconfig, gtk3, glib, tracker, tracker-miners, 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 }:

stdenv.mkDerivation rec {
pname = "gnome-books";
version = "3.31.91";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "03wc9vrif88pgr92xmvliyvwf5k8baix5ll0v1hiy8pndx7w6jbi";
};

mesonFlags = [
"--buildtype=plain"
];

nativeBuildInputs = [
meson ninja pkgconfig gettext libxslt desktop-file-utils
docbook_xsl docbook_xml_dtd_42 wrapGAppsHook python3
];

buildInputs = [
gtk3 glib gsettings-desktop-schemas
gdk_pixbuf adwaita-icon-theme evince
webkitgtk gjs gobject-introspection tracker
tracker-miners gnome-desktop libgepub
];

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 stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Books;
description = "An e-book manager application for GNOME";
maintainers = gnome3.maintainers;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/desktops/gnome-3/default.nix
Original file line number Diff line number Diff line change
@@ -229,6 +229,8 @@ lib.makeScope pkgs.newScope (self: with self; {

glade = callPackage ./apps/glade { };

gnome-books = callPackage ./apps/gnome-books { };

gnome-boxes = callPackage ./apps/gnome-boxes { };

gnome-calendar = callPackage ./apps/gnome-calendar { };