diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2024-03-08 10:35:17 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 10:35:17 +0900 |
commit | c91bf3f5ca7f7a7b7ba01ea81a1309cd96d1f1eb (patch) | |
tree | 07344ea54eb7ddfc150a348e383fd1b665098c86 /pkgs | |
parent | c8cd65298e567e1e604431e4544361e365410f8c (diff) | |
parent | 43724ca07635865c87593cce601b2efd414ab8a3 (diff) |
Merge pull request #292563 from Net-Mist/autopep8
python312Packages.autopep8: add support for python 3.12
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/autopep8/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/autopep8/default.nix b/pkgs/development/python-modules/autopep8/default.nix index 4bfffd8a780b3..34dd0baa4c99d 100644 --- a/pkgs/development/python-modules/autopep8/default.nix +++ b/pkgs/development/python-modules/autopep8/default.nix @@ -1,27 +1,33 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , glibcLocales , pycodestyle , pytestCheckHook , pythonOlder +, setuptools , tomli }: buildPythonPackage rec { pname = "autopep8"; - version = "2.0.4"; - format = "setuptools"; + version = "2.0.4-unstable-2023-10-27"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "hhatto"; repo = "autopep8"; - rev = "refs/tags/v${version}"; - hash = "sha256-TuaDnZqn9mRUsoDJkj9JK4ztvzl9JTwAk8nghIkZBvw="; + rev = "af7399d90926f2fe99a71f15197a08fa197f73a1"; + hash = "sha256-psGl9rXxTQGHyXf1VskJ/I/goVH5hRRP5bUXQdaT/8M="; }; + build-system = [ + setuptools + ]; + propagatedBuildInputs = [ pycodestyle ] ++ lib.optionals (pythonOlder "3.11") [ |