diff options
Diffstat (limited to 'gnu/packages/protobuf.scm')
-rw-r--r-- | gnu/packages/protobuf.scm | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm index b8679eff25..d4b48e585b 100644 --- a/gnu/packages/protobuf.scm +++ b/gnu/packages/protobuf.scm @@ -395,7 +395,9 @@ any memory-restricted system.") (list python-grpc-stubs python-grpcio-tools python-pytest - python-typing-extensions)) + python-typing-extensions + python-setuptools + python-wheel)) (propagated-inputs (list protobuf python-protobuf @@ -436,6 +438,32 @@ from protobuf specification files.") (propagated-inputs (list python-protobuf)) (synopsis "Small code-size Protocol Buffers implementation in Python"))) +(define-public python-protobuf-5 + (package + (name "python-protobuf") + (version "5.28.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "protobuf" version)) + (sha256 + (base32 + "0yzg3i40p7rbr51xr72avpvn72yin5xcxybkyc0y99c0j72dpfk4")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ; no tests provided for Python variant + (native-inputs + (list python-setuptools + python-wheel)) + (inputs (list protobuf)) + (home-page "https://github.com/protocolbuffers/protobuf") + (synopsis "Protocol buffers is a data interchange format") + (description + "Protocol buffers are a language-neutral, platform-neutral extensible +mechanism for serializing structured data.") + (license license:bsd-3))) + (define-public python-protobuf (package (name "python-protobuf") |