From 4b7937fd7b735caa6ef46aee4318f9007e51c195 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 4 Aug 2022 21:57:10 +0100 Subject: [PATCH] streamlit: 1.2.0 -> 1.11.1 --- .../machine-learning/streamlit/default.nix | 36 ++++++------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/pkgs/applications/science/machine-learning/streamlit/default.nix b/pkgs/applications/science/machine-learning/streamlit/default.nix index f439b113d1ab..2b05566e2647 100755 --- a/pkgs/applications/science/machine-learning/streamlit/default.nix +++ b/pkgs/applications/science/machine-learning/streamlit/default.nix @@ -6,16 +6,11 @@ # Build inputs altair, - astor, - base58, blinker, - boto3, - botocore, click, cachetools, - enum-compat, - future, GitPython, + importlib-metadata, jinja2, pillow, pyarrow, @@ -23,6 +18,8 @@ pympler, protobuf, requests, + rich, + semver, setuptools, toml, tornado, @@ -31,36 +28,23 @@ watchdog, }: -let - click_7 = click.overridePythonAttrs(old: rec { - version = "7.1.2"; - src = old.src.override { - inherit version; - sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; - }; - }); -in buildPythonApplication rec { +buildPythonApplication rec { pname = "streamlit"; - version = "1.2.0"; - format = "wheel"; # the only distribution available + version = "1.11.1"; + format = "wheel"; # source currently requires pipenv src = fetchPypi { inherit pname version format; - sha256 = "1dzb68a8n8wvjppcmqdaqnh925b2dg6rywv51ac9q09zjxb6z11n"; + hash = "sha256-+GGuL3UngPDgLOGx9QXUdRJsTswhTg7d6zuvhpp0Mo0="; }; propagatedBuildInputs = [ altair - astor - base58 blinker - boto3 - botocore cachetools - click_7 - enum-compat - future + click GitPython + importlib-metadata jinja2 pillow protobuf @@ -68,6 +52,8 @@ in buildPythonApplication rec { pydeck pympler requests + rich + semver setuptools toml tornado