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