unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 51148@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>, jgart <jgart@dismail.de>
Subject: [bug#51148] [PATCH] gnu: Add python-tinydb.
Date: Thu, 11 Nov 2021 11:31:52 -0500	[thread overview]
Message-ID: <20211111163151.13310-1-jgart@dismail.de> (raw)
In-Reply-To: <20211012054449.16935-1-jgart@dismail.de>

Hi Vinicius,

Attached are the changes you requested.

Thanks for the code review.

It's much appreciated!

* gnu/packages/databases.scm (python-tinydb): New variable.
---
 gnu/packages/databases.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 92a7aa2761..2495ad8a28 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4072,6 +4072,29 @@ (define-public freetds
 connecting to MS SQL and Sybase servers over TCP/IP.")
     (license license:lgpl2.0+)))
 
+(define-public python-tinydb
+  (package
+    (name "python-tinydb")
+    (version "4.5.2")
+    (source (origin
+      (method url-fetch)
+      (uri (pypi-uri "tinydb" version))
+      (sha256
+       (base32 "1x9c4s42930wwal3ds0plwb57kg5c3gj7kbpy64c29vq478b463x"))))
+    (build-system python-build-system)
+    ;; PyPi tarball does not contain tests and github repository does not
+    ;; have a setup.py file (only pyproject).
+    (arguments `(#:tests? #f))
+    (propagated-inputs
+      `(("python-typing-extensions" ,python-typing-extensions)))
+    (home-page "https://github.com/msiemens/tinydb")
+    (synopsis "TinyDB is a lightweight document oriented database")
+    (description
+"TinyDB is a small document oriented database written in pure Python
+with no external dependencies.  The targets are small apps that would
+be blown away by a SQL-DB or an external database server.")
+    (license license:expat)))
+
 (define-public sequeler
   (package
     (name "sequeler")
-- 
2.33.1





  parent reply	other threads:[~2021-11-11 16:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12  5:44 [bug#51148] [PATCH] gnu: Add python-tinydb jgart via Guix-patches via
2021-11-11  5:24 ` Vinicius Monego
2021-11-11  5:26 ` Vinicius Monego
2021-11-11 16:31 ` jgart via Guix-patches via [this message]
2021-11-12  3:45 ` [bug#51148] [PATCH v3] " jgart via Guix-patches via
2021-11-23  8:22   ` bug#51148: [PATCH] " Ludovic Courtès
2021-11-23  8:37     ` [bug#51148] " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211111163151.13310-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=51148@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=monego@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).