From 7702f01f89860ec66164768ad84fee38d232c878 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Feb 2023 13:56:18 +0100 Subject: [PATCH] python310Packages.flake8-docstrings: 1.6.0 -> 1.7.0 Changelog: https://github.com/PyCQA/flake8-docstrings/blob/1.7.0/HISTORY.rst --- .../python-modules/flake8-docstrings/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/flake8-docstrings/default.nix b/pkgs/development/python-modules/flake8-docstrings/default.nix index 50a365b25078..c3a08f931557 100644 --- a/pkgs/development/python-modules/flake8-docstrings/default.nix +++ b/pkgs/development/python-modules/flake8-docstrings/default.nix @@ -1,6 +1,6 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub , flake8 , pydocstyle , pythonOlder @@ -8,14 +8,16 @@ buildPythonPackage rec { pname = "flake8-docstrings"; - version = "1.6.0"; + version = "1.7.0"; format = "setuptools"; disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - hash = "sha256-n+fGowYGSvjmKgVcL2Hp6x2lX4S7OcrvK4TOU3CKw0s="; + src = fetchFromGitHub { + owner = "PyCQA"; + repo = pname; + rev = "refs/tags/${version}"; + hash = "sha256-EafLWySeHB81HRcXiDs56lbUZzGvnT87WVqln0PoLCk="; }; propagatedBuildInputs = [ @@ -23,6 +25,9 @@ buildPythonPackage rec { pydocstyle ]; + # Module has no tests + doCheck = false; + pythonImportsCheck = [ "flake8_docstrings" ];