From: Andy Patterson <ajpatter@uwaterloo.ca>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: Add sqlcipher.
Date: Wed, 14 Sep 2016 15:30:13 -0400 [thread overview]
Message-ID: <20160914193014.24224-2-ajpatter@uwaterloo.ca> (raw)
In-Reply-To: <20160914193014.24224-1-ajpatter@uwaterloo.ca>
* gnu/packages/database.scm (sqlcipher): New variable.
---
gnu/packages/databases.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index fc31653..d424848 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
+;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,11 +34,13 @@
#:use-module (gnu packages avahi)
#:use-module (gnu packages bash)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages perl)
#:use-module (gnu packages language)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
#:use-module (gnu packages compression)
#:use-module (gnu packages ncurses)
@@ -1094,3 +1097,37 @@ trees (LSM), for sustained throughput under random insert workloads.")
(synopsis "Lightning memory-mapped database library")
(description "Lightning memory-mapped database library.")
(license license:openldap2.8)))
+
+(define-public sqlcipher
+ (package
+ (name "sqlcipher")
+ (version "3.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/sqlcipher/" name
+ "/archive/v" version ".tar.gz"))
+ (sha256
+ (base32 "1l23lbp9pmf20xkshrs45gbg0igixr6dwdbvgfzh5plnyzn05dwr"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("libcrypto" ,openssl)))
+ (native-inputs
+ `(("tcl" ,tcl)))
+ (arguments
+ '(#:configure-flags
+ '("--enable-tempstore=yes"
+ "CFLAGS=-DSQLITE_HAS_CODEC"
+ "LDFLAGS=-lcrypto"
+ "--disable-tcl")
+ ;; tests are un-maintained in this fork
+ #:tests? #f))
+ (home-page "https://www.zetetic.net/sqlcipher/")
+ (synopsis
+ "Library providing transparent encryption of SQLite database files")
+ (description "SQLCipher is an SQLite extension that provides transparent
+256-bit AES encryption of database files. Pages are encrypted before being
+written to disk and are decrypted when read back. It’s well suited for
+protecting embedded application databases and for mobile development.")
+ (license license:bsd-3)))
--
2.10.0
next prev parent reply other threads:[~2016-09-14 19:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 19:30 [PATCH 0/2]: Add qtox Andy Patterson
2016-09-14 19:30 ` Andy Patterson [this message]
2016-09-20 8:42 ` [PATCH 1/2] gnu: Add sqlcipher Efraim Flashner
2016-09-20 21:49 ` Leo Famulari
2016-09-20 23:09 ` Andy Patterson
2016-09-20 23:38 ` Andy Patterson
2016-09-14 19:30 ` [PATCH 2/2] gnu: Add qtox Andy Patterson
2016-09-21 7:47 ` Brendan Tildesley
2016-09-21 8:28 ` Ricardo Wurmus
2016-09-22 3:58 ` [PATCH v2 0/2] " Andy Patterson
2016-09-22 3:58 ` [PATCH v2 1/2] gnu: Add sqlcipher Andy Patterson
2016-09-22 3:58 ` [PATCH v2 2/2] gnu: Add qtox Andy Patterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160914193014.24224-2-ajpatter@uwaterloo.ca \
--to=ajpatter@uwaterloo.ca \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).