From be81e03dd41f23b5f0135aad93d416bcad2ad238 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Sun, 12 Jan 2025 19:57:02 +0800 Subject: [PATCH 1/2] python313Packages.formencode: fix build --- .../python-modules/formencode/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/formencode/default.nix b/pkgs/development/python-modules/formencode/default.nix index 216e48dd1ff2..09a803e2c7f3 100644 --- a/pkgs/development/python-modules/formencode/default.nix +++ b/pkgs/development/python-modules/formencode/default.nix @@ -6,6 +6,7 @@ setuptools-scm, six, dnspython, + legacy-cgi, pycountry, pytestCheckHook, }: @@ -27,9 +28,12 @@ buildPythonPackage rec { sed -i '/setuptools_scm_git_archive/d' setup.py ''; - nativeBuildInputs = [ setuptools-scm ]; + build-system = [ setuptools-scm ]; - propagatedBuildInputs = [ six ]; + dependencies = [ + six + legacy-cgi + ]; nativeCheckInputs = [ dnspython @@ -43,10 +47,10 @@ buildPythonPackage rec { "test_unicode_ascii_subgroup" ]; - meta = with lib; { + meta = { description = "FormEncode validates and converts nested structures"; homepage = "http://formencode.org"; - license = licenses.mit; + license = lib.licenses.mit; maintainers = [ ]; }; } From 3c0f2224f33b9d5d08ef6d412722b4d10fd39ad5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 12 Jan 2025 13:27:55 +0100 Subject: [PATCH 2/2] p