unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: BonfaceKilz <me@bonfacemunyoki.com>
To: 48296@debbugs.gnu.org
Cc: BonfaceKilz <me@bonfacemunyoki.com>
Subject: [bug#48296] [PATCH 1/1] gnu: Add python-sqlalchemy-stubs.
Date: Sat,  8 May 2021 23:41:24 +0300	[thread overview]
Message-ID: <20210508204124.38500-2-me@bonfacemunyoki.com> (raw)
In-Reply-To: <20210508204124.38500-1-me@bonfacemunyoki.com>

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

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 2777293200..54cf394d17 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
 ;;; Copyright © 2021 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -114,6 +115,7 @@
   #:use-module (gnu packages popt)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-web)
@@ -2926,6 +2928,30 @@ simple and Pythonic domain language.")
 (define-public python2-sqlalchemy
   (package-with-python2 python-sqlalchemy))
 
+(define-public python-sqlalchemy-stubs
+  (package
+    (name "python-sqlalchemy-stubs")
+    (version "0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sqlalchemy-stubs" version))
+       (sha256
+        (base32
+         "1bppjmv7v7m0q8gwg791pgxbx4ay7mna0zq204pn9vw28kfxcrf6"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-mypy" ,python-mypy)
+       ("python-typing-extensions"
+        ,python-typing-extensions)))
+    (home-page
+     "https://github.com/dropbox/sqlalchemy-stubs")
+    (synopsis "SQLAlchemy stubs and mypy plugin")
+    (description "This package contains type stubs and a mypy plugin to
+provide more precise static types and type inference for SQLAlchemy
+framework.")
+    (license license:expat)))
+
 (define-public python-sqlalchemy-utils
   (package
     (name "python-sqlalchemy-utils")
-- 
2.31.1





  reply	other threads:[~2021-05-08 20:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08 20:41 [bug#48295] [PATCH 0/1] gnu: Add python-sqlalchemy-stubs BonfaceKilz
2021-05-08 20:41 ` BonfaceKilz [this message]
2021-05-09 10:48   ` [bug#48296] [PATCH 1/1] " Arun Isaac
2021-05-10  9:38     ` Bonface Munyoki K.
2021-05-12 10:46       ` bug#48296: " Arun Isaac
2021-05-12 13:47         ` [bug#48296] " Bonface Munyoki K.
2021-05-15  7:48           ` Arun Isaac
2021-05-17  7:02             ` Bonface Munyoki K.
2021-05-09 10:44 ` bug#48295: [PATCH 0/1] " Arun Isaac

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=20210508204124.38500-2-me@bonfacemunyoki.com \
    --to=me@bonfacemunyoki.com \
    --cc=48296@debbugs.gnu.org \
    /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).