gnu: toot: Update to 0.42.0.

* gnu/packages/mastodon.scm (toot): Update to 0.42.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pyyaml, python-typing-extensions.
[inputs]: Add python-click, python-urwidgets.

Change-Id: I085531e63e6f811319715cfddfad9f17c877897d
This commit is contained in:
Efraim Flashner 2024-03-21 13:57:33 +02:00
parent 1f6474a819
commit 4005c5da6d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Taiju HIGASHI <higashi@taiju.info>
;;;
@ -24,6 +24,7 @@ (define-module (gnu packages mastodon)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
@ -37,6 +38,7 @@ (define-module (gnu packages mastodon)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
@ -47,14 +49,14 @@ (define-module (gnu packages mastodon)
(define-public toot
(package
(name "toot")
(version "0.38.1")
(version "0.42.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "toot" version))
(sha256
(base32 "1cn646jzys9vjaw20sxmgzc7zq5a5ma8vabvrw9zpa0yl9wm97my"))))
(build-system python-build-system)
(base32 "1vw3j504dxmq22s40kysps3d09hl7l48cwznwrfr9zqif67i4v3g"))))
(build-system pyproject-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
@ -64,12 +66,17 @@ (define-public toot
(add-installed-pythonpath inputs outputs)
(invoke "py.test")))))))
(native-inputs
(list python-psycopg2 python-pytest))
(list python-psycopg2-binary
python-pytest
python-pyyaml
python-typing-extensions))
(inputs
(list python-beautifulsoup4
python-tomlkit
python-click
python-requests
python-tomlkit
python-urwid
python-urwidgets
python-wcwidth))
(home-page "https://github.com/ihabunek/toot/")
(synopsis "Mastodon CLI client")