From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: =?UTF-8?q?=5BPATCH=203/4=5D=20Add=20SQLite=2E?= Date: Fri, 25 Jan 2013 20:42:51 +0100 Message-ID: <1359142972-32585-4-git-send-email-tipecaml@gmail.com> References: <1359142972-32585-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TypLP-0002lw-Ug for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TypLL-00043h-7D for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:47 -0500 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:51635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TypLL-00043P-1C for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:43 -0500 Received: by mail-we0-f173.google.com with SMTP id r5so360832wey.32 for ; Fri, 25 Jan 2013 11:53:41 -0800 (PST) In-Reply-To: <1359142972-32585-1-git-send-email-tipecaml@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org * 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 +;;; +;;; 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 . + +(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