summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-08-04 21:57:10 +0100
committerRobert Scott <code@humanleg.org.uk>2022-08-06 00:04:36 +0100
commit4b7937fd7b735caa6ef46aee4318f9007e51c195 (patch)
tree5ed23fe4df7029737d3458f22f7b4790c7b3e9c7
parentadc0ce4b6fb98554f671780497b883659673fa8d (diff)
downloadnixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar.gz
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar.bz2
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar.lz
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar.xz
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.tar.zst
nixpkgs-4b7937fd7b735caa6ef46aee4318f9007e51c195.zip
streamlit: 1.2.0 -> 1.11.1
-rwxr-xr-xpkgs/applications/science/machine-learning/streamlit/default.nix36
1 files 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 f439b113d1a..2b05566e264 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