Skip to content

Commit efc90c3

Browse files
authored
dash-bootstrap-components: change src location (#325647)
2 parents dcf1a39 + 63cdc15 commit efc90c3

File tree

1 file changed

+6
-8
lines changed
  • pkgs/development/python-modules/dash-bootstrap-components

1 file changed

+6
-8
lines changed

pkgs/development/python-modules/dash-bootstrap-components/default.nix

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchFromGitHub,
4+
fetchPypi,
55
dash,
66
setuptools,
77
pythonOlder,
@@ -14,11 +14,10 @@ buildPythonPackage rec {
1414

1515
disabled = pythonOlder "3.8";
1616

17-
src = fetchFromGitHub {
18-
owner = "facultyai";
19-
repo = "dash-bootstrap-components";
20-
rev = "refs/tags/${version}";
21-
hash = "sha256-6tx7rOB5FVj44NbTznyZd1Q0HOc8QdxiZOhja5kgpAE=";
17+
src = fetchPypi {
18+
inherit version;
19+
pname = "dash_bootstrap_components";
20+
hash = "sha256-lgoeyTl1dHkvSagkECT6POzeD1kwyXGj/IHwFsvrEJU=";
2221
};
2322

2423
build-system = [ setuptools ];
@@ -28,8 +27,7 @@ buildPythonPackage rec {
2827
# Tests a additional requirements
2928
doCheck = false;
3029

31-
# Circular import
32-
# pythonImportsCheck = [ "dash_bootstrap_components" ];
30+
pythonImportsCheck = [ "dash_bootstrap_components" ];
3331

3432
meta = with lib; {
3533
description = "Bootstrap components for Plotly Dash";

0 commit comments

Comments
 (0)