python3Packages.sphinx-autodoc2: fix build with astroid 4 (#475713)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchDebianPatch,
|
||||
pythonOlder,
|
||||
|
||||
flit-core,
|
||||
@@ -30,6 +31,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Wu079THK1mHVilD2Fx9dIzuIOOYOXpo/EMxVczNutCI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# compatibility with astroid 4, see: https://github.com/sphinx-extensions2/sphinx-autodoc2/pull/93
|
||||
(fetchDebianPatch {
|
||||
pname = "python-sphinx-autodoc2";
|
||||
inherit version;
|
||||
debianRevision = "9";
|
||||
patch = "astroid-4.patch";
|
||||
hash = "sha256-tRWDee30GSQ+AobCAHdtw65B6YyRpzn7kW5rzK7/QOk=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user