Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 611 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, peewee 5, wtforms 6, python 7}: 8 9buildPythonPackage rec { 10 pname = "wtf-peewee"; 11 version = "3.0.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "acd05d136c8595da3327fcf9176fa85fdcec1f2aac51d235e46e6fc7a0871283"; 16 }; 17 18 propagatedBuildInputs = [ 19 peewee 20 wtforms 21 ]; 22 23 checkPhase = '' 24 ${python.interpreter} runtests.py 25 ''; 26 27 meta = with lib; { 28 description = "WTForms integration for peewee models"; 29 homepage = https://github.com/coleifer/wtf-peewee/; 30 license = licenses.mit; 31 maintainers = [ maintainers.costrouc ]; 32 }; 33}