1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 10:56:56 +00:00
nixpkgs/pkgs/development/python-modules/flask-testing.nix

24 lines
604 B
Nix
Raw Normal View History

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