From 06d470f5d501affb2feb79baf08e154efc03a22c Mon Sep 17 00:00:00 2001 From: thtrf Date: Fri, 18 Jul 2025 20:55:26 +0200 Subject: [PATCH] maigret: fix build --- pkgs/by-name/ma/maigret/package.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ma/maigret/package.nix b/pkgs/by-name/ma/maigret/package.nix index cdea13a209a5..898427f51863 100644 --- a/pkgs/by-name/ma/maigret/package.nix +++ b/pkgs/by-name/ma/maigret/package.nix @@ -3,10 +3,10 @@ stdenv, fetchFromGitHub, fetchpatch, - python3, + python312, }: -python3.pkgs.buildPythonApplication rec { +python312.pkgs.buildPythonApplication rec { pname = "maigret"; version = "0.4.4"; pyproject = true; @@ -27,9 +27,9 @@ python3.pkgs.buildPythonApplication rec { }) ]; - build-system = with python3.pkgs; [ setuptools ]; + build-system = with python312.pkgs; [ setuptools ]; - dependencies = with python3.pkgs; [ + dependencies = with python312.pkgs; [ aiodns aiohttp aiohttp-socks @@ -70,7 +70,7 @@ python3.pkgs.buildPythonApplication rec { yarl ]; - nativeCheckInputs = with python3.pkgs; [ + nativeCheckInputs = with python312.pkgs; [ pytest-httpserver pytest-asyncio pytestCheckHook @@ -107,7 +107,10 @@ python3.pkgs.buildPythonApplication rec { description = "Tool to collect details about an username"; homepage = "https://maigret.readthedocs.io"; license = licenses.mit; - maintainers = with maintainers; [ fab ]; + maintainers = with maintainers; [ + fab + thtrf + ]; broken = stdenv.hostPlatform.isDarwin; }; }