1 { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, python3, perl, bison
2 , texinfo, desktop-file-utils, wrapGAppsHook3, docbook2x, docbook-xsl-nons
3 , inform7, gettext, libossp_uuid, gtk3, gobject-introspection, vala, gtk-doc
4 , webkitgtk_4_0, gtksourceview3, gspell, libxml2, goocanvas2, libplist, glib
7 # Neither gnome-inform7 nor its dependencies ratify and chimara have tagged releases in the GTK3 branch yet.
10 ratify = (stdenv.mkDerivation {
12 version = "unstable-2021-02-21";
13 src = fetchFromGitHub {
16 rev = "f4d2d60ec73d5588e953650b3879e69a727f30ca";
17 sha256 = "eRh/9pYvdfbdbdJQ7pYMLq5p91I+rtyb/AqEGfakjKs=";
34 chimara = (stdenv.mkDerivation {
36 version = "unstable-2021-04-06";
37 src = fetchFromGitHub {
40 rev = "9934b142af508c75c0f1eed597990f39495b1af4";
41 sha256 = "aRz1XX8XaSLTBIrMIIMS3QNMm6Msi+slrZ6+KYlyRMo=";
60 gst_all_1.gst-plugins-base
61 gst_all_1.gst-plugins-good
62 gst_all_1.gst-plugins-bad
66 patchShebangs build-aux/meson_post_install.py
70 in stdenv.mkDerivation {
71 pname = "gnome-inform7";
72 version = "unstable-2021-04-06";
73 src = fetchFromGitHub {
75 repo = "gnome-inform7";
76 # build from revision in the GTK3 branch as mainline requires webkit-1.0
77 rev = "c37e045c159692aae2e4e79b917e5f96cfefa66a";
78 sha256 = "Q4xoITs3AYXhvpWaABRAvJaUWTtUl8lYQ1k9zX7FrNw=";
103 cp ${inform7}/libexec/ni ./src/ni
104 patchShebangs build-aux/* src/generate-resource-xml.{py,sh}
108 description = "Inform 7 for the Gnome platform";
110 This version of Inform 7 for the Gnome platform was created by Philip Chimento, based on a design by Graham Nelson and Andrew Hunter.
112 homepage = "https://github.com/ptomato/gnome-inform7";
113 license = licenses.gpl3Only;
114 maintainers = [ maintainers.fitzgibbon ];
115 platforms = platforms.linux;
116 mainProgram = "gnome-inform7";