2013-12-23 10:35:35 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, icu, clucene_core, curl}:
|
2010-11-03 20:36:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "1.6.2";
|
|
|
|
|
|
|
|
name = "sword-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.6/${name}.tar.gz";
|
|
|
|
sha256 = "1fc71avaxkhx6kckjiflw6j02lpg569b9bzaksq49i1m87awfxmg";
|
|
|
|
};
|
|
|
|
|
2013-12-23 10:35:35 +00:00
|
|
|
buildInputs = [ pkgconfig icu clucene_core curl ];
|
2010-11-03 20:36:36 +00:00
|
|
|
|
2011-11-05 22:12:18 +00:00
|
|
|
# because curl/types.h disappeared since at least curl 7.21.7
|
|
|
|
patches = [ ./dont_include_curl_types_h.patch ];
|
|
|
|
|
2010-11-03 20:36:36 +00:00
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .;
|
|
|
|
'';
|
|
|
|
|
2012-03-18 22:51:17 +00:00
|
|
|
configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable";
|
2010-11-03 20:36:36 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A software framework that allows research manipulation of Biblical texts";
|
|
|
|
homepage = http://www.crosswire.org/sword/;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = "GPLv2";
|
2011-09-13 20:50:39 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-11-03 20:36:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|