Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
830 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, tokenize-rt}:
buildPythonPackage rec { pname = "add-trailing-comma"; version = "2.4.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "asottile"; repo = pname; rev = "v${version}"; hash = "sha256-/dA3OwBBMjykSYaIbvhJZj9Z8/0+mfL5pW4GqgMgops="; };
propagatedBuildInputs = [ tokenize-rt ];
pythonImportsCheck = [ "add_trailing_comma" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals"; homepage = "https://github.com/asottile/add-trailing-comma"; license = licenses.mit; maintainers = with maintainers; [ gador ]; };}