mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add python-tortoise-orm.
* gnu/packages/databases.scm (python-tortoise-orm): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
0ab3a8c244
commit
1110a421f4
1 changed files with 35 additions and 0 deletions
|
@ -2206,6 +2206,41 @@ (define-public python-peewee
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue