gnu: python-protobuf@3.6: Fix inputs and arguments.

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 commit is contained in:
Ludovic Courtès 2022-12-04 00:33:13 +01:00
parent c3713d53e0
commit bf46192d4c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; 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 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <rekado@elephly.net>
@ -468,9 +468,8 @@ (define-public python-protobuf-3.6
(sha256 (sha256
(base32 (base32
"04bqb12smlckzmgkj6vgmpbr3cby0n6726cmz33bqr7kn1vb728l")))) "04bqb12smlckzmgkj6vgmpbr3cby0n6726cmz33bqr7kn1vb728l"))))
(inputs (arguments '()) ;no "--cpp_implementation" here
(cons python-six (inputs (list python-six))))
(package-inputs python-protobuf)))))
(define-public python-proto-plus (define-public python-proto-plus
(package (package