[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-pydantic-cli.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-pydantic-cli. |
Date: |
Thu, 07 Jul 2022 17:11:49 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 08efb331d0 gnu: Add python-pydantic-cli.
08efb331d0 is described below
commit 08efb331d0ea086527effb868700a8c6804eebf1
Author: jgart <jgart@dismail.de>
AuthorDate: Thu Jun 16 16:43:19 2022 -0500
gnu: Add python-pydantic-cli.
* gnu/packages/python-xyz.scm (python-pydantic-cli): New variable.
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b19d4ee28..d45ce658f2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5107,6 +5107,34 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom
formats.")
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 git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/mpkocher/pydantic-cli";)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1v4dx6n60rbsan5zpw2rgdih7lb3h0xclagn1p6zfwl0r9l9cvym"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-pydantic))
+ (native-inputs
+ (list python-black
+ python-mypy
+ python-pytest))
+ (home-page "https://github.com/mpkocher/pydantic-cli";)
+ (synopsis "Turn Pydantic defined data models into CLI tools")
+ (description
+ "@code{python-pydantic} enables specifying @acronym{CLI, Command Line
+Interfaces} via data models provided in the JSON format.")
+ (license license:expat)))
+
(define-public python-pydocstyle
(package
(name "python-pydocstyle")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-pydantic-cli.,
guix-commits <=