{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pytestCheckHook, }: buildPythonPackage rec { pname = "docstring-parser"; version = "0.18.0"; pyproject = true; src = fetchFromGitHub { owner = "rr-"; repo = "docstring_parser"; tag = version; hash = "sha256-6jkPo3GPV8lfkLayVb6l+kD5DV/rAmtmSyi3VV/FoFc="; }; build-system = [ hatchling ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "docstring_parser" ]; meta = { description = "Parse Python docstrings in various flavors"; homepage = "https://github.com/rr-/docstring_parser"; changelog = "https://github.com/rr-/docstring_parser/blob/${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ SomeoneSerge ]; }; }