1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/sword/default.nix

38 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, icu, clucene_core, curl }:
stdenv.mkDerivation rec {
name = "sword-${version}";
2015-08-15 13:35:41 +01:00
version = "1.7.4";
src = fetchurl {
url = "http://www.crosswire.org/ftpmirror/pub/sword/source/v1.7/${name}.tar.gz";
2015-08-15 13:35:41 +01:00
sha256 = "0g91kpfkwccvdikddffdbzd6glnp1gdvkx4vh04iyz10bb7shpcr";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ icu clucene_core curl ];
prePatch = ''
patchShebangs .;
'';
2017-08-30 18:09:23 +01:00
patches = [
(fetchurl {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/app-text/sword/files/sword-1.7.4-gcc6.patch";
sha256 = "0cvnya5swc7dxabir6bz6la2h1qxd32g3xi06m9b5l5ahb6g10y7";
})
];
configureFlags = "--without-conf --enable-tests=no CXXFLAGS=-Wno-unused-but-set-variable";
meta = with stdenv.lib; {
description = "A software framework that allows research manipulation of Biblical texts";
homepage = http://www.crosswire.org/sword/;
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = [ maintainers.piotr maintainers.AndersonTorres ];
};
}