diff options
Diffstat (limited to 'gnu/packages/fediverse.scm')
-rw-r--r-- | gnu/packages/fediverse.scm | 85 |
1 files changed, 47 insertions, 38 deletions
diff --git a/gnu/packages/fediverse.scm b/gnu/packages/fediverse.scm index 167742e5cf..6cad92f38e 100644 --- a/gnu/packages/fediverse.scm +++ b/gnu/packages/fediverse.scm @@ -34,6 +34,7 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages bash) + #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages curl) #:use-module (gnu packages databases) @@ -44,6 +45,7 @@ #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages image) + #:use-module (gnu packages nss) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) @@ -116,37 +118,31 @@ the federation of interconnected video hosting services.") (define-public toot (package (name "toot") - (version "0.42.0") + (version "0.50.1") (source (origin (method url-fetch) (uri (pypi-uri "toot" version)) (sha256 - (base32 "1vw3j504dxmq22s40kysps3d09hl7l48cwznwrfr9zqif67i4v3g")))) + (base32 "1ng0aq7nlh3agdxri6izxzky4m93mm6ki71l0bcz81jhk31ya63i")))) (build-system pyproject-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "py.test"))))))) (native-inputs - (list python-psycopg2-binary + (list python-pillow python-pytest - python-pyyaml python-setuptools - python-typing-extensions + python-setuptools-scm python-wheel)) (inputs (list python-beautifulsoup4 python-click + python-dateutil python-requests python-tomlkit python-urwid - python-urwidgets - python-wcwidth)) + python-wcwidth + ;; Required to display images in the TUI + python-pillow + python-term-image)) (home-page "https://github.com/ihabunek/toot/") (synopsis "Mastodon CLI client") (description "Interact with Mastodon social network from the command line. @@ -228,34 +224,47 @@ seamlessly with your desktop environment.") (define-public python-mastodon-py (package (name "python-mastodon-py") - (version "1.5.1") + (version "2.1.4") (source - (origin - (method url-fetch) - (uri (pypi-uri "Mastodon.py" version)) - (sha256 - (base32 - "1vikvkzcij2gd730cssigxi38vlmzqmwdy58r3y2cwsxifnxpz9a")))) - (build-system python-build-system) + (origin + (method url-fetch) + (uri (pypi-uri "mastodon_py" version)) + (sha256 + (base32 "1988sanhh4162jilffa7r1n9ylls5v868ndfmnsp0z5k9p5fj0k6")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-check-environment + (lambda* (#:key inputs #:allow-other-keys) + (setenv "TZ" "UTC") + (setenv "TZDIR" + (search-input-directory inputs + "share/zoneinfo"))))))) + (native-inputs + (list nss-certs-for-test + python-pytest + python-pytest-cov + python-pytest-mock + python-pytest-recording + python-pytest-retry + python-pytz + python-requests-mock + python-setuptools + python-vcrpy + tzdata-for-tests)) (propagated-inputs (list python-blurhash - python-dateutil python-decorator + python-dateutil python-magic - python-pytz python-requests - python-six)) - (native-inputs - (list python-blurhash + ;; [optional] + python-blurhash python-cryptography - python-http-ece - python-pytest - python-pytest-cov - python-pytest-mock - python-pytest-runner - python-pytest-vcr - python-requests-mock - python-vcrpy)) + python-grapheme ;project was not updated for 6y + python-http-ece)) (home-page "https://github.com/halcy/Mastodon.py") (synopsis "Python wrapper for the Mastodon API") (description @@ -265,7 +274,7 @@ seamlessly with your desktop environment.") (define-public snac2 (package (name "snac") - (version "2.81") + (version "2.83") (source (origin (method git-fetch) @@ -274,7 +283,7 @@ seamlessly with your desktop environment.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "12wnd7r9k1fmf9yikczhiplbjjvpi66c7n22hs6xla3qqm7vwcm3")))) + (base32 "0xh108p148mqlj1da05yrng0d82rw34n1i97cjzz7p606ll4j6p4")))) (build-system gnu-build-system) (inputs (list curl openssl)) (arguments |