From 06d470f5d501affb2feb79baf08e154efc03a22c Mon Sep 17 00:00:00 2001 From: thtrf Date: Fri, 18 Jul 2025 20:55:26 +0200 Subject: [PATCH 1/2] 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; }; } From 8549d13fb245b2dfeb797f788cb4e11c68da6512 Mon Sep 17 00:00:00 2001 From: thtrf Date: Fri, 18 Jul 2025 20:56:01 +0200 Subject: [PATCH 2/2] maigret: remove with lib --- pkgs/by-name/ma/maigret/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ma/maigret/package.nix b/pkgs/by-name/ma/maigret/package.nix index 898427f51863..0a4e81452981 100644 --- a/pkgs/by-name/ma/maigret/package.nix +++ b/pkgs/by-name/ma/maigret/package.nix @@ -103,11 +103,11 @@ python312.pkgs.buildPythonApplication rec { pythonImportsCheck = [ "maigret" ]; - meta = with lib; { + meta = { description = "Tool to collect details about an username"; homepage = "https://maigret.readthedocs.io"; - license = licenses.mit; - maintainers = with maintainers; [ + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab thtrf ];