guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: Add python-aiosqlite.


From: guix-commits
Subject: 02/05: gnu: Add python-aiosqlite.
Date: Mon, 30 Mar 2020 14:50:55 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit ba0b249dd898712bb59d9dea2fa881a7973e69a1
Author: Lars-Dominik Braun <address@hidden>
AuthorDate: Mon Mar 30 08:32:30 2020 +0200

    gnu: Add python-aiosqlite.
    
    * gnu/packages/databases.scm (python-aiosqlite): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/databases.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 9e60074..4b6c39b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -41,6 +41,7 @@
 ;;; Copyright © 2020 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2020 Nicolò Balzarotti <address@hidden>
 ;;; Copyright © 2020 Tanguy Le Carrour <address@hidden>
+;;; Copyright © 2020 Lars-Dominik Braun <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2716,6 +2717,29 @@ translate the complete SQLite API into Python.")
 (define-public python2-apsw
   (package-with-python2 python-apsw))
 
+(define-public python-aiosqlite
+  (package
+    (name "python-aiosqlite")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "aiosqlite" version))
+       (sha256
+        (base32
+         "1f3zdldp9zgrw6qz5fsp3wa5zw73cjf139pj4vf24ryv895320jg"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-aiounittest" ,python-aiounittest)))
+    (home-page "https://github.com/jreese/aiosqlite";)
+    (synopsis
+     "Asyncio bridge for sqlite3")
+    (description
+     "The package aiosqlite replicates the standard sqlite3 module, but with
+async versions of all the standard connection and cursor methods, and context
+managers for automatically closing connections.")
+    (license license:expat)))
+
 (define-public python2-neo4j-driver
   (package
     (name "python2-neo4j-driver")



reply via email to

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