mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
streamlit: 1.21.0 -> 1.24.0 (#240248)
Diff: https://github.com/streamlit/streamlit/compare/1.21.0...1.24.0 Changelog: https://github.com/streamlit/streamlit/releases/tag/1.24.0
This commit is contained in:
parent
deeac83220
commit
125bb92705
1 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue