1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 sqlalchemy, 8}: 9 10buildPythonPackage rec { 11 pname = "sqlalchemy-utc"; 12 version = "0.14.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "spoqa"; 17 repo = "sqlalchemy-utc"; 18 tag = version; 19 hash = "sha256-ZtUuwUDgd/ngOQoWu8IgOldTbTGoFbv5Y0Hyha1KTrE="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ sqlalchemy ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "sqlalchemy_utc" ]; 29 30 disabledTests = [ 31 # ArgumentError 32 "test_utcnow_timezone" 33 ]; 34 35 meta = { 36 description = "SQLAlchemy type to store aware datetime values"; 37 homepage = "https://github.com/spoqa/sqlalchemy-utc"; 38 changelog = "https://github.com/spoqa/sqlalchemy-utc/blob/${src.tag}/CHANGES.rst"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ fab ]; 41 }; 42}