Update morji

LEPILLER JulienThu Dec 07 11:57:34+0100 2017

832edd1

Update morji

more/packages/games.scm

104104
(define-public morji
105105
  (package
106106
    (name "morji")
107-
    (version "0.2")
107+
    (version "0.3")
108108
    (source (origin
109109
              (method url-fetch)
110110
              (uri (string-append

112112
                     version ".tar.gz"))
113113
              (sha256
114114
               (base32
115-
                "1mr1yq739n1x9y01azv88npi2vm7swbgh8aqj4r590bq5lqn8w62"))))
115+
                "1icpqn7ypg4jbbn222zvgdg96x0k1nb9rbcfr5ky86ldhly1flq2"))))
116116
    (build-system gnu-build-system)
117117
    (arguments
118118
     `(#:tests? #f; Tests don't run in our environment

207207
    (name "anki")
208208
    ; the latest stable version requires qt4 webkit which we don't have because
209209
    ; of issues on arm and probably security reasons.
210-
    (version "2.1.0beta3")
210+
    (version "2.1.0beta25")
211211
    (source (origin
212212
              (method url-fetch)
213213
              (uri (string-append "https://apps.ankiweb.net/downloads/beta/anki-"
214214
                                  version "-source.tgz"))
215215
              (sha256
216216
               (base32
217-
                "1iffc8l856j7c6r8s6y5f79fgf31d4halbhrwfc09zlkasvf9wqg"))))
217+
                "1p42b395k3kny5c17na3sw95mya3cw2hg3nxyj3b3mdhwdcy677r"))))
218218
    (build-system gnu-build-system)
219219
    (propagated-inputs
220220
     `(("python" ,python)
221-
       ("pyaudio" ,python-pyaudio)
222-
       ("pyqt" ,python-pyqt)
223-
       ("sip" ,python-sip)))
221+
       ("python-pyaudio" ,python-pyaudio)
222+
       ("python-pyqt" ,python-pyqt)
223+
       ("python-sip" ,python-sip)
224+
       ("python-decorator" ,python-decorator)))
224225
    (arguments
225226
     `(#:tests? #f
226227
       #:phases

229230
         (delete 'build)
230231
         (replace 'install
231232
           (lambda* (#:key inputs outputs #:allow-other-keys)
233+
             (substitute* "anki/__init__.py"
234+
               (("< 6") "< 5"))
235+
             (substitute* "aqt/qt.py"
236+
               (("from PyQt5.QtWebEngineWidgets import QWebEnginePage") ""))
232237
             (let* ((output (assoc-ref outputs "out"))
233238
                    (bindir (string-append output "/bin"))
234239
                    (libdir (string-append output "/lib/python3.5/site-packages")))