1 { lib, stdenv, fetchurl, pkg-config, icu, clucene_core, curl }:
3 stdenv.mkDerivation rec {
9 url = "https://www.crosswire.org/ftpmirror/pub/sword/source/v1.8/${pname}-${version}.tar.gz";
10 sha256 = "14syphc47g6svkbg018nrsgq4z6hid1zydax243g8dx747vsi6nf";
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ icu clucene_core curl ];
20 configureFlags = [ "--without-conf" "--enable-tests=no" ];
22 "-Wno-unused-but-set-variable"
23 # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
24 "-DU_USING_ICU_NAMESPACE=1"
28 description = "A software framework that allows research manipulation of Biblical texts";
29 homepage = "http://www.crosswire.org/sword/";
31 The SWORD Project is the CrossWire Bible Society's free Bible software
32 project. Its purpose is to create cross-platform open-source tools --
33 covered by the GNU General Public License -- that allow programmers and
34 Bible societies to write new Bible software more quickly and easily. We
35 also create Bible study software for all readers, students, scholars, and
36 translators of the Bible, and have a growing collection of many hundred
37 texts in around 100 languages.
39 license = licenses.gpl2;
40 maintainers = with maintainers; [ AndersonTorres ];
41 platforms = platforms.unix;