2024-06-17 12:51:57 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-07-08 16:54:15 -04:00
|
|
|
fetchPypi,
|
2024-06-17 12:51:57 +02:00
|
|
|
dash,
|
2025-01-25 09:30:55 +01:00
|
|
|
hatchling,
|
2024-06-17 12:51:57 +02:00
|
|
|
pythonOlder,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dash-bootstrap-components";
|
2025-04-01 09:22:02 +00:00
|
|
|
version = "2.0.0";
|
2024-06-17 12:51:57 +02:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
2024-07-08 16:54:15 -04:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "dash_bootstrap_components";
|
2025-04-01 09:22:02 +00:00
|
|
|
hash = "sha256-cRIwo164ZmS1wFUqkdFZ9LRz2EEs9bSPNF+7ARjq35E=";
|
2024-06-17 12:51:57 +02:00
|
|
|
};
|
|
|
|
|
2025-01-25 09:30:55 +01:00
|
|
|
build-system = [ hatchling ];
|
2024-06-17 12:51:57 +02:00
|
|
|
|
|
|
|
dependencies = [ dash ];
|
|
|
|
|
|
|
|
# Tests a additional requirements
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-07-08 16:54:15 -04:00
|
|
|
pythonImportsCheck = [ "dash_bootstrap_components" ];
|
2024-06-17 12:51:57 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bootstrap components for Plotly Dash";
|
|
|
|
homepage = "https://github.com/facultyai/dash-bootstrap-components";
|
|
|
|
changelog = "https://github.com/facultyai/dash-bootstrap-components/releases/tag/${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|