Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
pkgs/applications/science/machine-learning/streamlit/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib, buildPythonApplication, fetchPypi | ||
, altair, astor, base58, blinker, boto3, botocore, click, enum-compat | ||
, future, pillow, protobuf, requests, toml, tornado, tzlocal, validators, watchdog | ||
, jinja2, setuptools | ||
}: | ||
|
||
buildPythonApplication rec { | ||
pname = "streamlit"; | ||
version = "0.49.0"; | ||
format = "wheel"; # the only distribution available | ||
|
||
src = fetchPypi { | ||
inherit pname version format; | ||
sha256 = "1g12z93yh85vcgf3g9banshllr5fhz8i4f9llymcnk6mafvcsiv7"; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
altair astor base58 blinker boto3 botocore click enum-compat | ||
future pillow protobuf requests toml tornado tzlocal validators watchdog | ||
jinja2 setuptools | ||
]; | ||
|
||
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; | ||
}; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters