mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #203249 from aaronjheng/streamlit
streamlit: 1.13.0 -> 1.15.0
This commit is contained in:
commit
d2504ace98
@ -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; {
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user