Fixes a regression introduced in
9b016e2991, 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.
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.
* 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.
* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Use
emacs-expand-load-path instead of emacs-add-source-to-load-path.
* gnu/packages/erlang.scm (emacs-erlang)[#:phases]: Use expand-load-path
instead of add-source-to-load-path.
* gnu/packages/protobuf.scm (emacs-protobuf-mode)[#:phases]: Use
expand-load-path instead of add-source-to-load-path.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap. Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
* gnu/packages/python-xyz.scm (python-pep517): Inherit from
python-pep517-bootstrap. Remove the inherited common fields.
(python-poetry-core, python-wheel)
(python-toml): Move to ...
* gnu/packages/python-build.scm: ... here, a new module.
(python-pep517-bootstrap): New package.
* gnu/local.mk (GNU_SYSTEM_MODULES): Register the new module.
This is a follow up commit to e1d31e6457.
* gnu/packages/protobuf.scm (emacs-protobuf-mode): Add the
change-working-directory phase before the add-source-to-load-path phase
instead of before the set-emacs-load-path phase.