Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pyflakes, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "autoflake"; version = "2.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "PyCQA"; repo = "autoflake"; tag = "v${finalAttrs.version}"; hash = "sha256-Th2MyC6Yu+OLF7WZCG1e5VQqBIGz6Eaxx2dTaEpqTtA="; };
build-system = [ hatchling ];
dependencies = [ pyflakes ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "autoflake" ];
enabledTestPaths = [ "test_autoflake.py" "test_fuzz.py" ];
meta = { description = "Tool to remove unused imports and unused variables"; homepage = "https://github.com/PyCQA/autoflake"; changelog = "https://github.com/PyCQA/autoflake/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ yuriaisaka ]; mainProgram = "autoflake"; };})