From 4005c5da6d7ea8e7d2ce57950801faeb684430cd Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 21 Mar 2024 13:57:33 +0200 Subject: [PATCH] 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 --- gnu/packages/mastodon.scm | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm index cbeccdb402..7f7afec90d 100644 --- a/gnu/packages/mastodon.scm +++ b/gnu/packages/mastodon.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019-2023 Efraim Flashner +;;; Copyright © 2019-2024 Efraim Flashner ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2021 Taiju HIGASHI ;;; @@ -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")