[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add sqlite-3.15.1.
From: |
Marius Bakke |
Subject: |
02/03: gnu: Add sqlite-3.15.1. |
Date: |
Sun, 20 Nov 2016 17:02:52 +0000 (UTC) |
mbakke pushed a commit to branch master
in repository guix.
commit b28a33512f5762d63f76915a5b3e5dae82c1f4b8
Author: Marius Bakke <address@hidden>
Date: Thu Nov 17 18:53:10 2016 +0100
gnu: Add sqlite-3.15.1.
* gnu/packages/databases.scm (sqlite-3.15.1): New variable.
---
gnu/packages/databases.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index ab9c6d6..d6746f0 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")