streamlit: 1.13.0 -> 1.15.0

This commit is contained in:
Aaron Jheng 2022-11-27 12:46:45 +00:00
parent 05198111c2
commit 8bed9cc42f
No known key found for this signature in database
GPG key ID: F6A547A869D050A3
2 changed files with 37 additions and 31 deletions

View file

@ -1,41 +1,41 @@
{ {
# Nix # Nix
lib, lib
buildPythonApplication, , buildPythonApplication
fetchPypi, , fetchPypi
, # Build inputs
# Build inputs altair
altair, , blinker
blinker, , click
click, , cachetools
cachetools, , GitPython
GitPython, , importlib-metadata
importlib-metadata, , jinja2
jinja2, , pillow
pillow, , pyarrow
pyarrow, , pydeck
pydeck, , pympler
pympler, , protobuf3
protobuf, , requests
requests, , rich
rich, , semver
semver, , setuptools
setuptools, , toml
toml, , tornado
tornado, , tzlocal
tzlocal, , validators
validators, , watchdog
watchdog, ,
}: }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "streamlit"; pname = "streamlit";
version = "1.13.0"; version = "1.15.0";
format = "wheel"; # source currently requires pipenv format = "wheel"; # source currently requires pipenv
src = fetchPypi { src = fetchPypi {
inherit pname version format; inherit pname version format;
hash = "sha256-MjGm9CT4p/Nl3J5G1Pu2ajY0/VcMdHabimn3ktkoXTo="; hash = "sha256-QtBr3INWBwCBab+FzmvzrjGjwVVHC8NCET9wtRVeVbc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -47,7 +47,7 @@ buildPythonApplication rec {
importlib-metadata importlib-metadata
jinja2 jinja2
pillow pillow
protobuf protobuf3
pyarrow pyarrow
pydeck pydeck
pympler pympler
@ -63,7 +63,7 @@ buildPythonApplication rec {
]; ];
postInstall = '' postInstall = ''
rm $out/bin/streamlit.cmd # remove windows helper rm $out/bin/streamlit.cmd # remove windows helper
''; '';
meta = with lib; { meta = with lib; {

View file

@ -7354,11 +7354,17 @@ self: super: with self; {
proto-plus = callPackage ../development/python-modules/proto-plus { }; proto-plus = callPackage ../development/python-modules/proto-plus { };
# Protobuf 4.x
protobuf = callPackage ../development/python-modules/protobuf { protobuf = callPackage ../development/python-modules/protobuf {
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version. # If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
inherit (pkgs) protobuf; inherit (pkgs) protobuf;
}; };
# Protobuf 3.x
protobuf3 = callPackage ../development/python-modules/protobuf {
protobuf = pkgs.protobuf3_20;
};
protobuf3-to-dict = callPackage ../development/python-modules/protobuf3-to-dict { }; protobuf3-to-dict = callPackage ../development/python-modules/protobuf3-to-dict { };
proton-client = callPackage ../development/python-modules/proton-client { }; proton-client = callPackage ../development/python-modules/proton-client { };