1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 dash,
6 setuptools,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "dash-bootstrap-components";
12 version = "1.6.0";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit version;
19 pname = "dash_bootstrap_components";
20 hash = "sha256-lgoeyTl1dHkvSagkECT6POzeD1kwyXGj/IHwFsvrEJU=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [ dash ];
26
27 # Tests a additional requirements
28 doCheck = false;
29
30 pythonImportsCheck = [ "dash_bootstrap_components" ];
31
32 meta = with lib; {
33 description = "Bootstrap components for Plotly Dash";
34 homepage = "https://github.com/facultyai/dash-bootstrap-components";
35 changelog = "https://github.com/facultyai/dash-bootstrap-components/releases/tag/${version}";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ fab ];
38 };
39}