[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/16: gnu: Add python-peewee.
From: |
Efraim Flashner |
Subject: |
02/16: gnu: Add python-peewee. |
Date: |
Sun, 18 Sep 2016 20:19:58 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 4d98bfaf23852766e923e017f4334f4219c1d142
Author: Efraim Flashner <address@hidden>
Date: Sun Sep 11 21:22:39 2016 +0300
gnu: Add python-peewee.
* gnu/packages/databases.scm (python-peewee): New variable.
---
gnu/packages/databases.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b316745..4f345e2 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -64,6 +64,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
#:use-module (guix build-system cmake)
#:use-module (guix utils)
#:use-module (srfi srfi-26)
@@ -1120,3 +1121,32 @@ PostgreSQL database back-end. The database back-end can
be local or it may be
on another machine, accessed via TCP/IP.")
(home-page "http://pqxx.org/")
(license license:bsd-3)))
+
+(define-public python-peewee
+ (package
+ (name "python-peewee")
+ (version "2.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "peewee" version))
+ (sha256
+ (base32
+ "1605bk11s7aap2q4qyba93rx7yfh8b11kk0cqi08z8klx2iar8yd"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; Fails to import test data
+ (native-inputs
+ `(("python-cython" ,python-cython)))
+ (home-page "https://github.com/coleifer/peewee/")
+ (synopsis "Small object-relational mapping utility")
+ (description
+ "Peewee is a simple and small ORM (object-relation mapping) tool. Peewee
+handles converting between pythonic values and those used by databases, so you
+can use Python types in your code without having to worry. It has built-in
+support for sqlite, mysql and postgresql. If you already have a database, you
+can autogenerate peewee models using @code{pwiz}, a model generator.")
+ (license license:expat)))
+
+(define-public python2-peewee
+ (package-with-python2 python-peewee))
- branch master updated (bff8be8 -> b8ea520), Efraim Flashner, 2016/09/18
- 05/16: gnu: Add python-graphql-core., Efraim Flashner, 2016/09/18
- 14/16: gnu: Add python-bcrypt., Efraim Flashner, 2016/09/18
- 01/16: gnu: Add python-pika., Efraim Flashner, 2016/09/18
- 09/16: gnu: Add python-django-filter., Efraim Flashner, 2016/09/18
- 02/16: gnu: Add python-peewee.,
Efraim Flashner <=
- 06/16: gnu: Add python-graphql-relay., Efraim Flashner, 2016/09/18
- 04/16: gnu: Add python-pytest-mock., Efraim Flashner, 2016/09/18
- 16/16: gnu: Add onionshare., Efraim Flashner, 2016/09/18
- 03/16: gnu: Add python-promise., Efraim Flashner, 2016/09/18
- 11/16: gnu: Add python-consul., Efraim Flashner, 2016/09/18
- 08/16: gnu: Add python-pytest-django., Efraim Flashner, 2016/09/18
- 13/16: gnu: Add python-nose2., Efraim Flashner, 2016/09/18
- 07/16: gnu: Add python-sqlalchemy-utils., Efraim Flashner, 2016/09/18
- 15/16: gnu: Add python-nautilus., Efraim Flashner, 2016/09/18
- 10/16: gnu: Add python-graphene., Efraim Flashner, 2016/09/18