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
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 { };