1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 12:35:10 +03:00
nixpkgs/pkgs/development/python-modules/flask/default.nix

48 lines
1,022 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-10-09 00:23:01 +02:00
version = "2.0.2";
pname = "Flask";
src = fetchPypi {
inherit pname version;
2021-10-09 00:23:01 +02:00
sha256 = "7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2";
};
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;
};
}