summaryrefslogtreecommitdiff
path: root/gnu/packages/protobuf.scm
AgeCommit message (Collapse)Author
2026-03-20gnu: Reference the inherited ‘arguments’ value.Ludovic Courtès
This commit was made by running this command: sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm … and then: 1. reverting changes from ‘gnu/packages/rust.scm’ and ‘gnu/packages/java.scm’ since they would incur derivation changes and/or breakage; 2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’; 3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’, which use ‘substitute-keyword-arguments’ for arguments that are not inherited (and thus ‘arguments’ would be unbound); 4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’ which make bogus assumptions about inherited arguments. Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-07gnu: python-protobuf: Remove unused input.Danny Milosavljevic
* gnu/packages/protobuf.scm (python-protobuf)[inputs]: Remove protobuf-3.20. Change-Id: If2c9c7c8eafed5ad6fcbd4e4a9c1e6f5e956089a
2026-03-07gnu: Add protobuf-static-for-onnxruntime.Danny Milosavljevic
* gnu/packages/protobuf.scm (protobuf-static-for-onnxruntime): New variable. Change-Id: I641eda7de77e6e56cde3bab5d35daefce246ef9e
2026-02-28gnu: protobuf: Drop static output.Cayetano Santos
There is no benefit in terms of size on keeping a separate output. * gnu/packages/protobuf.scm (protobuf)[outputs]: Delete ’static. [arguments]: Delete ’move-static-libraries #:phase. Merges guix/guix!6733 Change-Id: I33b1390175ae6c9b3ad0d4ed62cc49c91c941e81
2026-01-25gnu: python-pydantic-2: Deprecate by python-pydantic.Sharlatan Hellseher
* gnu/packages/python-xyz.scm (python-pydantic-2): Deprecate variable. * gnu/packages/astronomy.scm (python-czml3, python-edps, python-hvpy): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/cybersecurity.scm (gallia): [inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/databases.scm (python-prisma)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. (python-tortoise-orm, aerich)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/django.scm (python-django-ninja)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/finance.scm (python-schwifty)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/games.scm (tuxemon)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/machine-learning.scm (python-spacy, python-thinc): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/maths.scm (python-libensemble)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/protobuf.scm (python-pure-protobuf)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-check.scm (python-inline-snapshot)[native-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-science.scm (python-iminuit):[native-inputs]: Remove python-pydantic-2; add python-pydantic. (python-pandera, python-vaex-core)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-web.scm: (python-cloudpathlib, python-huggingface-hub): [native-inputs]: Remove python-pydantic-2; add python-pydantic. (python-aws-sam-translator, python-weasel, python-openai, python-fastapi, python-fastapi-csrf-protect, python-fastapi-pagination-minimal, python-fastapi-pagination): [propagated-inputs]: Remove python-pydantic-2; add python-pydantic. * gnu/packages/python-xyz.scm: (python-safety-schemas, python-pytoolconfig, python-pydantic-cli, python-pydantic-settings, python-confection, python-safety)[propagated-inputs]: Remove python-pydantic-2; add python-pydantic. (python-deepdiff, python-lief)[native-inputs]: Remove python-pydantic-2; add python-pydantic. Change-Id: I20842162ae8a6c0abd54e4ef1fc676f928541184 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-10-26gnu: python-pure-protobuf: Update to 3.1.5.Sharlatan Hellseher
* gnu/packages/protobuf.scm (python-pure-protobuf): Update to 3.1.5. [build-system]: Switch to pyproject-build-system. [arguments] <build-backend>: Use "poetry.core.masonry.api". [native-inputs]: Remove python-flake8 and python-isort; add python-poetry-core, python-poetry-dynamic-versioning, python-pydantic-2, and python-pytest-benchmark. Change-Id: Ie43a664a862377629c05a0dc921d06495b1d1b4c
2025-10-26gnu: python-proto-plus: Update to 1.26.1.Sharlatan Hellseher
* gnu/packages/protobuf.scm (python-proto-plus): Update to 1.26.1. [build-system]: Switch to pyproject-build-system. [arguments] <test-flags>: Skip one test. [native-inputs]: Add python-pytest, python-pytz, and python-setuptools. Change-Id: Ib2920538afc6d412e4b83efc81d6ff5663b57263
2025-10-26gnu: python-protobuf: Switch to pyproject.Sharlatan Hellseher
* gnu/packages/protobuf.scm (python-protobuf)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. Change-Id: Ia3cc2b575f81bcf03638db899b13dec1757ec3c8
2025-10-13gnu: python-nanopb: Switch to pyproject.Sharlatan Hellseher
* gnu/packages/protobuf.scm (python-nanopb)[build-system]: Switch to pyproject-build-system. [arguments] <phases>: Add 'use-poetry-core, and 'pre-build; use default 'build and 'install. [native-inputs]: Remove poetry, and python-pypa-build; add python-poetry-core, and python-setuptools. Change-Id: I67f57a7d4d89c69faca2be689f07a42a61c8d4fb
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-09-15gnu: Remove protobuf-c-for-aiscm.Andreas Enge
* gnu/packages/protobuf.scm (protobuf-c-for-aiscm): Delete variable. Change-Id: Ibd1b0d5317c73a7eaa47bf219e9517e3cd8ba287
2025-09-15gnu: Remove python-protobuf-3.6.Andreas Enge
* gnu/packages/protobuf.scm (python-protobuf-3.6): Delete variable. Change-Id: Ib40a39d971da11a4612019790e3e16d1fdb73987
2025-09-03gnu: Add python-protobuf-6.Cayetano Santos
* gnu/packages/protobuf.scm (python-protobuf-6): New variable. Change-Id: I9bc3eaf6b644719a983458e37a44e0e6bc55d71f Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-09-03gnu: Add protobuf-6.Cayetano Santos
* gnu/packages/protobuf.scm (protobuf-6): New variable. Change-Id: I5e36b8a7f45e2ff963ba3ae2f990c5b000e924c1 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2025-09-03gnu: Remove protobuf-3.5.Andreas Enge
* gnu/packages/protobuf.scm (protobuf-3.5): Delete variable. Fixes: guix/guix#1776 Change-Id: I4b938aa62ba402f4342de4f5db047106d028dac6
2025-08-06gnu: Add python-protobuf-4.Nicolas Graves
* gnu/packages/protobuf.scm (python-protobuf-4): New variable. Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-06-20gnu: ruby: Populating (gnu packages ruby-check/ruby-xyz).Nicolas Graves
* gnu/packages/ruby.scm: Move all packages except different versions of ruby and mruby, to either (gnu packages ruby-check) or (gnu packages ruby-xyz). * gnu/packages/ruby-check.scm (bundler, ruby-builder, ruby-cucumber-ci-environment, ruby-cucumber-compatibility-kit, ruby-cucumber-compatibility-kit-bootstrap, ruby-cucumber-core, ruby-cucumber-expressions, ruby-cucumber-gherkin, ruby-cucumber-html-formatter, ruby-cucumber-messages, ruby-cucumber-tag-expressions, ruby-cucumber-wire, ruby-diff-lcs, ruby-docile, ruby-fivemat, ruby-given-core, ruby-hoe, ruby-hoe-3, ruby-json, ruby-mime-types, ruby-mime-types-data, ruby-mini-portile, ruby-mini-portile-2, ruby-minitest, ruby-minitest-bonus-assertions, ruby-minitest-focus, ruby-minitest-hooks, ruby-minitest-moar, ruby-multi-test, ruby-rake, ruby-rake-compiler, ruby-rake-compiler-dock, ruby-rspec, ruby-rspec-2, ruby-rspec-core, ruby-rspec-core-2, ruby-rspec-expectations, ruby-rspec-expectations-2, ruby-rspec-mocks, ruby-rspec-mocks-2, ruby-rspec-support, ruby-sequel, ruby-simplecov-json-formatter, ruby-simplecov, ruby-simplecov-html, ruby-sorcerer, ruby-unindent): Moved from (gnu packages ruby). (ruby-asciidoctor/minimal): New variable, to allow more minimal import of only (gnu packages ruby-check) in a lot of modules. (ruby-rubocop/minimal): New variable to build cucumber with a lot less dependencies. (cucumber-ruby-core)[native-inputs]: Replace ruby-rubocop by ruby-rubocop/minimal. Remove ruby-coveralls. * gnu/packages/ruby-xyz.scm: Move all other packages from (gnu packages ruby). * gnu/packages/admin.scm * gnu/packages/bioinformatics.scm * gnu/packages/databases.scm * gnu/packages/emacs-xyz.scm * gnu/packages/gnome-xyz.scm * gnu/packages/gnome.scm * gnu/packages/groff.scm * gnu/packages/kde-systemtools.scm * gnu/packages/libffi.scm * gnu/packages/mail.scm * gnu/packages/maths.scm * gnu/packages/mpd.scm * gnu/packages/ntp.scm * gnu/packages/package-management.scm * gnu/packages/plotutils.scm * gnu/packages/protobuf.scm * gnu/packages/rails.scm * gnu/packages/ruby-check.scm * gnu/packages/ruby-xyz.scm * gnu/packages/ruby.scm * gnu/packages/shellutils.scm * gnu/packages/statistics.scm * gnu/packages/tex.scm * gnu/packages/virtualization.scm: Adapt module imports accordingly. * gnu/packages/backup.scm (btrbk): * gnu/packages/ccache.scm (ccache): * gnu/packages/cluster.scm (drbd-utils): * gnu/packages/compton.scm (picom): * gnu/packages/cryptsetup.scm (cryptsetup): * gnu/packages/engineering.scm (kicad-doc): * gnu/packages/games.scm (warzone2100): * gnu/packages/irc.scm (open-adventure): * gnu/packages/ntp.scm (weechat): * gnu/packages/password-utils.scm (keepassxc): * gnu/packages/radio.scm (wsjtx, jtdx): * gnu/packages/syndication.scm (newsboat): * gnu/packages/task-management.scm (timewarrior): * gnu/packages/version-control.scm (git-lfs): [native-inputs]: Replace ruby-asciidoctor by ruby-asciidoctor/minimal. Adapt module imports accordingly. * gnu/packages/text-editors.scm: Remove (gnu packages ruby) import. Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-06-20gnu: ruby-protobuf: Update to 3.10.9.Nicolas Graves
* gnu/packages/protobuf.scm (ruby-protobuf): Update to 3.10.9. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-15gnu: emacs-protobuf-mode: Use '#:lisp-directory'.Morgan Smith
* gnu/packages/protobuf.scm (emacs-protobuf-mode): Use '#:lisp-directory'. Change-Id: If9b39106954fa66b64ef333def79989a61ac0e68 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-04-16gnu: python-protobuf: Update to 3.20.3.Ricardo Wurmus
* 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
2025-04-16gnu: protobuf: Update to 3.20.3.Ricardo Wurmus
* gnu/packages/protobuf.scm (protobuf): Update to 3.20.3. Change-Id: I451913a3f379f7bad1f6cea56fb6b028627984bb
2024-12-13gnu: python-protobuf-5: Update to 5.28.3.Sharlatan Hellseher
* gnu/packages/protobuf.scm (python-protobuf-5): Update to 5.28.3. [arguments]<phases>: Remove redundant custom 'check. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Icaa373287055ed4e170b5556f721018b910369c0
2024-12-13build-system/pyproject: Use python-sans-pip-wrapper as default-python.Lars-Dominik Braun
Also adds python-setuptools and python-wheel to relevant packages, either to native-inputs or to propagated inputs if the pkg_resources Python module is loaded at runtime. * guix/build-system/pyproject.scm (default-python): Default to python-sans-pip-wrapper. Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-11-25gnu: Add python-protobuf-5.Morgan Smith
* gnu/packages/protobuf.scm (python-protobuf-5): New variable. Change-Id: Ic181a92bc0e3eb66adf535d98b192cbb006028ad Signed-off-by: Luca Matei Pintilie <luca@lucamatei.com> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-23gnu: protobuf-c: Fix cross-compilation.Zheng Junjie
* gnu/packages/protobuf.scm (protobuf-c): Fix cross-compilation. [native-inputs]: When cross-compilation, add protobuf. [arguments]<#:configure-flags>: When cross-compilation, Set PROTOC variable. Change-Id: Idd660f526b7c90277cb4399997cdb7ce72e4f1c5 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-01-01gnu: python-protobuf: Update to 3.20.2.Ricardo Wurmus
* gnu/packages/protobuf.scm (python-protobuf): Update to 3.20.2. Change-Id: Ic7a0f199f522ebf1e62e9179b4a7e4223594299c
2023-11-25gnu: protobuf: Fix cross-compilation.Zheng Junjie
* gnu/packages/protobuf.scm (protobuf): Fix cross-compilation. [native-inputs]: When cross-compiling, add this-package. [inputs]: Add googletest. Change-Id: Id7d3a8be9d4211249c0adc3a99a7a07206f9c495 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-07-10gnu: ruby-protobuf: Fix build.Christopher Baines
* gnu/packages/protobuf.scm (ruby-protobuf)[arguments]: Update style. [native-inputs]: Remove ruby-pry-byebug.
2023-05-05gnu: Add protobuf-3.20.Ricardo Wurmus
* gnu/packages/protobuf.scm (protobuf-3.20): New variable.
2023-04-21gnu: python-protobuf-3.6: Patch for Python 3.10.Ricardo Wurmus
* gnu/packages/protobuf.scm (python-protobuf-3.6)[arguments]: Patch collections import. [native-inputs]: Add python-setuptools-for-tensorflow.
2023-04-19gnu: Remove python-typing-extensions-next.Maxim Cournoyer
* gnu/packages/python-xyz.scm (python-typing-extensions-next): Delete variable.
2023-03-28gnu: ruby-protobuf: Update to 3.10.3.Maxim Cournoyer
* gnu/packages/protobuf.scm (ruby-protobuf): Update to 3.10.3. Delete trailing #t. [arguments]: Use search-input-file in patch-protoc phase. Honor #:tests? in check phase.
2023-03-28gnu: ruby-activesupport: Update to 7.0.4.3.Maxim Cournoyer
* gnu/packages/ruby.scm (ruby-activesupport): Move to... * gnu/packages/rails.scm (ruby-activesupport): ... here. (%ruby-rails-version, ruby-rails-monorepo): New variables. (ruby-activesupport): Update to 7.0.4.3. [arguments]: Use gexps. Add the delete-gemfiles, chdir, check-setup and delete-problematic-tests phases. Delete check phase override. [native-inputs]: New field. [propagated-inputs]: Remove ruby-zeitwerk. Replace ruby-minitest with ruby-minitest-5.15. [home-page]: Update URL.
2023-03-28gnu: Remove ruby-protobuf-cucumber.Maxim Cournoyer
The package is no longer used by ruby-cucumber-messages, its sole user. It is unmaintained. * gnu/packages/protobuf.scm (ruby-protobuf-cucumber): Delete variable.
2022-12-04gnu: python-protobuf@3.6: Fix inputs and arguments.Ludovic Courtès
Fixes a regression introduced in 9b016e29912b11f52e67e59b211fa016d88fea4a, whereby the 'inputs' field would be invalid, plus "--cpp_implementation" wouldn't work. * gnu/packages/protobuf.scm (python-protobuf-3.6)[arguments]: New field. [inputs]: No longer refer to the inputs of PYTHON-PROTOBUF.
2022-12-02gnu: python-protobuf: Use C++ implementation.Ontje Lünsdorf
* gnu/packages/protobuf.scm (python-protobuf): Use C++ implementation. [inputs]: Add protobuf. [arguments]: Add --cpp_implementation configure flags. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-22gnu: protobuf@3.5: Inherit from protobuf@3.6.Marius Bakke
* gnu/packages/protobuf.scm (protobuf-3.5): Change inheritance, so it gets the correct build system and phases.
2022-11-20gnu: protobuf@2: Fix build.Marius Bakke
* gnu/packages/protobuf.scm (protobuf-2)[build-system]: Set to GNU-BUILD-SYSTEM. [arguments]: Clear. [outputs]: Remove "static".
2022-11-14gnu: protobuf-2: Use gexp in arguments.Christopher Baines
This fixes the breakage introduced when the protobuf package switched to using gexp's in the arguments. The package doesn't build, but at least the builder is now deterministic and valid Guile. * gnu/packages/protobuf.scm (protobuf-2)[arguments]: Adapt to use gexp's.
2022-11-11gnu: Add protobuf-c-for-aiscm.Ricardo Wurmus
* gnu/packages/protobuf.scm (protobuf-c-for-aiscm): New variable.
2022-11-06gnu: protobuf-c: Update to 1.4.1.Maxim Cournoyer
* gnu/packages/protobuf.scm (protobuf-c): Update to 1.4.1.
2022-11-06gnu: protobuf: Unbundle googletest.Maxim Cournoyer
* gnu/packages/protobuf.scm (protobuf) [origin]: Delete third_party directory in snippet. [configure-flags]: Add "-Dprotobuf_USE_EXTERNAL_GTEST=ON". [native-inputs]: Add googletest.
2022-11-06gnu: protobuf: Update to 3.21.9.Maxim Cournoyer
* gnu/packages/protobuf.scm (protobuf): Update to 3.21.9. Move outputs field before build system. Move inputs field below arguments. [source]: Apply patch and update URL. [build-system]: Use cmake-build-system. This causes the CMake support files to be installed, which is expected by some packages such as hyperledger-iroha. [arguments]: Use gexps. [configure-flags]: Add BUILD_SHARED_LIBS=ON. [phases]: Add set-c++-standard. [home-page]: Update URL. (protobuf-3.6): Adjust to continue using the gnu-build-system. * gnu/packages/patches/protobuf-fix-build-on-32bit.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it.
2022-10-27gnu: python-mypy-protobuf: Switch to pyproject-build-system.Marius Bakke
* gnu/packages/protobuf.scm (python-mypy-protobuf)[build-system]: Switch to PYPROJECT-BUILD-SYSTEM. [arguments]: Remove redundant phases. [native-inputs]: Remove PYTHON-PYPA-BUILD.
2022-08-31gnu: Add python-mypy-protobuf.Maxim Cournoyer
* gnu/packages/protobuf.scm (python-mypy-protobuf): New variable.
2022-08-31gnu: Add python-nanopb.Maxim Cournoyer
* gnu/packages/protobuf.scm (python-nanopb): New variable.
2022-08-31gnu: Add nanopb.Maxim Cournoyer
* gnu/packages/protobuf.scm (nanopb): New variable.
2022-07-24gnu: fstrm: Refer to HPND licence by name.Tobias Geerinckx-Rice
* gnu/packages/protobuf.scm (fstrm)[license]: Use license:hpnd directly.