diff options
| author | Fabian Affolter <mail@fabian-affolter.ch> | 2026-01-17 23:56:12 +0100 |
|---|---|---|
| committer | Fabian Affolter <mail@fabian-affolter.ch> | 2026-01-18 00:01:08 +0100 |
| commit | 232a75b8c582297a426d062c7462d753da34022e (patch) | |
| tree | c822df42a1428206075b60a23160ffc368c017d4 | |
| parent | fd353d9446bccb49217d466d95bb71727bf5121f (diff) | |
python313Packages.streamlit: migrate to finalAttrs
| -rw-r--r-- | pkgs/development/python-modules/streamlit/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/streamlit/default.nix b/pkgs/development/python-modules/streamlit/default.nix index f61467d882d3..a59295d5d6fb 100644 --- a/pkgs/development/python-modules/streamlit/default.nix +++ b/pkgs/development/python-modules/streamlit/default.nix @@ -25,19 +25,17 @@ watchdog, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "streamlit"; version = "1.53.0"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-ARQRbTRYny5lK/Ssc1o6ymmAfmWfkvmcmOe2INAAg48="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; pythonRelaxDeps = [ "packaging" ]; @@ -74,7 +72,7 @@ buildPythonPackage rec { meta = { homepage = "https://streamlit.io/"; - changelog = "https://github.com/streamlit/streamlit/releases/tag/${version}"; + changelog = "https://github.com/streamlit/streamlit/releases/tag/${finalAttrs.version}"; description = "Fastest way to build custom ML tools"; mainProgram = "streamlit"; maintainers = with lib.maintainers; [ @@ -83,4 +81,4 @@ buildPythonPackage rec { ]; license = lib.licenses.asl20; }; -} +}) |
