python39Packages.pep257: cleanup

+5 -7
+5 -7
pkgs/development/python-modules/pep257/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, pytest, mock }: 1 + { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }: 2 + 2 3 buildPythonPackage rec { 3 4 pname = "pep257"; 4 5 version = "0.7.0"; ··· 6 7 src = fetchFromGitHub { 7 8 owner = "GreenSteam"; 8 9 repo = "pep257"; 9 - rev = "0.7.0"; 10 + rev = version; 10 11 sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ="; 11 12 }; 12 13 13 - checkInputs = [ pytest mock ]; 14 - 15 - checkPhase = '' 16 - py.test 17 - ''; 14 + checkInputs = [ pytestCheckHook mock ]; 18 15 19 16 meta = with lib; { 20 17 homepage = "https://github.com/GreenSteam/pep257/"; 21 18 description = "Python docstring style checker"; 22 19 longDescription = "Static analysis tool for checking compliance with Python PEP 257."; 23 20 license = licenses.mit; 21 + maintainers = with maintainers; [ ]; 24 22 }; 25 23 }