fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / python-modules / wtf-peewee / default.nix
blob932b96d349bcb4395d08d9effd4e4edeb43fa50e
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   peewee,
7   wtforms,
8   python,
9 }:
11 buildPythonPackage rec {
12   pname = "wtf-peewee";
13   version = "3.0.6";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-gZZEam46tk8SJ/ulqKsxvoF3X3PYGfdfyv7P1cDAC5I=";
19   };
21   nativeBuildInputs = [ setuptools ];
23   propagatedBuildInputs = [
24     peewee
25     wtforms
26   ];
28   checkPhase = ''
29     runHook preCheck
30     ${python.interpreter} runtests.py
31     runHook postCheck
32   '';
34   meta = with lib; {
35     description = "WTForms integration for peewee models";
36     homepage = "https://github.com/coleifer/wtf-peewee/";
37     license = licenses.mit;
38     maintainers = [ ];
39   };