pythonPackages.wtf-peewee: init at 3.0.0

This commit is contained in:
Chris Ostrouchov 2019-07-18 17:01:59 -04:00 committed by Ariel
parent 3fb612cdc9
commit ad8b178b0b
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, peewee
, wtforms
, python
}:
buildPythonPackage rec {
pname = "wtf-peewee";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "acd05d136c8595da3327fcf9176fa85fdcec1f2aac51d235e46e6fc7a0871283";
};
propagatedBuildInputs = [
peewee
wtforms
];
checkPhase = ''
${python.interpreter} runtests.py
'';
meta = with lib; {
description = "WTForms integration for peewee models";
homepage = https://github.com/coleifer/wtf-peewee/;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -3257,6 +3257,8 @@ in {
wtforms = callPackage ../development/python-modules/wtforms { };
wtf-peewee = callPackage ../development/python-modules/wtf-peewee { };
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix {
inherit (pkgs) pkgconfig;
};