python3Packages.mastodon-py: 2.1.4 -> 2.2.1

Diff: https://github.com/halcy/Mastodon.py/compare/v2.1.4...v2.2.1

Changelog: https://github.com/halcy/Mastodon.py/blob/v2.2.1/CHANGELOG.rst
This commit is contained in:
Robert Schütz
2026-05-07 02:59:21 +02:00
committed by Martin Weinelt
parent 433e8a4370
commit 6a9809d589
@@ -5,7 +5,6 @@
blurhash,
cryptography,
decorator,
fetchpatch,
graphemeu,
http-ece,
python-dateutil,
@@ -21,24 +20,16 @@
buildPythonPackage rec {
pname = "mastodon-py";
version = "2.1.4";
version = "2.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "halcy";
repo = "Mastodon.py";
tag = "v${version}";
hash = "sha256-i3HMT8cabSl664UK3eopJQ9bDBpGCgbHTvBJkgeoxd8=";
hash = "sha256-RsSM7TkNwsirT1ksaXP/IKOmrpPrNGh/16S77Up+3MM=";
};
patches = [
# Switch dependency from unmaintained `grapheme` to `graphemeu`
(fetchpatch {
url = "https://github.com/halcy/Mastodon.py/commit/939c7508414e950922c518260a9ba5a5853aeef2.patch";
hash = "sha256-XBiAFxYUBNyynld++UwPGIIg9j+3/EF2jGqiysVqYRM=";
})
];
build-system = [ setuptools ];
dependencies = [
@@ -67,13 +58,6 @@ buildPythonPackage rec {
]
++ lib.concatAttrValues optional-dependencies;
# disabledTests = [
# "test_notifications_dismiss_pre_2_9_2"
# "test_status_card_pre_2_9_2"
# "test_stream_user_direct"
# "test_stream_user_local"
# ];
pythonImportsCheck = [ "mastodon" ];
meta = {