Ryan Lahfa
1c6124f376
All checks were successful
Check meta / check_meta (pull_request) Successful in 20s
Check meta / check_dns (pull_request) Successful in 21s
build configuration / build_vault01 (pull_request) Successful in 1m12s
build configuration / build_storage01 (pull_request) Successful in 1m14s
build configuration / build_compute01 (pull_request) Successful in 1m22s
build configuration / build_web02 (pull_request) Successful in 1m4s
build configuration / build_rescue01 (pull_request) Successful in 1m8s
lint / check (pull_request) Successful in 23s
build configuration / build_web01 (pull_request) Successful in 1m38s
build configuration / build_geo02 (pull_request) Successful in 1m3s
build configuration / build_bridge01 (pull_request) Successful in 1m1s
build configuration / build_geo01 (pull_request) Successful in 1m11s
build configuration / push_to_cache_storage01 (pull_request) Successful in 1m18s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m23s
build configuration / push_to_cache_compute01 (pull_request) Successful in 1m57s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m23s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m30s
build configuration / push_to_cache_web01 (pull_request) Successful in 2m13s
build configuration / push_to_cache_bridge01 (pull_request) Successful in 1m15s
build configuration / push_to_cache_geo01 (pull_request) Successful in 3m18s
build configuration / build_storage01 (push) Successful in 1m13s
build configuration / build_web02 (push) Successful in 1m14s
build configuration / build_vault01 (push) Successful in 1m20s
build configuration / build_compute01 (push) Successful in 1m29s
build configuration / build_web01 (push) Successful in 1m43s
lint / check (push) Successful in 23s
build configuration / build_rescue01 (push) Successful in 1m7s
build configuration / build_bridge01 (push) Successful in 1m2s
build configuration / build_geo02 (push) Successful in 1m7s
build configuration / build_geo01 (push) Successful in 1m11s
build configuration / push_to_cache_storage01 (push) Successful in 1m24s
build configuration / push_to_cache_web02 (push) Successful in 1m19s
build configuration / push_to_cache_bridge01 (push) Successful in 1m8s
build configuration / push_to_cache_rescue01 (push) Successful in 1m26s
build configuration / push_to_cache_compute01 (push) Successful in 1m47s
build configuration / push_to_cache_geo02 (push) Successful in 1m14s
build configuration / push_to_cache_geo01 (push) Successful in 1m19s
build configuration / push_to_cache_web01 (push) Successful in 2m16s
Can schedule meet.dgnum.eu in the chat upon demand. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
aiosqlite,
|
|
iso8601,
|
|
callPackage,
|
|
pytz,
|
|
ciso8601,
|
|
orjson,
|
|
uvloop,
|
|
aiomysql,
|
|
asyncmy,
|
|
asyncpg,
|
|
psycopg,
|
|
pydantic,
|
|
pythonRelaxDepsHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tortoise-orm";
|
|
version = "0.21.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tortoise";
|
|
repo = "tortoise-orm";
|
|
rev = version;
|
|
hash = "sha256-Gu7MSJbPjaGUN6tmHwkmx7Bdy/+V1wZjmTCQrTDDPkw=";
|
|
};
|
|
|
|
buildInputs = [ pythonRelaxDepsHook ];
|
|
|
|
pythonRelaxDeps = [
|
|
"aiosqlite"
|
|
"iso8601"
|
|
];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiosqlite
|
|
iso8601
|
|
pydantic
|
|
(callPackage ./pypika-tortoise.nix { })
|
|
pytz
|
|
];
|
|
|
|
optional-dependencies = {
|
|
accel = [
|
|
ciso8601
|
|
orjson
|
|
uvloop
|
|
];
|
|
aiomysql = [ aiomysql ];
|
|
asyncmy = [ asyncmy ];
|
|
asyncpg = [ asyncpg ];
|
|
psycopg = [ psycopg ];
|
|
};
|
|
|
|
pythonImportsCheck = [ "tortoise" ];
|
|
|
|
meta = {
|
|
description = "";
|
|
homepage = "https://github.com/tortoise/tortoise-orm";
|
|
changelog = "https://github.com/tortoise/tortoise-orm/blob/${src.rev}/CHANGELOG.rst";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ raitobezarius ];
|
|
};
|
|
}
|