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