3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
33 lines
613 B
Nix
33 lines
613 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, peewee
|
|
, wtforms
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wtf-peewee";
|
|
version = "3.0.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "faa953fe3f705d4f2b48f3c1a81c5c5a6a38f9ed1378c9a830e6efc1b0fccb15";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|