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

34 lines
601 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, peewee
, wtforms
, python
}:
buildPythonPackage rec {
pname = "wtf-peewee";
2020-08-19 17:49:52 +01:00
version = "3.0.2";
src = fetchPypi {
inherit pname version;
2020-08-19 17:49:52 +01:00
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 ];
};
}