Unverified Commit 6f58f68c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.streamlit-echarts: init at 0.4.0 (#471603)

parents 09af4be6 cbba0059
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
  pillow,
  prettytable,
  pytestCheckHook,
  pythonOlder,
  requests,
  setuptools,
  simplejson,
@@ -19,8 +18,6 @@ buildPythonPackage rec {
  version = "2.0.9";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "pyecharts";
    repo = "pyecharts";
@@ -60,7 +57,7 @@ buildPythonPackage rec {
  meta = {
    description = "Python Echarts Plotting Library";
    homepage = "https://github.com/pyecharts/pyecharts";
    changelog = "https://github.com/pyecharts/pyecharts/releases/tag/v${version}";
    changelog = "https://github.com/pyecharts/pyecharts/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pyecharts,
  setuptools,
  streamlit,
}:

buildPythonPackage rec {
  pname = "streamlit-echarts";
  version = "0.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "andfanilo";
    repo = "streamlit-echarts";
    tag = "v${version}";
    hash = "sha256-VNliCZPkAYUx+TacBc6PrS4C4bjM5fmVx/Sj6aSw2Yc=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pyecharts
    streamlit
  ];

  pythonImportsCheck = [ "streamlit_echarts" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Streamlit component to render ECharts";
    homepage = "https://github.com/andfanilo/streamlit-echarts";
    changelog = "https://github.com/andfanilo/streamlit-echarts/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18200,6 +18200,8 @@ self: super: with self; {
  streamlit-card = callPackage ../development/python-modules/streamlit-card { };
  streamlit-echarts = callPackage ../development/python-modules/streamlit-echarts { };
  streamlit-folium = callPackage ../development/python-modules/streamlit-folium { };
  streamlit-kpi-card = callPackage ../development/python-modules/streamlit-kpi-card { };