summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-11-17 18:53:10 +0100
committerMarius Bakke <mbakke@fastmail.com>2016-11-20 17:46:32 +0100
commitb28a33512f5762d63f76915a5b3e5dae82c1f4b8 (patch)
treeaaae6e587522a361bec135bbd699f700a95d936a
parent43ffe220c87a8be28ec340e4a169d00f4b26905c (diff)
downloadpatches-b28a33512f5762d63f76915a5b3e5dae82c1f4b8.tar
patches-b28a33512f5762d63f76915a5b3e5dae82c1f4b8.tar.gz
gnu: Add sqlite-3.15.1.
* gnu/packages/databases.scm (sqlite-3.15.1): New variable.
-rw-r--r--gnu/packages/databases.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ab9c6d6ba6..d6746f092f 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -558,6 +558,26 @@ widely deployed SQL database engine in the world. The source code for SQLite
is in the public domain.")
(license public-domain)))
+(define-public sqlite-3.15.1
+ (package (inherit sqlite)
+ (version "3.15.1")
+ (source (origin
+ (method url-fetch)
+ (uri (let ((numeric-version
+ (match (string-split version #\.)
+ ((first-digit other-digits ...)
+ (string-append first-digit
+ (string-pad-right
+ (string-concatenate
+ (map (cut string-pad <> 2 #\0)
+ other-digits))
+ 6 #\0))))))
+ (string-append "https://sqlite.org/2016/sqlite-autoconf-"
+ numeric-version ".tar.gz")))
+ (sha256
+ (base32
+ "1ig2d9jzzixiifmgqsl6kjcvy17jwxby3s24gfnc5qvyd6vqkyjx"))))))
+
(define-public tdb
(package
(name "tdb")