0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
33 lines
601 B
Nix
33 lines
601 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, peewee
|
|
, wtforms
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wtf-peewee";
|
|
version = "3.0.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "03qs6np5s9r0nmsryfzll29ajcqk27b18kcbgd9plf80ys3nb6kd";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|