about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flask-testing.nix
blob: c5fe8f8bdbeebbf8040b2b8ea8b7b06d9ebc50ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, buildPythonPackage, pythonOlder
, flask, blinker, twill }:

with stdenv.lib;

buildPythonPackage rec {
  name = "Flask-Testing-0.6.1";

  src = fetchurl {
    url = "mirror://pypi/F/Flask-Testing/${name}.tar.gz";
    sha256 = "1ckmy7kz2qkggdlm9y5wx6gvd2x7qv921dyb059ywfh15hrkkxdb";
  };

  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 ];
  };
}