9 buildPythonPackage rec {
10 pname = "add-trailing-comma";
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
20 sha256 = "sha256-NEXPIkPeH6ZAm1uzqc8iRWnlLbhKmvGQGGraLu989sw=";
23 propagatedBuildInputs = [
27 pythonImportsCheck = [
36 description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals";
37 homepage = "https://github.com/asottile/add-trailing-comma";
38 license = licenses.mit;
39 maintainers = with maintainers; [ gador ];