mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #145966 from r-ryantm/auto-update/python38Packages.flask_wtf
python38Packages.flask_wtf: 0.15.1 -> 1.0.0
This commit is contained in:
commit
288b43da76
2 changed files with 9 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-WTF";
|
||||
version = "0.15.1";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ff177185f891302dc253437fe63081e7a46a4e99aca61dfe086fb23e54fff2dc";
|
||||
sha256 = "872fbb17b5888bfc734edbdcf45bc08fb365ca39f69d25dc752465a455517b28";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask wtforms nose ];
|
||||
|
|
|
@ -132,6 +132,13 @@ buildPythonPackage rec {
|
|||
debts
|
||||
];
|
||||
|
||||
# upstream performed the update without needing to patch the code
|
||||
# the original patch does not apply, sadly
|
||||
# https://github.com/spiral-project/ihatemoney/pull/912
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "Flask-WTF>=0.14.3,<1" "Flask-WTF>=0.14.3,<2"
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
flask_testing
|
||||
pytestCheckHook
|
||||
|
|
Loading…
Reference in a new issue