From 97db29e2a837c4fccfab3e10f24bf0bfcc7aa34f Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 5 Jul 2026 23:58:23 +0200 Subject: [PATCH] python3Packages.socialscan: use finalAttrs --- pkgs/development/python-modules/socialscan/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/socialscan/default.nix b/pkgs/development/python-modules/socialscan/default.nix index 332f648317c4..073553c1e196 100644 --- a/pkgs/development/python-modules/socialscan/default.nix +++ b/pkgs/development/python-modules/socialscan/default.nix @@ -8,7 +8,7 @@ tqdm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "socialscan"; version = "2.0.1"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "iojw"; repo = "socialscan"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck="; }; @@ -37,8 +37,8 @@ buildPythonPackage rec { description = "Python library and CLI for accurately querying username and email usage on online platforms"; mainProgram = "socialscan"; homepage = "https://github.com/iojw/socialscan"; - changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}"; + changelog = "https://github.com/iojw/socialscan/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ mpl20 ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})