forked from mirrors/nixpkgs
pythonPackages.wtf-peewee: init at 3.0.0
This commit is contained in:
parent
3fb612cdc9
commit
ad8b178b0b
33
pkgs/development/python-modules/wtf-peewee/default.nix
Normal file
33
pkgs/development/python-modules/wtf-peewee/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue