summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-09-11 14:54:54 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-09-11 14:54:54 +0200
commit2fbae886804839d61781376c598aad19fd21e881 (patch)
tree6810db5a42df8e081c73a6a5d4c841f531f4dbbd
parent7c829150ed2197359982e02f2d1dd25a2c868013 (diff)
downloadguix-2fbae886804839d61781376c598aad19fd21e881.tar.gz
gnu: electron-cash: Add missing input.
* gnu/packages/finance.scm (electron-cash)[inputs]: Add python-qdarkstyle.
  [arguments]: Add 'relax-requirements' phase.
-rw-r--r--gnu/packages/finance.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 768cace0d7..f5f3713c69 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -595,6 +595,7 @@ other machines/servers.  Electrum does not download the Bitcoin blockchain.")
        ("python-pyaes" ,python-pyaes)
        ("python-pyqt" ,python-pyqt)
        ("python-pysocks" ,python-pysocks)
+       ("python-qdarkstyle" ,python-qdarkstyle)
        ("python-qrcode" ,python-qrcode)
        ("python-requests" ,python-requests)
        ("python-stem" ,python-stem)
@@ -621,6 +622,11 @@ other machines/servers.  Electrum does not download the Bitcoin blockchain.")
                 (string-append "library_paths = ('"
                                (assoc-ref inputs "libsecp256k1")
                                "/lib/libsecp256k1.so.0'")))))
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "contrib/requirements/requirements.txt"
+               (("qdarkstyle==2\\.6\\.8")
+                "qdarkstyle"))))
          (add-after 'install 'wrap-qt
            (lambda* (#:key outputs inputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))