proselint: 0.14.0 -> 0.16.0
https://github.com/amperser/proselint/releases/tag/v0.16.0/CHANGELOG.md
This commit is contained in:
committed by
Peder Bergebakken Sundt
parent
d0aec5a3c0
commit
fe2747124d
@@ -7,24 +7,36 @@
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "proselint";
|
||||
version = "0.14.0";
|
||||
version = "0.16.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amperser";
|
||||
repo = "proselint";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-bI5gkckXUa640GOb5U5NW4i2op4fn0LKoPHFSIwbheM=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Oj5WY+YcngcaVjDq2xcnTeyvO7HnAhKdNE+h4fFa6zA=";
|
||||
};
|
||||
|
||||
build-system = [ python3Packages.poetry-core ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "uv_build>=0.7.22,<0.8.0" uv_build
|
||||
'';
|
||||
|
||||
dependencies = [ python3Packages.click ];
|
||||
build-system = [ python3Packages.uv-build ];
|
||||
|
||||
dependencies = with python3Packages; [ google-re2 ];
|
||||
|
||||
# typing stubs are not needed at runtime
|
||||
pythonRemoveDeps = [ "google-re2-stubs" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
python3Packages.pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
]
|
||||
++ (with python3Packages; [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
rstr
|
||||
]);
|
||||
|
||||
pythonImportsCheck = [ "proselint" ];
|
||||
|
||||
@@ -32,7 +44,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
description = "Linter for prose";
|
||||
mainProgram = "proselint";
|
||||
homepage = "https://github.com/amperser/proselint";
|
||||
changelog = "https://github.com/amperser/proselint/releases/tag/${finalAttrs.version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/amperser/proselint/releases/tag/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.pbsds ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user