From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyKD9-0001x0-Ao for guix-patches@gnu.org; Tue, 20 Mar 2018 12:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyKD6-0001s5-2h for guix-patches@gnu.org; Tue, 20 Mar 2018 12:34:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyKD5-0001rx-VK for guix-patches@gnu.org; Tue, 20 Mar 2018 12:34:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyKD5-0006JY-PG for guix-patches@gnu.org; Tue, 20 Mar 2018 12:34:03 -0400 Subject: [bug#30884] [PATCH 5/6] gnu: Add emacs-closql. Resent-Message-ID: From: Oleg Pykhalov Date: Tue, 20 Mar 2018 19:33:09 +0300 Message-Id: <20180320163310.11955-5-go.wigust@gmail.com> In-Reply-To: <20180320163310.11955-1-go.wigust@gmail.com> References: <20180320163310.11955-1-go.wigust@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30884@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-closql): New public variable. --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 83deb256f..0ade89d9f 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7572,3 +7572,28 @@ object has been freed.") (description "EmacSQL provides a high-level Emacs Lisp front-end for SQLite (primarily), PostgreSQL, MySQL, and potentially other SQL databases.") (license license:gpl3+))) + +(define-public emacs-closql + (package + (name "emacs-closql") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/emacscollective/closql/archive/" + "v" version ".tar.gz")) + (sha256 + (base32 + "0wa6r0kgbb7f19039p5f3di4dvrvxfgpd8bkam94fca7jvzj536c")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-emacsql" ,emacs-emacsql))) + (home-page "https://github.com/emacscollective/closql") + (synopsis "store EIEIO objects using EmacSQL") + (description + "This package allows to store uniform EIEIO objects in an EmacSQL +database. SQLite is used as backend. This library imposes some restrictions +on what kind of objects can be stored; it isn't intended to store arbitrary +objects. All objects have to share a common superclass and subclasses cannot +add any additional instance slots.") + (license license:gpl3))) -- 2.16.2