2014-09-10 19:59:54 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, icu, clucene_core, curl }:
|
2010-11-03 20:36:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "sword-${version}";
|
2015-08-15 13:35:41 +01:00
|
|
|
version = "1.7.4";
|
2010-11-03 20:36:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-21 17:30:30 +01:00
|
|
|
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/${name}.tar.gz";
|
2015-08-15 13:35:41 +01:00
|
|
|
sha256 = "0g91kpfkwccvdikddffdbzd6glnp1gdvkx4vh04iyz10bb7shpcr";
|
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
|
|
|
|
2015-01-08 09:26:49 +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
|
|
|
|
2014-09-10 19:59:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-11-03 20:36:36 +00:00
|
|
|
description = "A software framework that allows research manipulation of Biblical texts";
|
|
|
|
homepage = http://www.crosswire.org/sword/;
|
2014-09-10 19:59:54 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.piotr maintainers.AndersonTorres ];
|
2010-11-03 20:36:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|