a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
71 lines
1.1 KiB
Nix
Executable file
71 lines
1.1 KiB
Nix
Executable file
{ lib
|
|
, altair
|
|
, blinker
|
|
, buildPythonApplication
|
|
, cachetools
|
|
, click
|
|
, fetchPypi
|
|
, gitpython
|
|
, importlib-metadata
|
|
, jinja2
|
|
, pillow
|
|
, protobuf3
|
|
, pyarrow
|
|
, pydeck
|
|
, pympler
|
|
, requests
|
|
, rich
|
|
, semver
|
|
, setuptools
|
|
, toml
|
|
, tornado
|
|
, tzlocal
|
|
, validators
|
|
, watchdog
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "streamlit";
|
|
version = "1.16.0";
|
|
format = "wheel"; # source currently requires pipenv
|
|
|
|
src = fetchPypi {
|
|
inherit pname version format;
|
|
hash = "sha256-TBNWIe3m646dbnOMxUltkNZr23g0Dqsestvxl4zHr4A=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
altair
|
|
blinker
|
|
cachetools
|
|
click
|
|
gitpython
|
|
importlib-metadata
|
|
jinja2
|
|
pillow
|
|
protobuf3
|
|
pyarrow
|
|
pydeck
|
|
pympler
|
|
requests
|
|
rich
|
|
semver
|
|
setuptools
|
|
toml
|
|
tornado
|
|
tzlocal
|
|
validators
|
|
watchdog
|
|
];
|
|
|
|
postInstall = ''
|
|
rm $out/bin/streamlit.cmd # remove windows helper
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://streamlit.io/";
|
|
description = "The fastest way to build custom ML tools";
|
|
maintainers = with maintainers; [ yrashk ];
|
|
license = licenses.asl20;
|
|
};
|
|
}
|