guix-patches
[Top][All Lists]
Advanced

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

[bug#30884] [PATCH 5/6] gnu: Add emacs-closql.


From: Oleg Pykhalov
Subject: [bug#30884] [PATCH 5/6] gnu: Add emacs-closql.
Date: Tue, 20 Mar 2018 19:33:09 +0300

* 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






reply via email to

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