mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
Merge pull request #155221 from gador/wtforms-update
This commit is contained in:
commit
b1021ac29a
@ -2,21 +2,29 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, markupsafe
|
, markupsafe
|
||||||
|
, Babel
|
||||||
|
, pytestCheckHook
|
||||||
|
, email_validator
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.3.3";
|
version = "3.0.1";
|
||||||
pname = "WTForms";
|
pname = "WTForms";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "81195de0ac94fbc8368abbaf9197b88c4f3ffd6c2719b5bf5fc9da744f3d829c";
|
sha256 = "1g654ghavds387hqxmhg9s8x222x89wbq1ggzxbsyn6x2axindbb";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ markupsafe ];
|
propagatedBuildInputs = [ markupsafe Babel ];
|
||||||
|
|
||||||
# Django tests are broken "django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet."
|
|
||||||
doCheck = false;
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
email_validator
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "wtforms" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A flexible forms validation and rendering library for Python";
|
description = "A flexible forms validation and rendering library for Python";
|
||||||
|
Loading…
Reference in New Issue
Block a user