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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{ lib
, buildPythonPackage
, fetchPypi
, six
, sqlalchemy
, colour
, flexmock
, jinja2
, mock
, pg8000
, phonenumbers
, pygments
, pymysql
, pytestCheckHook
, python-dateutil
}:
buildPythonPackage rec {
pname = "sqlalchemy-utils";
version = "0.38.3";
src = fetchPypi {
inherit version;
pname = "SQLAlchemy-Utils";
sha256 = "sha256-n5r7pgekBFXPcDrfqYRlhL8mFooMWmCnAGO3DWUFH00=";
};
patches = [
# We don't run MySQL, MSSQL, or PostgreSQL
./skip-database-tests.patch
];
propagatedBuildInputs = [
six
sqlalchemy
];
checkInputs = [
colour
flexmock
jinja2
mock
pg8000
phonenumbers
pygments
pymysql
pytestCheckHook
python-dateutil
];
disabledTests = [
"test_literal_bind"
];
meta = with lib; {
homepage = "https://github.com/kvesteri/sqlalchemy-utils";
description = "Various utility functions and datatypes for SQLAlchemy";
license = licenses.bsd3;
maintainers = with maintainers; [ eadwu ];
};
}
|