From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 56028@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#56028] [PATCH] gnu: Add python-pydantic-cli.
Date: Thu, 16 Jun 2022 16:43:19 -0500 [thread overview]
Message-ID: <20220616214319.29956-1-jgart@dismail.de> (raw)
* gnu/packages/python-xyz.scm (python-pydantic-cli): New variable.
---
gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63a3eb2a80..394c54a986 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5018,6 +5018,30 @@ (define-public python-pydantic
errors when data is invalid.")
(license license:expat)))
+(define-public python-pydantic-cli
+ (package
+ (name "python-pydantic-cli")
+ (version "4.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pydantic_cli" version))
+ (sha256
+ (base32 "1068zki5fvdm2lhqfqhjf325kmr8v5qiwadcl5b5dy84xzhs8hvf"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-pydantic))
+ (native-inputs
+ (list python-black
+ python-mypy
+ python-pytest))
+ (home-page "http://github.com/mpkocher/pydantic-cli")
+ (synopsis "Turn Pydantic defined Data Models into CLI Tools")
+ (description
+"Turn @code{python-pydantic} defined data models into CLI Tools and
+enable loading values from JSON files.")
+ (license license:expat)))
+
(define-public python-pydocstyle
(package
(name "python-pydocstyle")
--
2.36.1
next reply other threads:[~2022-06-16 21:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 21:43 jgart via Guix-patches via [this message]
2022-07-07 21:12 ` bug#56028: [PATCH] gnu: Add python-pydantic-cli Maxim Cournoyer
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=20220616214319.29956-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=56028@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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).