gnu: fontconfig: Add replacement with font-dejavu instead of gs-fonts.
[jackhill/guix/guix.git] / gnu / packages / mastodon.scm
CommitLineData
c643b492 1;;; GNU Guix --- Functional package management for GNU
b7417f3d 2;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
11a05344 3;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
c643b492
EF
4;;;
5;;; This file is part of GNU Guix.
6;;;
7;;; GNU Guix is free software; you can redistribute it and/or modify it
8;;; under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 3 of the License, or (at
10;;; your option) any later version.
11;;;
12;;; GNU Guix is distributed in the hope that it will be useful, but
13;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;;; GNU General Public License for more details.
16;;;
17;;; You should have received a copy of the GNU General Public License
18;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20(define-module (gnu packages mastodon)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system python)
24 #:use-module ((guix licenses) #:prefix license:)
25 #:use-module (gnu packages check)
26 #:use-module (gnu packages python-web)
11a05344 27 #:use-module (gnu packages python-xyz))
c643b492
EF
28
29(define-public toot
30 (package
31 (name "toot")
e40e7fdf 32 (version "0.26.0")
c643b492
EF
33 (source
34 (origin
35 (method url-fetch)
36 (uri (pypi-uri "toot" version))
37 (sha256
e40e7fdf 38 (base32 "0h0lqm1q7i32i9n6yx5q2j563vc92h2sjh1ih4n2rxf98p6c5d1b"))))
c643b492
EF
39 (build-system python-build-system)
40 (arguments
41 '(#:phases
42 (modify-phases %standard-phases
fba0fea4 43 (replace 'check
c643b492
EF
44 (lambda* (#:key inputs outputs #:allow-other-keys)
45 (add-installed-pythonpath inputs outputs)
46 (invoke "py.test"))))))
47 (native-inputs
48 `(("python-pytest" ,python-pytest)))
d507ec09 49 (inputs
c643b492
EF
50 `(("python-beautifulsoup4" ,python-beautifulsoup4)
51 ("python-requests" ,python-requests)
324db471 52 ("python-urwid" ,python-urwid)
c643b492
EF
53 ("python-wcwidth" ,python-wcwidth)))
54 (home-page "https://github.com/ihabunek/toot/")
55 (synopsis "Mastodon CLI client")
56 (description "Interact with Mastodon social network from the command line.
57Features include:
58@itemize
59@item Posting, replying, deleting statuses
60@item Support for media uploads, spoiler text, sensitive content
61@item Search by account or hash tag
62@item Following, muting and blocking accounts
63@item Simple switching between authenticated in Mastodon accounts
64@end itemize")
65 (license license:gpl3)))