nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 53 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 blinker, 5 pytestCheckHook, 6 buildPythonPackage, 7 fetchPypi, 8 flask, 9}: 10 11buildPythonPackage rec { 12 pname = "flask-testing"; 13 version = "0.8.1"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 pname = "Flask-Testing"; 18 inherit version; 19 hash = "sha256-CnNNe2jmOpQQtBPNex+WRW+ahYvQmmIi1GVlDMeC6wE="; 20 }; 21 22 propagatedBuildInputs = [ flask ]; 23 24 nativeCheckInputs = [ 25 blinker 26 pytestCheckHook 27 ]; 28 29 __darwinAllowLocalNetworking = true; 30 31 disabledTests = [ 32 # RuntimeError and NotImplementedError 33 "test_assert_redirects" 34 "test_server_listening" 35 "test_server_process_is_spawned" 36 # change in repr(template) in recent flask 37 "test_assert_template_rendered_signal_sent" 38 ]; 39 40 disabledTestPaths = [ 41 # twill is only used by Python 2 according setup.py 42 "tests/test_twill.py" 43 ]; 44 45 pythonImportsCheck = [ "flask_testing" ]; 46 47 meta = { 48 description = "Extension provides unit testing utilities for Flask"; 49 homepage = "https://pythonhosted.org/Flask-Testing/"; 50 license = lib.licenses.bsd3; 51 maintainers = with lib.maintainers; [ mic92 ]; 52 }; 53}