python313Packages.add-trailing-comma: 3.1.0 -> 3.2.0 (#435387)

This commit is contained in:
Fabian Affolter
2025-08-21 19:24:19 +02:00
committed by GitHub
@@ -4,34 +4,38 @@
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
tokenize-rt,
}:
buildPythonPackage rec {
pname = "add-trailing-comma";
version = "3.1.0";
format = "setuptools";
version = "3.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "asottile";
repo = "add-trailing-comma";
rev = "v${version}";
hash = "sha256-B+wjBy42RwabVz/6qEMGpB0JmwJ9hqSskwcNj4x/B/k=";
tag = "v${version}";
hash = "sha256-b9EHlx149NUAo9UHDZLE3BwSJY5WpxsUYi1mqz7rnHA=";
};
propagatedBuildInputs = [ tokenize-rt ];
build-system = [ setuptools ];
pythonImportsCheck = [ "add_trailing_comma" ];
dependencies = [ tokenize-rt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "add_trailing_comma" ];
meta = with lib; {
description = "Tool (and pre-commit hook) to automatically add trailing commas to calls and literals";
mainProgram = "add-trailing-comma";
homepage = "https://github.com/asottile/add-trailing-comma";
changelog = "https://github.com/asottile/add-trailing-comma/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
mainProgram = "add-trailing-comma";
};
}