1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 wtforms, 6 poetry-core, 7 pytestCheckHook, 8 lxml, 9}: 10 11buildPythonPackage rec { 12 pname = "wtforms-bootstrap5"; 13 version = "0.3.0"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "LaunchPlatform"; 18 repo = "wtforms-bootstrap5"; 19 rev = version; 20 hash = "sha256-TJJ3KOeC9JXnxK0YpnfeBNq1KHwaAZ4+t9CXbc+85Ro="; 21 }; 22 23 nativeBuildInputs = [ poetry-core ]; 24 25 propagatedBuildInputs = [ wtforms ]; 26 27 nativeCheckInputs = [ 28 pytestCheckHook 29 lxml 30 ]; 31 32 meta = with lib; { 33 description = "Simple library for rendering WTForms in HTML as Bootstrap 5 form controls"; 34 homepage = "https://github.com/LaunchPlatform/wtforms-bootstrap5"; 35 changelog = "https://github.com/LaunchPlatform/wtforms-bootstrap5/releases/tag/${version}"; 36 license = licenses.mit; 37 teams = [ teams.wdz ]; 38 }; 39}