python313Packages.streamlit-kpi-card: init at 0.1.2 (#471722)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user