2014-09-10 20:59:54 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, icu, clucene_core, curl }:
|
2010-11-03 21:36:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2014-04-19 21:33:00 +02:00
|
|
|
version = "1.7.3";
|
2010-11-03 21:36:36 +01:00
|
|
|
|
|
|
|
name = "sword-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-21 18:30:30 +02:00
|
|
|
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/${name}.tar.gz";
|
2014-04-19 21:33:00 +02:00
|
|
|
sha256 = "1sm9ivypsx3mraqnziic7qkxjx1b7crvlln0zq6cnpjx2pzqfgas";
|
2010-11-03 21:36:36 +01:00
|
|
|
};
|
|
|
|
|
2013-12-23 11:35:35 +01:00
|
|
|
buildInputs = [ pkgconfig icu clucene_core curl ];
|
2010-11-03 21:36:36 +01:00
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .;
|
|
|
|
'';
|
|
|
|
|
2012-03-18 23:51:17 +01:00
|
|
|
configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable";
|
2010-11-03 21:36:36 +01:00
|
|
|
|
2014-09-10 20:59:54 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-11-03 21:36:36 +01:00
|
|
|
description = "A software framework that allows research manipulation of Biblical texts";
|
|
|
|
homepage = http://www.crosswire.org/sword/;
|
2014-09-10 20:59:54 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.piotr maintainers.AndersonTorres ];
|
2010-11-03 21:36:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|