1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 hatch-vcs, 5 hatchling, 6 lib, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "hatch-docstring-description"; 12 version = "1.1.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "flying-sheep"; 17 repo = "hatch-docstring-description"; 18 tag = "v${version}"; 19 hash = "sha256-ouor0FV3qdXYJx5EWFUWSKp8Cc/EuD1WXrtLvbYG+XI="; 20 }; 21 22 build-system = [ 23 hatchling 24 hatch-vcs 25 ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 disabledTests = [ 30 # See https://github.com/flying-sheep/hatch-docstring-description/issues/107 31 "test_e2e[.]" 32 "test_e2e[src]" 33 ]; 34 35 pythonImportsCheck = [ "hatch_docstring_description" ]; 36 37 meta = { 38 description = "Derive PyPI package description from Python package docstring"; 39 homepage = "https://github.com/flying-sheep/hatch-docstring-description"; 40 license = lib.licenses.gpl3; 41 maintainers = with lib.maintainers; [ 42 samuela 43 ]; 44 }; 45}