1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/development/libraries/sword/default.nix
Piotr Pietraszkiewicz 1824f424b2 Made sword build again by tuning the configureFlags:
- to ignore warnings about unused variables
- not to build the tests (the warnings in tests looked serious at first
  glance)
Additionally disabled debug because I hit no problems at runtime so far

svn path=/nixpkgs/trunk/; revision=33243
2012-03-18 22:51:17 +00:00

35 lines
902 B
Nix

{stdenv, fetchurl, pkgconfig, icu, cluceneCore, curl}:
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";
};
buildInputs = [ pkgconfig icu cluceneCore curl ];
# because curl/types.h disappeared since at least curl 7.21.7
patches = [ ./dont_include_curl_types_h.patch ];
prePatch = ''
patchShebangs .;
'';
configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable";
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";
maintainers = [ stdenv.lib.maintainers.piotr ];
};
}