From a819228fb9054eaa166240fed2b3dc17a422d82f Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 31 Jul 2026 23:35:57 +0700 Subject: [PATCH] python3Packages.sphinxcontrib-excel-table: modernize --- .../python-modules/sphinxcontrib-excel-table/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix b/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix index f493516d2565..5ddf2c11466d 100644 --- a/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-excel-table/default.nix @@ -7,13 +7,15 @@ openpyxl, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sphinxcontrib-excel-table"; version = "1.0.8"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256:1q79byn3k3ribvwqafbpixwabjhymk46ns8ym0hxcn8vhf5nljzd"; }; @@ -37,4 +39,4 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ raboof ]; license = lib.licenses.asl20; }; -} +})