47 lines
1,022 B
Nix
47 lines
1,022 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, asgiref
|
|
, click
|
|
, itsdangerous
|
|
, jinja2
|
|
, python-dotenv
|
|
, werkzeug
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "2.0.2";
|
|
pname = "Flask";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asgiref
|
|
python-dotenv
|
|
click
|
|
itsdangerous
|
|
jinja2
|
|
werkzeug
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://flask.pocoo.org/";
|
|
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;
|
|
};
|
|
}
|