Merge pull request #247983 from tjni/xsdata

python3.pkgs.xsdata: 22.12 -> 23.7

authored by

Robert Schütz and committed by
GitHub
c7281539 d036abd4

+16 -16
+16 -16
pkgs/development/python-modules/xsdata/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchPypi 5 - , fetchpatch 6 5 , click 7 6 , click-default-group 8 7 , docformatter 9 8 , jinja2 10 9 , toposort 10 + , typing-extensions 11 11 , lxml 12 12 , requests 13 13 , pytestCheckHook 14 + , setuptools 15 + , wheel 14 16 }: 15 17 16 18 buildPythonPackage rec { 17 19 pname = "xsdata"; 18 - version = "22.12"; 20 + version = "23.7"; 21 + format = "pyproject"; 19 22 20 23 disabled = pythonOlder "3.7"; 21 24 22 - format = "setuptools"; 23 - 24 25 src = fetchPypi { 25 26 inherit pname version; 26 - hash = "sha256-o9Xxt7b/+MkW94Jcg26ihaTn0/OpTcu+0OY7oV3JRGY="; 27 + hash = "sha256-jXnpB42P9PjEgw7NoSCGE6S14oOkHkzTBFYb9vypaqw="; 27 28 }; 28 29 29 - patches = [ 30 - # https://github.com/tefra/xsdata/pull/741 31 - (fetchpatch { 32 - name = "use-docformatter-1.5.1.patch"; 33 - url = "https://github.com/tefra/xsdata/commit/040692db47e6e51028fd959c793e757858c392d7.patch"; 34 - excludes = [ "setup.cfg" ]; 35 - hash = "sha256-ncecMJLJUiUb4lB8ys+nyiGU/UmayK++o89h3sAwREQ="; 36 - }) 37 - ]; 38 - 39 30 postPatch = '' 40 - substituteInPlace setup.cfg \ 31 + substituteInPlace pyproject.toml \ 41 32 --replace "--benchmark-skip" "" 42 33 ''; 34 + 35 + nativeBuildInputs = [ 36 + setuptools 37 + wheel 38 + ]; 39 + 40 + propagatedBuildInputs = [ 41 + typing-extensions 42 + ]; 43 43 44 44 passthru.optional-dependencies = { 45 45 cli = [