python310Packages.xsdata: use docformatter 1.5.1

authored by Robert Schütz and committed by Robert Schütz dcf4487f 5a2b689d

+11
+11
pkgs/development/python-modules/xsdata/default.nix
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchPypi 5 , click 6 , click-default-group 7 , docformatter ··· 24 inherit pname version; 25 hash = "sha256-o9Xxt7b/+MkW94Jcg26ihaTn0/OpTcu+0OY7oV3JRGY="; 26 }; 27 28 postPatch = '' 29 substituteInPlace setup.cfg \
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchPypi 5 + , fetchpatch 6 , click 7 , click-default-group 8 , docformatter ··· 25 inherit pname version; 26 hash = "sha256-o9Xxt7b/+MkW94Jcg26ihaTn0/OpTcu+0OY7oV3JRGY="; 27 }; 28 + 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 postPatch = '' 40 substituteInPlace setup.cfg \