1{ lib
2, buildPythonPackage
3, fetchPypi
4, peewee
5, wtforms
6, python
7}:
8
9buildPythonPackage rec {
10 pname = "wtf-peewee";
11 version = "3.0.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "03qs6np5s9r0nmsryfzll29ajcqk27b18kcbgd9plf80ys3nb6kd";
16 };
17
18 propagatedBuildInputs = [
19 peewee
20 wtforms
21 ];
22
23 checkPhase = ''
24 ${python.interpreter} runtests.py
25 '';
26
27 meta = with lib; {
28 description = "WTForms integration for peewee models";
29 homepage = "https://github.com/coleifer/wtf-peewee/";
30 license = licenses.mit;
31 maintainers = [ maintainers.costrouc ];
32 };
33}