summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-06-30 14:07:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-06-30 14:11:42 +0300
commit63d555cd0cd7cba3b84fad065cd244bcd286d64c (patch)
tree20669cd7cb9b960630e57a8b27aed9728b4cf86d
parent480d37f94ad731cefb556d0e7864a3f2f7475880 (diff)
downloadguix-63d555cd0cd7cba3b84fad065cd244bcd286d64c.tar.gz
gnu: toot: Update to 0.37.0.
* gnu/packages/mastodon.scm (toot): Update to 0.37.0.
[native-inputs]: Add python-psycopg2.
-rw-r--r--gnu/packages/mastodon.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm
index 6510d96e2d..feef8c61f9 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/mastodon.scm
@@ -27,6 +27,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages databases)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -44,29 +45,24 @@
 (define-public toot
   (package
     (name "toot")
-    (version "0.36.0")
+    (version "0.37.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "toot" version))
         (sha256
-         (base32 "1n79jwr3kpnc2xsr9isbgrj5as5i6zbkhxrdpdjfg87qbbjz7xca"))))
+         (base32 "0qx8hyb74r85dxf97k23w0f5rzkrs16mq7h3y37nwp6hl6gia0ci"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'adjust-test-suite
-           (lambda _
-             ;; This test contains integration tests meant to run against a test
-             ;; Mastodon instance.
-             (delete-file "tests/test_integration.py")))
          (replace 'check
            (lambda* (#:key tests? inputs outputs #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
                (invoke "py.test")))))))
     (native-inputs
-     (list python-pytest))
+     (list python-psycopg2 python-pytest))
     (inputs
      (list python-beautifulsoup4 python-requests python-urwid
            python-wcwidth))