1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/flask/default.nix

30 lines
704 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2017-09-06 16:31:38 +01:00
, itsdangerous, click, werkzeug, jinja2, pytest }:
buildPythonPackage rec {
name = "${pname}-${version}";
2018-05-09 15:47:11 +01:00
version = "0.12.4";
pname = "Flask";
src = fetchPypi {
inherit pname version;
2018-05-09 15:47:11 +01:00
sha256 = "2ea22336f6d388b4b242bc3abf8a01244a8aa3e236e7407469ef78c16ba355dd";
};
2017-09-06 16:31:38 +01:00
checkInputs = [ pytest ];
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
2017-09-06 16:31:38 +01:00
checkPhase = ''
py.test
'';
# Tests require extra dependencies
doCheck = false;
meta = with stdenv.lib; {
homepage = http://flask.pocoo.org/;
description = "A microframework based on Werkzeug, Jinja 2, and good intentions";
license = licenses.bsd3;
};
}