summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2018-01-28 00:21:07 -0500
committerMark H Weaver <mhw@netris.org>2018-01-28 00:23:32 -0500
commitb9ed5ef3fb6d4492da18ade34cdcf69dfdb60e29 (patch)
tree8df999b0aad9c86e940c614ffdc2e17667e31270 /gnu
parentc3753f380397eb0ad2fd2596747d7996e03cbecc (diff)
downloadguix-b9ed5ef3fb6d4492da18ade34cdcf69dfdb60e29.tar.gz
gnu: Add sqlite-with-fts5.
* gnu/packages/databases.scm (sqlite-with-fts5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 7e1caae3b9..42a2067d5f 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
 ;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
-;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
@@ -979,6 +979,15 @@ widely deployed SQL database engine in the world.  The source code for SQLite
 is in the public domain.")
    (license license:public-domain)))
 
+;; This is used by Tracker.
+(define-public sqlite-with-fts5
+  (package (inherit sqlite)
+    (name "sqlite-with-fts5")
+    (arguments
+     (substitute-keyword-arguments (package-arguments sqlite)
+       ((#:configure-flags flags)
+        `(cons "--enable-fts5" ,flags))))))
+
 ;; This is used by Clementine.
 (define-public sqlite-with-fts3
   (package (inherit sqlite)