python3Packages.wtf-peewee: 3.0.3 -> 3.0.4

This commit is contained in:
Martin Weinelt 2023-09-15 14:07:24 +02:00
parent 0fbba782d1
commit d352ae5735

View file

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, setuptools
, peewee
, wtforms
, python
@ -9,19 +9,16 @@
buildPythonPackage rec {
pname = "wtf-peewee";
version = "3.0.3";
version = "3.0.4";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "faa953fe3f705d4f2b48f3c1a81c5c5a6a38f9ed1378c9a830e6efc1b0fccb15";
hash = "sha256-cTbYRdvAUTY86MPR33BH+nA6H/epR8sgHDgOBQ/TUkQ=";
};
patches = [
(fetchpatch {
name = "fix-wtforms3.patch";
url = "https://github.com/coleifer/wtf-peewee/commit/b1764f4474c73a9a2b34ae6b7db61274f5252a7f.patch";
sha256 = "0maz3fm9bi8p80nk9sdb34xq55xq8ihm51y7k0m8ck9aaypvwbig";
})
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
@ -30,7 +27,9 @@ buildPythonPackage rec {
];
checkPhase = ''
runHook preCheck
${python.interpreter} runtests.py
runHook postCheck
'';
meta = with lib; {