From 812e0536cc8c1b45c92cd3c58ff00ee02c60d526 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Dec 2025 10:40:22 +0100 Subject: [PATCH] python313Packages.streamlit-avatar: init at 0.1.3 Component to display avatar icon in Streamlit https://pypi.org/project/streamlit-avatar/ --- .../streamlit-avatar/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/streamlit-avatar/default.nix diff --git a/pkgs/development/python-modules/streamlit-avatar/default.nix b/pkgs/development/python-modules/streamlit-avatar/default.nix new file mode 100644 index 000000000000..b8e61ffefbd8 --- /dev/null +++ b/pkgs/development/python-modules/streamlit-avatar/default.nix @@ -0,0 +1,35 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + streamlit, +}: + +buildPythonPackage rec { + pname = "streamlit-avatar"; + version = "0.1.3"; + pyproject = true; + + src = fetchPypi { + pname = "streamlit_avatar"; + inherit version; + hash = "sha256-AjiTvYDbWpI9OX/GTSfHqXIQfaTwvqD+uZoy+TY/JpE="; + }; + + build-system = [ setuptools ]; + + dependencies = [ streamlit ]; + + pythonImportsCheck = [ "streamlit_avatar" ]; + + # Module has no tests + doCheck = false; + + meta = { + description = "Component to display avatar icon in Streamlit"; + homepage = "https://pypi.org/project/streamlit-avatar/"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c9649073b073..b67e3417aafd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18176,6 +18176,8 @@ self: super: with self; { streamlit = callPackage ../development/python-modules/streamlit { }; + streamlit-avatar = callPackage ../development/python-modules/streamlit-avatar { }; + streamlit-folium = callPackage ../development/python-modules/streamlit-folium { }; streamz = callPackage ../development/python-modules/streamz { };