1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pytestCheckHook, 7 sqlalchemy, 8 wtforms, 9}: 10 11buildPythonPackage rec { 12 pname = "wtforms-sqlalchemy"; 13 version = "0.4.2"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "wtforms"; 18 repo = "wtforms-sqlalchemy"; 19 tag = version; 20 hash = "sha256-E2F8lOcgne2yGEyn6g8j3mHr045eOyKu77DFGwWTPkc="; 21 }; 22 23 build-system = [ 24 hatchling 25 ]; 26 27 dependencies = [ 28 sqlalchemy 29 wtforms 30 ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "wtforms_sqlalchemy" ]; 37 38 meta = { 39 description = "WTForms integration for SQLAlchemy"; 40 homepage = "https://github.com/wtforms/wtforms-sqlalchemy"; 41 changelog = "https://github.com/wtforms/wtforms-sqlalchemy/blob/${src.tag}/CHANGES.rst"; 42 license = lib.licenses.bsd3; 43 maintainers = with lib.maintainers; [ SuperSandro2000 ]; 44 }; 45}