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 = [ ]; }; }