OTABI Tomoya 2023-06-29 00:08:47 +09:00 committed by GitHub
parent deeac83220
commit 125bb92705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@
, rich
, semver
, setuptools
, tenacity
, toml
, tornado
, tzlocal
@ -26,12 +27,12 @@
buildPythonApplication rec {
pname = "streamlit";
version = "1.21.0";
format = "wheel"; # source currently requires pipenv
version = "1.24.0";
format = "setuptools";
src = fetchPypi {
inherit pname version format;
hash = "sha256-BYYlmJUqkSbhZlLKpbyI7u6nsnc68lLi2szxyEzqrvQ=";
hash = "sha256-NSX6zpTHh5JzPFbWOja0iEUVDjume7UKGa20xZdagiU=";
};
propagatedBuildInputs = [
@ -51,6 +52,7 @@ buildPythonApplication rec {
rich
semver
setuptools
tenacity
toml
tornado
tzlocal
@ -58,12 +60,20 @@ buildPythonApplication rec {
watchdog
];
# pypi package does not include the tests, but cannot be built with fetchFromGitHub
doCheck = false;
pythonImportsCheck = [
"streamlit"
];
postInstall = ''
rm $out/bin/streamlit.cmd # remove windows helper
'';
meta = with lib; {
homepage = "https://streamlit.io/";
changelog = "https://github.com/streamlit/streamlit/releases/tag/${version}";
description = "The fastest way to build custom ML tools";
maintainers = with maintainers; [ yrashk ];
license = licenses.asl20;