bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/4] Add SQLite.


From: Cyril Roelandt
Subject: [PATCH 3/4] Add SQLite.
Date: Fri, 25 Jan 2013 20:42:51 +0100

* gnu/packages/sqlite.scm: New file.
* Makefile.am (MODULES): Add it.
---
 Makefile.am             |    1 +
 gnu/packages/sqlite.scm |   49 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 gnu/packages/sqlite.scm

diff --git a/Makefile.am b/Makefile.am
index bccb5ec..1105183 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -123,6 +123,7 @@ MODULES =                                   \
   gnu/packages/scheme.scm                      \
   gnu/packages/screen.scm                      \
   gnu/packages/shishi.scm                      \
+  gnu/packages/sqlite.scm                      \
   gnu/packages/system.scm                      \
   gnu/packages/tcl.scm                         \
   gnu/packages/texinfo.scm                     \
diff --git a/gnu/packages/sqlite.scm b/gnu/packages/sqlite.scm
new file mode 100644
index 0000000..3d5ec21
--- /dev/null
+++ b/gnu/packages/sqlite.scm
@@ -0,0 +1,49 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Cyril Roelandt <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages sqlite)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages))
+
+(define-public sqlite
+  (package
+   (name "sqlite")
+   (version "3.7.15.2")
+   (source (origin
+            (method url-fetch)
+            ;; TODO: Download from sqlite.org once this bug :
+            ;; 
http://lists.gnu.org/archive/html/bug-guile/2013-01/msg00027.html
+            ;; has been fixed.
+            (uri (string-append
+                  
"http://downloads.sourceforge.net/project/sqlite.mirror/SQLite%20";
+                  version "/sqlite-autoconf-3071502.tar.gz"))
+            (sha256
+             (base32
+              "135s6r5z12q56brywpxnraqbqm7bdkxs76v7dygqgjpnjyvicbbq"))))
+   (build-system gnu-build-system)
+   (home-page "http://www.sqlite.org/";)
+   (synopsis "The SQLite database management system")
+   (description
+    "SQLite is a software library that implements a self-contained, serverless,
+zero-configuration, transactional SQL database engine. SQLite is the most
+widely deployed SQL database engine in the world. The source code for SQLite is
+in the public domain.")
+   (license public-domain)))
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]