From aed8699425b5e3d6dfb02c809003ad481255c7db Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 8 Jan 2026 16:40:49 -0800 Subject: [PATCH] python3Packages.anyconfig: build from GitHub --- pkgs/development/python-modules/anyconfig/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/anyconfig/default.nix b/pkgs/development/python-modules/anyconfig/default.nix index b777fca3b2fa..8893fbf1d7b0 100644 --- a/pkgs/development/python-modules/anyconfig/default.nix +++ b/pkgs/development/python-modules/anyconfig/default.nix @@ -1,6 +1,6 @@ { buildPythonPackage, - fetchPypi, + fetchFromGitHub, lib, pytestCheckHook, setuptools, @@ -11,9 +11,11 @@ buildPythonPackage (finalAttrs: { version = "0.14.0"; format = "setuptools"; - src = fetchPypi { - inherit (finalAttrs) pname version; - hash = "sha256-LN9Ur12ujpF0Pe2CxU7Z2Krvo6lyL11F6bX3S2A+AU0="; + src = fetchFromGitHub { + owner = "ssato"; + repo = "python-anyconfig"; + tag = "RELEASE_${finalAttrs.version}"; + hash = "sha256-ngXj/KzErz81T09j6tlV9OYDX3DqW5I8xo/ulLNokpQ="; }; postPatch = ''