biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / wtf-peewee / default.nix
blob73f5cc14b401861eac7a96c5328604a1f2b6f9a9
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.5";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-LQbOWg65rPTSLRVK5vvqmdsRsXaDgcYZ54oqxgpWGRU=";
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   };