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