1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pdm-backend, 6 pyhumps, 7 quart, 8 msgspec, 9 attrs, 10 pytestCheckHook, 11 pytest-asyncio, 12 pydantic, 13 hypothesis, 14}: 15 16buildPythonPackage rec { 17 pname = "quart-schema"; 18 version = "0.22.0"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "pgjones"; 23 repo = "quart-schema"; 24 tag = version; 25 hash = "sha256-saKV8iasc9ZynmUQI4bAYS9h8nGXgXR0Vm5oIDHedB4="; 26 }; 27 28 build-system = [ pdm-backend ]; 29 30 dependencies = [ 31 pyhumps 32 quart 33 msgspec 34 attrs 35 ]; 36 37 pythonImportsCheck = [ 38 "quart" 39 "quart_schema" 40 ]; 41 42 nativeCheckInputs = [ 43 pytestCheckHook 44 pytest-asyncio 45 pydantic 46 hypothesis 47 ]; 48 49 preCheck = '' 50 substituteInPlace pyproject.toml \ 51 --replace-fail "--no-cov-on-fail" "" 52 ''; 53 54 meta = { 55 description = "Create subcommand-based CLI programs with docopt"; 56 homepage = "https://github.com/abingham/docopt-subcommands"; 57 license = lib.licenses.mit; 58 maintainers = with lib.maintainers; [ sigmanificient ]; 59 }; 60}