python3Packages.flask: 1.1.2 -> 2.0.1

wip/nixpkgs-raku
Martin Weinelt 3 years ago committed by Jonathan Ringer
parent b8fae0c1d6
commit 6bdc4f3fe2
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 45
      pkgs/development/python-modules/flask/default.nix

@ -1,28 +1,47 @@
{ lib, buildPythonPackage, fetchPypi
, itsdangerous, click, werkzeug, jinja2, pytest }:
{ lib
, buildPythonPackage
, fetchPypi
, asgiref
, click
, itsdangerous
, jinja2
, python-dotenv
, werkzeug
, pytestCheckHook
}:
buildPythonPackage rec {
version = "1.1.2";
version = "2.0.1";
pname = "Flask";
src = fetchPypi {
inherit pname version;
sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060";
sha256 = "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
propagatedBuildInputs = [
asgiref
python-dotenv
click
itsdangerous
jinja2
werkzeug
];
checkPhase = ''
py.test
'';
# Tests require extra dependencies
doCheck = false;
checkInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "http://flask.pocoo.org/";
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
description = "The Python micro framework for building web applications";
longDescription = ''
Flask is a lightweight WSGI web application framework. It is
designed to make getting started quick and easy, with the ability
to scale up to complex applications. It began as a simple wrapper
around Werkzeug and Jinja and has become one of the most popular
Python web application frameworks.
'';
license = licenses.bsd3;
};
}

Loading…
Cancel
Save