gnu: python-dyniterpy: Add missing inputs.

* gnu/packages/finance.scm (python-duniterpy)[arguments]: Add
loosen-requirements phase.
[propagated-inputs]: Add PYTHON-GRAPHQL-CORE, PYTHON-MNEMONIC, and
PYTHON-WEBSOCKET-CLIENT.
This commit is contained in:
Marius Bakke 2022-01-12 20:47:48 +01:00
parent c006f68fdb
commit 1d7bf223c8
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1250,7 +1250,13 @@ (define-public python-duniterpy
(arguments
;; FIXME: Tests fail with: "TypeError: block_uid() missing 1 required
;; positional argument: 'value'".
`(#:tests? #f))
`(#:tests? #f
#:phases (modify-phases %standard-phases
(add-after 'unpack 'loosen-requirements
(lambda _
(substitute* "setup.py"
(("mnemonic>=0\\.19,<0.20")
"mnemonic>=0.19")))))))
(propagated-inputs
`(("aiohttp" ,python-aiohttp)
("attrs" ,python-attrs)
@ -1259,6 +1265,9 @@ (define-public python-duniterpy
("libnacl" ,python-libnacl)
("pyaes" ,python-pyaes)
("pylibscrypt" ,python-pylibscrypt)
("python-graphql-core" ,python-graphql-core)
("python-mnemonic" ,python-mnemonic)
("python-websocket-client" ,python-websocket-client)
("pypeg2" ,python-pypeg2)))
(home-page "https://git.duniter.org/clients/python/duniterpy")
(synopsis "Python implementation of Duniter API")