1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 itsdangerous, 7 python-multipart, 8 starlette, 9 wtforms, 10 httpx, 11 jinja2, 12 pytestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "starlette-wtf"; 17 version = "0.4.5"; 18 format = "pyproject"; 19 20 src = fetchFromGitHub { 21 owner = "muicss"; 22 repo = "starlette-wtf"; 23 tag = version; 24 hash = "sha256-88zU2NAsdty2OhHauwQ5+6LazuRDYPoqN9IIipI1t2Q="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 propagatedBuildInputs = [ 29 itsdangerous 30 python-multipart 31 starlette 32 wtforms 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 httpx 38 jinja2 39 ]; 40 41 meta = with lib; { 42 description = "Simple tool for integrating Starlette and WTForms"; 43 changelog = "https://github.com/muicss/starlette-wtf/blob/v${version}/CHANGELOG.md"; 44 homepage = "https://github.com/muicss/starlette-wtf"; 45 license = licenses.mit; 46 teams = [ teams.wdz ]; 47 }; 48}