Merge pull request #203249 from aaronjheng/streamlit

streamlit: 1.13.0 -> 1.15.0
This commit is contained in:
Robert Scott 2022-11-27 23:10:22 +00:00 committed by GitHub
commit d2504ace98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 31 deletions

View file

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

View file

@ -7354,11 +7354,17 @@ self: super: with self; {
proto-plus = callPackage ../development/python-modules/proto-plus { };
# Protobuf 4.x
protobuf = callPackage ../development/python-modules/protobuf {
# If a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version.
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 { };
proton-client = callPackage ../development/python-modules/proton-client { };