2019-10-10 15:09:26 +02:00
|
|
|
{ lib, buildPythonApplication, fetchPypi
|
|
|
|
, altair, astor, base58, blinker, boto3, botocore, click, enum-compat
|
2020-09-15 20:19:26 +02:00
|
|
|
, future, pillow, protobuf, requests, toml, tornado_5, tzlocal, validators, watchdog
|
2019-10-10 15:09:26 +02:00
|
|
|
, jinja2, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "streamlit";
|
2019-11-15 08:35:43 +01:00
|
|
|
version = "0.50.2";
|
2019-10-10 15:09:26 +02:00
|
|
|
format = "wheel"; # the only distribution available
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version format;
|
2019-11-15 08:35:43 +01:00
|
|
|
sha256 = "1wymv7qckafs0p2jdjlxjaf1xrhm3iyd185jkldanbb0na5n3ndz";
|
2019-10-10 15:09:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
altair astor base58 blinker boto3 botocore click enum-compat
|
2020-09-15 20:19:26 +02:00
|
|
|
future pillow protobuf requests toml tornado_5 tzlocal validators watchdog
|
2019-10-10 15:09:26 +02:00
|
|
|
jinja2 setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/bin/streamlit.cmd # remove windows helper
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://streamlit.io/";
|
2019-10-10 15:09:26 +02:00
|
|
|
description = "The fastest way to build custom ML tools";
|
|
|
|
maintainers = with maintainers; [ yrashk ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|