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