28 lines
671 B
Nix
28 lines
671 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, itsdangerous, click, werkzeug, jinja2, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.0.3";
|
|
pname = "Flask";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ad7c6d841e64296b962296c2c2dabc6543752985727af86a975072dea984b6f3";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ];
|
|
|
|
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;
|
|
};
|
|
}
|