git.iko.soy/typeable/nixpkgs
on master help sign in
streamlit: init at 0.49.0
commit2e52f98ddbe9ddd91f65f8df471d84e1e4077bdf authorYurii Rashkovskii <yrashk@gmail.com> dateThu 10 Oct 2019, 20:09 (7 years ago) parent874201a
2 files changed+36
pkgs/applications/science/machine-learning/streamlit/default.nix+34 pkgs/top-level/all-packages.nix+2
pkgs/applications/science/machine-learning/streamlit/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ lib, buildPythonApplication, fetchPypi
2+ , altair, astor, base58, blinker, boto3, botocore, click, enum-compat
3+ , future, pillow, protobuf, requests, toml, tornado, tzlocal, validators, watchdog
4+ , jinja2, setuptools
5+}:
6+
7+buildPythonApplication rec {
8+ pname = "streamlit";
9+ version = "0.49.0";
10+ format = "wheel"; # the only distribution available
11+
12+ src = fetchPypi {
13+ inherit pname version format;
14+ sha256 = "1g12z93yh85vcgf3g9banshllr5fhz8i4f9llymcnk6mafvcsiv7";
15+ };
16+
17+ propagatedBuildInputs = [
18+ altair astor base58 blinker boto3 botocore click enum-compat
19+ future pillow protobuf requests toml tornado tzlocal validators watchdog
20+ jinja2 setuptools
21+ ];
22+
23+ postInstall = ''
24+ rm $out/bin/streamlit.cmd # remove windows helper
25+ '';
26+
27+ meta = with lib; {
28+ homepage = https://streamlit.io/;
29+ description = "The fastest way to build custom ML tools";
30+ maintainers = with maintainers; [ yrashk ];
31+ license = licenses.asl20;
32+ };
33+
34+}
pkgs/top-level/all-packages.nix+2
@@ -22900,6 +22900,8 @@ in
2290022900 ffmpeg = ffmpeg_2;
2290122901 };
2290222902
22903+ streamlit = python3Packages.callPackage ../applications/science/machine-learning/streamlit { };
22904+
2290322905 stuntrally = callPackage ../games/stuntrally {
2290422906 ogre = ogre1_9;
2290522907 mygui = mygui.override {