mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
29 lines
671 B
Nix
29 lines
671 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, itsdangerous, click, werkzeug, jinja2, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.1.1";
|
|
pname = "Flask";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|