python313Packages.streamlit-kpi-card: init at 0.1.2 (#471722)

This commit is contained in:
Fabian Affolter
2025-12-17 23:09:42 +00:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
@@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pandas,
streamlit,
}:
buildPythonPackage rec {
pname = "streamlit-kpi-card";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "pjoachims";
repo = "streamlit-kpi-card";
tag = version;
hash = "sha256-w2hUEad6sMFq/KbYnNX7E/vOkIqsLwJZmzdgQTSVMm4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools>=45,<70" "setuptools"
'';
build-system = [ setuptools ];
dependencies = [
pandas
streamlit
];
pythonImportsCheck = [ "streamlit_kpi_card" ];
# Module has no tests
doCheck = false;
meta = {
description = "KPI cards for Streamlit";
homepage = "https://github.com/pjoachims/streamlit-kpi-card";
changelog = "https://github.com/pjoachims/streamlit-kpi-card/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -18182,6 +18182,8 @@ self: super: with self; {
streamlit-folium = callPackage ../development/python-modules/streamlit-folium { };
streamlit-kpi-card = callPackage ../development/python-modules/streamlit-kpi-card { };
streamlit-notify = callPackage ../development/python-modules/streamlit-notify { };
streamz = callPackage ../development/python-modules/streamz { };