1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 flask, 7 visitor, 8 dominate, 9 pytestCheckHook, 10 requests, 11}: 12 13buildPythonPackage rec { 14 pname = "flask-bootstrap"; 15 version = "3.3.7.1"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "mbr"; 20 repo = "flask-bootstrap"; 21 tag = version; 22 hash = "sha256-TsRSNhrI1jZU/beX3G7LM64IrFagD6AYiluoGzy12jE="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 flask 29 visitor 30 dominate 31 ]; 32 33 pythonImportsCheck = [ "flask_bootstrap" ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 requests 38 ]; 39 40 disabledTests = [ 41 # requires network access 42 "test_bootstrap_version_matches" 43 # requires flask-appconfig 44 "test_index" 45 ]; 46 47 meta = { 48 homepage = "https://github.com/mbr/flask-bootstrap"; 49 description = "Ready-to-use Twitter-bootstrap for use in Flask"; 50 license = lib.licenses.asl20; 51 maintainers = [ ]; 52 }; 53}