dash-bootstrap-components: change src location (#325647)

This commit is contained in:
Aleksana 2024-09-25 13:59:30 +08:00 committed by GitHub
commit efc90c3e0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
dash,
setuptools,
pythonOlder,
@ -14,11 +14,10 @@ buildPythonPackage rec {
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "facultyai";
repo = "dash-bootstrap-components";
rev = "refs/tags/${version}";
hash = "sha256-6tx7rOB5FVj44NbTznyZd1Q0HOc8QdxiZOhja5kgpAE=";
src = fetchPypi {
inherit version;
pname = "dash_bootstrap_components";
hash = "sha256-lgoeyTl1dHkvSagkECT6POzeD1kwyXGj/IHwFsvrEJU=";
};
build-system = [ setuptools ];
@ -28,8 +27,7 @@ buildPythonPackage rec {
# Tests a additional requirements
doCheck = false;
# Circular import
# pythonImportsCheck = [ "dash_bootstrap_components" ];
pythonImportsCheck = [ "dash_bootstrap_components" ];
meta = with lib; {
description = "Bootstrap components for Plotly Dash";