1{ 2 lib, 3 aiosqlite, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 pythonOlder, 8 six, 9 sqlalchemy, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "sqlalchemy-mixins"; 15 version = "2.1.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "absent1706"; 22 repo = "sqlalchemy-mixins"; 23 tag = "v${version}"; 24 hash = "sha256-0uB3x7RQSNEq3DyTSiOIGajwPQQEBjXK8HOyuXCNa/E="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 six 31 sqlalchemy 32 ]; 33 34 nativeCheckInputs = [ 35 aiosqlite 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ "sqlalchemy_mixins" ]; 40 41 meta = with lib; { 42 description = "Python mixins for SQLAlchemy ORM"; 43 homepage = "https://github.com/absent1706/sqlalchemy-mixins"; 44 changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}