Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 44 lines 1.5 kB view raw
1{ lib, stdenv, fetchurl, pkg-config, icu, clucene_core, curl }: 2 3stdenv.mkDerivation rec { 4 5 pname = "sword"; 6 version = "1.8.1"; 7 8 src = fetchurl { 9 url = "https://www.crosswire.org/ftpmirror/pub/sword/source/v1.8/${pname}-${version}.tar.gz"; 10 sha256 = "14syphc47g6svkbg018nrsgq4z6hid1zydax243g8dx747vsi6nf"; 11 }; 12 13 nativeBuildInputs = [ pkg-config ]; 14 buildInputs = [ icu clucene_core curl ]; 15 16 prePatch = '' 17 patchShebangs .; 18 ''; 19 20 configureFlags = [ "--without-conf" "--enable-tests=no" ]; 21 CXXFLAGS = [ 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" 25 ]; 26 27 meta = with lib; { 28 description = "A software framework that allows research manipulation of Biblical texts"; 29 homepage = "http://www.crosswire.org/sword/"; 30 longDescription = '' 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. 38 ''; 39 license = licenses.gpl2; 40 maintainers = with maintainers; [ AndersonTorres ]; 41 platforms = platforms.unix; 42 }; 43 44}