Fabian Affolter 2022-12-06 19:23:40 +01:00
parent e35206bd7c
commit 0a3316ac07

View file

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "rstcheck";
version = "6.1.0";
version = "6.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "rstcheck";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-dw/KggiZpKaFZMcTIaSBUhR4oQsZI3iSmEj9Sy80wTs=";
hash = "sha256-6TpDzk0GjIn9AnWadwHoYRc3SNi9nBAM7GyKm338wH8=";
};
nativeBuildInputs = [
@ -47,12 +47,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'docutils = ">=0.7, <0.19"' 'docutils = ">=0.7"' \
--replace 'types-docutils = ">=0.18, <0.19"' 'types-docutils = ">=0.18"'
'';
pythonImportsCheck = [
"rstcheck"
];