31 stdenv.mkDerivation rec {
35 src = fetchFromGitHub {
39 hash = "sha256-H5Q+azE2t3fgu77C9DxrkeUCJ7iJz3Cc91Ln4dqLvD8=";
43 # GLIB_VERSION_MIN_REQUIRED is not defined.
44 # https://github.com/crosswire/xiphos/issues/1083#issuecomment-820304874
46 name ="xiphos-glibc.patch";
47 url = "https://aur.archlinux.org/cgit/aur.git/plain/xiphos-glibc.patch?h=xiphos&id=bb816f43ba764ffac1287ab1e2a649c2443e3ce8";
48 sha256 = "he3U7phU2/QCrZidHviupA7YwzudnQ9Jbb8eMZw6/ck=";
53 # https://github.com/crosswire/xiphos/pull/1103
54 ./0001-Add-dbus-glib-dependency-to-main.patch
58 appstream-glib # for appstream-util
60 desktop-file-utils # for desktop-file-validate
68 yelp-tools # for yelp-build
69 zip # for building help epubs
88 # WebKit-based editor does not build.
93 # The build script won't continue without the version saved locally.
94 echo "${version}" > cmake/source_version.txt
96 export SWORD_HOME=${sword};
100 description = "A GTK Bible study tool";
102 Xiphos (formerly known as GnomeSword) is a Bible study tool
103 written for Linux, UNIX, and Windows using GTK, offering a rich
104 and featureful environment for reading, study, and research using
105 modules from The SWORD Project and elsewhere.
107 homepage = "https://www.xiphos.org/";
108 license = licenses.gpl2Plus;
109 maintainers = [ maintainers.AndersonTorres ];
110 platforms = platforms.linux;