3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/wtf-peewee/default.nix

34 lines
613 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, peewee
, wtforms
, python
}:
buildPythonPackage rec {
pname = "wtf-peewee";
2020-07-31 09:56:49 +01:00
version = "3.0.1";
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:49 +01:00
sha256 = "4ac1b457f3255ee2d72915267884a16e5fb502e1e7bb793f2f1301c926e3599a";
};
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 ];
};
}