From 5b273f00efdcd09bf828b4890fd312b9a48f2d3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 20 Jun 2025 16:03:34 -0700 Subject: [PATCH] python3Packages.pycodestyle: 2.13.0 -> 2.14.0 Diff: https://github.com/PyCQA/pycodestyle/compare/2.13.0...2.14.0 Changelog: https://github.com/PyCQA/pycodestyle/blob/2.14.0/CHANGES.txt --- .../python-modules/pycodestyle/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pycodestyle/default.nix b/pkgs/development/python-modules/pycodestyle/default.nix index 17b39d3dabdb..90eed94b49e2 100644 --- a/pkgs/development/python-modules/pycodestyle/default.nix +++ b/pkgs/development/python-modules/pycodestyle/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "pycodestyle"; - version = "2.13.0"; + version = "2.14.0"; pyproject = true; src = fetchFromGitHub { owner = "PyCQA"; repo = "pycodestyle"; - rev = version; - hash = "sha256-jpF0/sVzRjot8KRdXqvhWpdafzC/Fska6jmG3s2U6Wk="; + tag = version; + hash = "sha256-1EEQp/QEulrdU9tTe28NerQ33IWlAiSlicpmNYciW88="; }; build-system = [ setuptools ]; @@ -26,7 +26,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - # https://github.com/PyCQA/pycodestyle/blob/2.13.0/tox.ini#L16 + # https://github.com/PyCQA/pycodestyle/blob/2.14.0/tox.ini#L16 postCheck = '' ${python.interpreter} -m pycodestyle --statistics pycodestyle.py ''; @@ -36,12 +36,12 @@ buildPythonPackage rec { "test_check_nullbytes" ]; - meta = with lib; { - changelog = "https://github.com/PyCQA/pycodestyle/blob/${version}/CHANGES.txt"; + meta = { + changelog = "https://github.com/PyCQA/pycodestyle/blob/${src.tag}/CHANGES.txt"; description = "Python style guide checker"; mainProgram = "pycodestyle"; homepage = "https://pycodestyle.pycqa.org/"; - license = licenses.mit; - maintainers = with maintainers; [ kamadorueda ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kamadorueda ]; }; }