From 93e6226740d8d01e90759aaa06f75ab94c8873d6 Mon Sep 17 00:00:00 2001 From: Harinn Date: Sat, 6 Jun 2026 08:52:06 +0700 Subject: [PATCH] python3Packages.bnnumerizer: modernize --- pkgs/development/python-modules/bnnumerizer/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/bnnumerizer/default.nix b/pkgs/development/python-modules/bnnumerizer/default.nix index 1a0f3eadb8ec..a5544f9f4557 100644 --- a/pkgs/development/python-modules/bnnumerizer/default.nix +++ b/pkgs/development/python-modules/bnnumerizer/default.nix @@ -5,13 +5,15 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "bnnumerizer"; version = "0.0.2"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-Qd9v0Le1GqTsR3a2ZDzt6+5f0R4zXX1W1KIMCFFeXw0="; }; @@ -28,4 +30,4 @@ buildPythonPackage rec { license = lib.licenses.mit; teams = [ lib.teams.tts ]; }; -} +})