~ruther/guix-local

b0faa68d520ef0de1e8dac897721469b3a85e913 — Ricardo Wurmus 1 year, 5 months ago 0c7debd
gnu: python-protobuf: Update to 3.20.3.

* gnu/packages/protobuf.scm (python-protobuf): Update to 3.20.3.
[inputs]: Use protobuf-3.20.
[arguments]: Do not use C++ implementation.

Change-Id: I21d140ce2959b009026847b1ad73c15dfa23fd91
1 files changed, 6 insertions(+), 9 deletions(-)

M gnu/packages/protobuf.scm
M gnu/packages/protobuf.scm => gnu/packages/protobuf.scm +6 -9
@@ 2,7 2,7 @@
;;; Copyright © 2014, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017-2019, 2022-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>


@@ 467,21 467,18 @@ mechanism for serializing structured data.")
(define-public python-protobuf
  (package
    (name "python-protobuf")
    (version "3.20.2")
    (version "3.20.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "protobuf" version))
       (sha256
        (base32
         "0l0p2lczs5iahgkhzm3298pjl49bk9iiwngkglg7ll7fkqqwlbbi"))))
         "1wh5f4rnzbv46xy1rx62cprhg5hqf2py06s9b7rfpzwwki12fd1f"))))
    (build-system python-build-system)
    (inputs (list protobuf))
    (arguments
     `(;; Favor C++ implementation from protobuf over the native Python
       ;; implementation. The additional dependency yields significant
       ;; performance improvements for some workloads.
       #:configure-flags '("--cpp_implementation")))
    ;; The C++ implementation is not compatible with Python 3.11, so we cannot
    ;; pass --cpp_implementation any more.
    (inputs (list protobuf-3.20))
    (home-page "https://github.com/google/protobuf")
    (synopsis "Protocol buffers is a data interchange format")
    (description