guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

42/45: gnu: python-dyniterpy: Add missing inputs.


From: guix-commits
Subject: 42/45: gnu: python-dyniterpy: Add missing inputs.
Date: Wed, 12 Jan 2022 17:58:44 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 1d7bf223c874977b81c376cda70892163e580072
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 12 20:47:48 2022 +0100

    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.
---
 gnu/packages/finance.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 73ffb7ea7c..0d6a0515c4 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1250,7 +1250,13 @@ Luhn and family of ISO/IEC 7064 check digit algorithms.")
     (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 @@ Luhn and family of ISO/IEC 7064 check digit algorithms.")
        ("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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]