2017-08-24 17:34:20 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pythonOlder
|
2017-01-13 23:13:45 +00:00
|
|
|
, flask, blinker, twill }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-08-24 17:34:20 +00:00
|
|
|
pname = "Flask-Testing";
|
|
|
|
version = "0.6.2";
|
|
|
|
name = "${pname}-${version}";
|
2017-01-13 23:13:45 +00:00
|
|
|
|
2017-08-24 17:34:20 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "f25effd266fce9b16482f4ce3423d5a7d25534aab77bc83caace5d9637bf0df0";
|
2017-01-13 23:13:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = optionals (pythonOlder "3.0") [ twill ];
|
|
|
|
propagatedBuildInputs = [ flask blinker ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Flask unittest integration.";
|
|
|
|
homepage = https://pythonhosted.org/Flask-Testing/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|