1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, marshmallow 6, packaging 7, sqlalchemy 8, pytest-lazy-fixture 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "marshmallow-sqlalchemy"; 14 version = "0.29.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-NSOndDkO8MHA98cIp1GYCcU5bPYIcg8U9Vw290/1u+w="; 22 }; 23 24 propagatedBuildInputs = [ 25 marshmallow 26 packaging 27 sqlalchemy 28 ]; 29 30 pythonImportsCheck = [ 31 "marshmallow_sqlalchemy" 32 ]; 33 34 nativeCheckInputs = [ 35 pytest-lazy-fixture 36 pytestCheckHook 37 ]; 38 39 meta = with lib; { 40 description = "SQLAlchemy integration with marshmallow"; 41 homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy"; 42 changelog = "https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/${version}/CHANGELOG.rst"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ ]; 45 }; 46}