From 4778c3cd3a65640078ebd4ec407d354d865f3aae Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Dec 2022 16:56:10 +0100 Subject: [PATCH] python310Packages.pep8-naming: 0.13.1 -> 0.13.3 Diff: https://github.com/PyCQA/pep8-naming/compare/0.13.1...0.13.3 Changelog: https://github.com/PyCQA/pep8-naming/blob/0.13.3/CHANGELOG.rst --- .../python-modules/pep8-naming/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pep8-naming/default.nix b/pkgs/development/python-modules/pep8-naming/default.nix index ffb8c0073b94..5fd696523d84 100644 --- a/pkgs/development/python-modules/pep8-naming/default.nix +++ b/pkgs/development/python-modules/pep8-naming/default.nix @@ -1,31 +1,25 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , flake8 , python +, pythonOlder }: buildPythonPackage rec { pname = "pep8-naming"; - version = "0.13.1"; + version = "0.13.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "PyCQA"; repo = pname; rev = version; - sha256 = "sha256-NG4hLZcOMKprUyMnzkHRmUCFGyYgvT6ydBQNpgWE9h0="; + hash = "sha256-l7zZUOMWyTxnTbkFkzfABY/eVMKnv0kNJ0UPzJo0W1Y="; }; - patches = [ - # Fixes tests for flake8 => 5 - # Remove on next release - (fetchpatch { - url = "https://github.com/PyCQA/pep8-naming/commit/c8808a0907f64b5d081cff8d3f9443e5ced1474e.patch"; - sha256 = "sha256-4c+a0viS0rXuxj+TuIfgrKZjnrjiJjDoYBbNp3+6Ed0="; - }) - ]; - propagatedBuildInputs = [ flake8 ];