1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 dash, 8 dash-bootstrap-components, 9 numpy, 10}: 11 12buildPythonPackage rec { 13 pname = "dash-bootstrap-templates"; 14 version = "2.1.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "AnnMarieW"; 19 repo = "dash-bootstrap-templates"; 20 tag = "V${version}"; 21 hash = "sha256-B7iyN4sJA6DmoLf3DpFEONDe5tUd4cBlDIH4E7JtULk="; 22 }; 23 build-system = [ 24 setuptools 25 setuptools-scm 26 ]; 27 28 dependencies = [ 29 dash 30 dash-bootstrap-components 31 numpy 32 ]; 33 34 pythonImportsCheck = [ "dash_bootstrap_templates" ]; 35 36 # There are no tests. 37 doCheck = false; 38 39 meta = { 40 description = "Collection of 52 Plotly figure templates with a Bootstrap theme"; 41 homepage = "https://github.com/AnnMarieW/dash-bootstrap-templates"; 42 changelog = "https://github.com/AnnMarieW/dash-bootstrap-templates/releases/tag/${src.tag}"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ flokli ]; 45 }; 46}