From 6c2cab09bfcede5b72ebb4fa77b089e909005861 Mon Sep 17 00:00:00 2001 From: Harinn Date: Thu, 13 Aug 2026 22:36:20 +0700 Subject: [PATCH] python3Packages.dash-table: modernize --- pkgs/development/python-modules/dash-table/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/dash-table/default.nix b/pkgs/development/python-modules/dash-table/default.nix index 6771fbe6e39e..fd2de08e25a1 100644 --- a/pkgs/development/python-modules/dash-table/default.nix +++ b/pkgs/development/python-modules/dash-table/default.nix @@ -5,14 +5,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "dash-table"; version = "5.0.0"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { pname = "dash_table"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-GGJNaT1MjvLd7Jmm8WdZNDen6gvxU6og8xjBcMW8cwg="; }; @@ -27,4 +29,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +})