1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
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 = fetchFromGitHub {
18 owner = "facultyai";
19 repo = "dash-bootstrap-components";
20 rev = "refs/tags/${version}";
21 hash = "sha256-6tx7rOB5FVj44NbTznyZd1Q0HOc8QdxiZOhja5kgpAE=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ dash ];
27
28 # Tests a additional requirements
29 doCheck = false;
30
31 # Circular import
32 # pythonImportsCheck = [ "dash_bootstrap_components" ];
33
34 meta = with lib; {
35 description = "Bootstrap components for Plotly Dash";
36 homepage = "https://github.com/facultyai/dash-bootstrap-components";
37 changelog = "https://github.com/facultyai/dash-bootstrap-components/releases/tag/${version}";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ fab ];
40 };
41}