summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPiotr Pietraszkiewicz <ppietrasa@googlemail.com>2010-11-03 20:36:36 +0000
committerPiotr Pietraszkiewicz <ppietrasa@googlemail.com>2010-11-03 20:36:36 +0000
commitf540277f975a06384bafaed7742fc0eeeefb5377 (patch)
treec2aff7b32cee45dd8adfe68a196c1c9104312432 /pkgs
parentb247c239e52be5b7fd9ad7b6a62e8695aa5e1f76 (diff)
downloadnixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar.gz
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar.bz2
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar.lz
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar.xz
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.tar.zst
nixpkgs-f540277f975a06384bafaed7742fc0eeeefb5377.zip
added the sword framework
svn path=/nixpkgs/trunk/; revision=24586
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/sword/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/sword/default.nix b/pkgs/development/libraries/sword/default.nix
new file mode 100644
index 00000000000..07634ce09f3
--- /dev/null
+++ b/pkgs/development/libraries/sword/default.nix
@@ -0,0 +1,30 @@
+{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 ];
+
+  prePatch = ''
+    patchShebangs .;
+  '';
+
+  configureFlags = "--without-conf --enable-debug";
+
+  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";
+  };
+
+}
+
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6b6bc2b0ae1..d90cad034f3 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3841,6 +3841,8 @@ let
 
   suitesparse = callPackage ../development/libraries/suitesparse { };
 
+  sword = callPackage ../development/libraries/sword { };
+
   t1lib = callPackage ../development/libraries/t1lib { };
 
   taglib = callPackage ../development/libraries/taglib { };