python313Packages.streamlit-echarts: init at 0.4.0 (#471603)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user