python313Packages.rstcheck-core: 1.2.1 -> 1.2.2

Diff: rstcheck/rstcheck-core@refs/tags/v1.2.1...refs/tags/v1.2.2

Changelog: https://github.com/rstcheck/rstcheck-core/blob/v1.2.2/CHANGELOG.md
This commit is contained in:
Fabian Affolter 2025-06-18 16:33:14 +02:00
parent 93e7341e84
commit 126d8cdd2c

View File

@ -4,7 +4,6 @@
buildPythonPackage, buildPythonPackage,
docutils, docutils,
fetchFromGitHub, fetchFromGitHub,
importlib-metadata,
mock, mock,
pydantic, pydantic,
pytest-mock, pytest-mock,
@ -12,21 +11,18 @@
pythonOlder, pythonOlder,
setuptools, setuptools,
setuptools-scm, setuptools-scm,
typing-extensions,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "rstcheck-core"; pname = "rstcheck-core";
version = "1.2.1"; version = "1.2.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rstcheck"; owner = "rstcheck";
repo = "rstcheck-core"; repo = "rstcheck-core";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-PiQMk0lIv24S6qXMYIQR+SkSji+WA30ivWs2uPQwf2A="; hash = "sha256-D17I6pncTnrRjA/vt4lt/Bfkko3Lx58Xyti3sM0sC3s=";
}; };
build-system = [ build-system = [
@ -38,15 +34,10 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes"; NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-strict-prototypes";
}; };
dependencies = dependencies = [
[ docutils
docutils pydantic
pydantic ];
]
++ lib.optionals (pythonOlder "3.9") [
importlib-metadata
typing-extensions
];
nativeCheckInputs = [ nativeCheckInputs = [
mock mock
@ -64,7 +55,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Library for checking syntax of reStructuredText"; description = "Library for checking syntax of reStructuredText";
homepage = "https://github.com/rstcheck/rstcheck-core"; homepage = "https://github.com/rstcheck/rstcheck-core";
changelog = "https://github.com/rstcheck/rstcheck-core/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/rstcheck/rstcheck-core/blob/${src.tag}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };