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 ]; }; }