[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/14: gnu: Add python-googleapis-common-protos.
From: |
guix-commits |
Subject: |
05/14: gnu: Add python-googleapis-common-protos. |
Date: |
Fri, 20 May 2022 08:45:01 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c63164188fc893c9500c4c953c808d24c12b6894
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 20 13:18:56 2022 +0200
gnu: Add python-googleapis-common-protos.
* gnu/packages/python-web.scm (python-googleapis-common-protos): New
variable.
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 04cf3b5e3c..51e03ed56f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -88,6 +88,7 @@
#:use-module (gnu packages node)
#:use-module (gnu packages openstack)
#:use-module (gnu packages pcre)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
@@ -6752,6 +6753,34 @@ Client Library for Python.")
of the CRC32C hashing algorithm.")
(license license:asl2.0)))
+(define-public python-googleapis-common-protos
+ (package
+ (name "python-googleapis-common-protos")
+ (version "1.56.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "googleapis-common-protos" version))
+ (sha256
+ (base32 "16x1pjc34mrj9w130j40r23ndpykhsqivvk5xfl63ss6qsfyapkb"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #false ;fails for unknown reasons
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest")))))))
+ (propagated-inputs (list python-protobuf))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/googleapis/python-api-common-protos")
+ (synopsis "Common protobufs used in Google APIs")
+ (description "This package contains Python classes generated from the
+common protos in the @code{googleapis/api-common-protos} repository.")
+ (license license:asl2.0)))
+
(define-public python-w3lib
(package
(name "python-w3lib")
- 07/14: gnu: Add python-google-resumable-media., (continued)
- 07/14: gnu: Add python-google-resumable-media., guix-commits, 2022/05/20
- 02/14: gnu: Add python-azure-core., guix-commits, 2022/05/20
- 08/14: gnu: Add python-proto-plus., guix-commits, 2022/05/20
- 13/14: gnu: Add snakemake-6., guix-commits, 2022/05/20
- 12/14: gnu: Add python-smart-open., guix-commits, 2022/05/20
- 03/14: gnu: Add python-azure-storage-blob., guix-commits, 2022/05/20
- 10/14: gnu: Add python-google-cloud-core., guix-commits, 2022/05/20
- 04/14: gnu: Add python-google-crc32c., guix-commits, 2022/05/20
- 14/14: gnu: Add snakemake-7., guix-commits, 2022/05/20
- 11/14: gnu: Add python-google-cloud-storage., guix-commits, 2022/05/20
- 05/14: gnu: Add python-googleapis-common-protos.,
guix-commits <=