python3Packages.databases: 0.5.2 -> 0.5.3
This commit is contained in:
parent
cb10e4ddf6
commit
bc64880909
@ -3,7 +3,8 @@
|
||||
, fetchFromGitHub
|
||||
, sqlalchemy
|
||||
, aiocontextvars
|
||||
, isPy27
|
||||
, aiopg
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, pymysql
|
||||
, asyncpg
|
||||
@ -13,42 +14,48 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "databases";
|
||||
version = "0.5.2";
|
||||
disabled = isPy27;
|
||||
version = "0.5.3";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OfBb78lKnAxPhyy2j4TzEZWBzbw64brTQcxuOPoW9pk=";
|
||||
sha256 = "sha256-67ykx7HKGgRvJ+GRVEI/e2+x51kfHHFjh/iI4tY+6aE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiocontextvars
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiopg
|
||||
aiomysql
|
||||
aiosqlite
|
||||
asyncpg
|
||||
pymysql
|
||||
sqlalchemy
|
||||
] ++ lib.optionals (pythonOlder "3.7") [
|
||||
aiocontextvars
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# ModuleNotFoundError: No module named 'aiopg'
|
||||
"tests/test_connection_options.py"
|
||||
# circular dependency on starlette
|
||||
"tests/test_integration.py"
|
||||
# TEST_DATABASE_URLS is not set.
|
||||
"tests/test_databases.py"
|
||||
"tests/test_connection_options.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"databases"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Async database support for Python";
|
||||
homepage = "https://github.com/encode/databases";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user