1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, marshmallow 6, sqlalchemy 7, pytest-lazy-fixture 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "marshmallow-sqlalchemy"; 13 version = "0.28.1"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-qjdnRylngKVjVeMGe5yL9DoqHET/mF3oKzpdnhYcorg="; 19 }; 20 21 propagatedBuildInputs = [ 22 marshmallow 23 sqlalchemy 24 ]; 25 26 pythonImportsCheck = [ 27 "marshmallow_sqlalchemy" 28 ]; 29 30 checkInputs = [ 31 pytest-lazy-fixture 32 pytestCheckHook 33 ]; 34 35 meta = with lib; { 36 homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy"; 37 description = "SQLAlchemy integration with marshmallow"; 38 license = licenses.mit; 39 }; 40 41}