From 9a61684bc1b0ab86117bac5f81d560f7db60b52e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 1 May 2026 10:08:09 +0200 Subject: [PATCH 1/2] maigret: 0.5.0 > 0.6.0 Changelog: https://github.com/soxoj/maigret/releases/tag/v0.6.0 --- pkgs/by-name/ma/maigret/package.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/ma/maigret/package.nix b/pkgs/by-name/ma/maigret/package.nix index 6c698831fd91..06969bb1581b 100644 --- a/pkgs/by-name/ma/maigret/package.nix +++ b/pkgs/by-name/ma/maigret/package.nix @@ -7,14 +7,14 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "maigret"; - version = "0.5.0"; + version = "0.6.0"; pyproject = true; src = fetchFromGitHub { owner = "soxoj"; repo = "maigret"; tag = "v${finalAttrs.version}"; - hash = "sha256-y5b7t4ji72o1PXoqEQ0vNHqE1vwdkB/3gtsCj5GZ4Xg="; + hash = "sha256-3X8mRgsI0y1F/gUTWeYw83mQJKglJporpw7l9jI1Hvw="; }; pythonRelaxDeps = true; @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { chardet cloudscraper colorama + curl-cffi flask html5lib idna @@ -86,18 +87,20 @@ python3.pkgs.buildPythonApplication (finalAttrs: { disabledTests = [ # Tests require network access + "test_check_features_manually_cloudflare" + "test_check_features_manually_success" + "test_detect_known_engine" + "test_dialog_adds_site_negative" + "test_dialog_adds_site_positive" + "test_dialog_replace_site" "test_extract_ids_from_page" "test_import_aiohttp_cookies" "test_maigret_results" "test_pdf_report" "test_self_check_db_negative_enabled" "test_self_check_db_positive_enable" - "test_detect_known_engine" - "test_check_features_manually_success" - "test_dialog_adds_site_positive" - "test_dialog_replace_site" - "test_dialog_adds_site_negative" - # + "test_twitter_graphql_probe_claimed_vs_unclaimed" + # Sandbox issue "test_self_check_db" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ From 0cfb22c02a5f8d7e5a0753459af187aa1fd949f4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 1 May 2026 10:17:05 +0200 Subject: [PATCH 2/2] maigret: allow later pypdf releases --- pkgs/by-name/ma/maigret/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ma/maigret/package.nix b/pkgs/by-name/ma/maigret/package.nix index 06969bb1581b..282880e139f4 100644 --- a/pkgs/by-name/ma/maigret/package.nix +++ b/pkgs/by-name/ma/maigret/package.nix @@ -22,6 +22,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pythonRemoveDeps = [ "future-annotations" "future" + "PyPDF2" "six" ]; @@ -55,7 +56,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { networkx platformdirs pycountry - pypdf2 + pypdf pysocks python-bidi pyvis