nixpkgs-suyu/pkgs/development/python-modules/flask/default.nix

48 lines
1,010 B
Nix
Raw Normal View History

2021-06-02 20:56:55 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, asgiref
, click
, itsdangerous
, jinja2
, python-dotenv
, werkzeug
, pytestCheckHook
}:
buildPythonPackage rec {
2021-06-02 20:56:55 +02:00
version = "2.0.1";
pname = "Flask";
src = fetchPypi {
inherit pname version;
2021-06-02 20:56:55 +02:00
sha256 = "0mcgwq7b4qd99mf5bsvs3wphchxarf8kgil4hwww3blj31xjak0w";
};
2021-06-02 20:56:55 +02:00
propagatedBuildInputs = [
asgiref
python-dotenv
click
itsdangerous
jinja2
werkzeug
];
2021-06-02 20:56:55 +02:00
checkInputs = [
pytestCheckHook
];
2017-09-06 17:31:38 +02:00
meta = with lib; {
homepage = "http://flask.pocoo.org/";
2021-06-02 20:56:55 +02:00
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;
};
}