summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-12-04 00:33:13 +0100
committerLudovic Courtès <ludo@gnu.org>2022-12-04 00:36:22 +0100
commitbf46192d4c7c4cd8d71edb8ace2cdf86322aafe7 (patch)
tree6e673c1ccec2798fb5f080a7ef54865d374f5d1c
parentc3713d53e0bdf1186e08880b9e0ae6dd85f55fc4 (diff)
downloadguix-bf46192d4c7c4cd8d71edb8ace2cdf86322aafe7.tar.gz
gnu: python-protobuf@3.6: Fix inputs and arguments.
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.
-rw-r--r--gnu/packages/protobuf.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index ab701b254d..b580f8b2a7 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
+;;; 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 Ricardo Wurmus <rekado@elephly.net>
@@ -468,9 +468,8 @@ structured data.")
        (sha256
         (base32
          "04bqb12smlckzmgkj6vgmpbr3cby0n6726cmz33bqr7kn1vb728l"))))
-    (inputs
-     (cons python-six
-           (package-inputs python-protobuf)))))
+    (arguments '())                            ;no "--cpp_implementation" here
+    (inputs (list python-six))))
 
 (define-public python-proto-plus
   (package