From 6a9809d589a0dc8ec17d11b09046aa495bf26bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 5 May 2026 11:05:09 -0700 Subject: [PATCH] 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 --- .../python-modules/mastodon-py/default.nix | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/mastodon-py/default.nix b/pkgs/development/python-modules/mastodon-py/default.nix index 4e12dbb633bd..69b54a9ed5b2 100644 --- a/pkgs/development/python-modules/mastodon-py/default.nix +++ b/pkgs/development/python-modules/mastodon-py/default.nix @@ -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 = {