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 {
|
|
|
|
|
2014-04-21 17:30:30 +01:00
|
|
|
version = "1.7.2";
|
2010-11-03 20:36:36 +00:00
|
|
|
|
|
|
|
name = "sword-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-21 17:30:30 +01:00
|
|
|
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/${name}.tar.gz";
|
|
|
|
sha256 = "ac7aace0ecb7a405d4b4b211ee1ae5b2250bb5c57c9197179747c9e830787871";
|
2010-11-03 20:36:36 +00:00
|
|
|
};
|
|
|
|
|
2013-12-23 10:35:35 +00:00
|
|
|
buildInputs = [ pkgconfig icu clucene_core curl ];
|
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";
|
2014-04-21 17:30:30 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr stdenv.lib.maintainers.AndersonTorres ];
|
2010-11-03 20:36:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|