diff options
author | Lars-Dominik Braun <ldb@leibniz-psychology.org> | 2020-03-30 08:41:12 +0200 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-03-30 14:49:50 -0400 |
commit | 1110a421f4c9ede6ee814e678135a1dd2ac05fc9 (patch) | |
tree | 4a5f5973ece4f551352f4eff0e054c8bb58e7600 /gnu/packages | |
parent | 0ab3a8c24445c634c8696717361dcd9358f7a35a (diff) | |
download | guix-1110a421f4c9ede6ee814e678135a1dd2ac05fc9.tar.gz |
gnu: Add python-tortoise-orm.
* gnu/packages/databases.scm (python-tortoise-orm): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/databases.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index fcc8eecd26..f760c692d7 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2206,6 +2206,41 @@ can autogenerate peewee models using @code{pwiz}, a model generator.") (define-public python2-peewee (package-with-python2 python-peewee)) +(define-public python-tortoise-orm + (package + (name "python-tortoise-orm") + (version "0.16.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tortoise-orm" version)) + (sha256 + (base32 + "01hbvfyxs2qd1mjc96aipwsdxxhydw8ww686r4gsf87bl6f98dvz")))) + (build-system python-build-system) + ;; Disable tests for now. They pull in a lot of dependencies. + (arguments `(#:tests? #f)) + (native-inputs + `(("python-ciso8601" ,python-ciso8601) + ("python-asynctest" ,python-asynctest) + ("python-nose2" ,python-nose2))) + (propagated-inputs + `(("python-aiosqlite" ,python-aiosqlite) + ("python-pypika" ,python-pypika) + ("python-typing-extensions" + ,python-typing-extensions))) + (home-page + "https://github.com/tortoise/tortoise-orm") + (synopsis + "Easy async ORM for python, built with relations in mind") + (description + "Tortoise ORM is an easy-to-use asyncio ORM (Object Relational Mapper) +inspired by Django. Tortoise ORM was build with relations in mind and +admiration for the excellent and popular Django ORM. It’s engraved in its +design that you are working not with just tables, you work with relational +data.") + (license license:asl2.0))) + (define-public sqlcipher (package (name "sqlcipher") |