mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
72 lines
1.1 KiB
Nix
Executable File
72 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;
|
|
};
|
|
}
|