From e95ff796f2de7da171ffbe954563e4a9619f0899 Mon Sep 17 00:00:00 2001 From: Harinn Date: Mon, 7 Sep 2026 18:39:25 +0700 Subject: [PATCH] python3Packages.sqlite-fts4: modernize --- pkgs/development/python-modules/sqlite-fts4/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sqlite-fts4/default.nix b/pkgs/development/python-modules/sqlite-fts4/default.nix index 754734f0c75e..8e12e8327f0f 100644 --- a/pkgs/development/python-modules/sqlite-fts4/default.nix +++ b/pkgs/development/python-modules/sqlite-fts4/default.nix @@ -6,15 +6,17 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sqlite-fts4"; version = "1.0.3"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "simonw"; repo = "sqlite-fts4"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Ibiows3DSnzjIUv7U9tYNVnDaecBBxjXzDqxbIlNhhU="; }; @@ -30,4 +32,4 @@ buildPythonPackage rec { license = lib.licenses.asl20; maintainers = with lib.maintainers; [ meatcar ]; }; -} +})