13 buildPythonPackage rec {
15 version = "2.0.4-unstable-2023-10-27";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "af7399d90926f2fe99a71f15197a08fa197f73a1";
24 hash = "sha256-psGl9rXxTQGHyXf1VskJ/I/goVH5hRRP5bUXQdaT/8M=";
31 propagatedBuildInputs = [
33 ] ++ lib.optionals (pythonOlder "3.11") [
42 env.LC_ALL = "en_US.UTF-8";
45 changelog = "https://github.com/hhatto/autopep8/releases/tag/v${version}";
46 description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
47 homepage = "https://github.com/hhatto/autopep8";
48 license = licenses.mit;
49 mainProgram = "autopep8";
50 maintainers = with maintainers; [ bjornfor ];