From 2bb81d73efc05e355c1a7b150ebd305d8b328404 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Aug 2026 10:25:28 +0200 Subject: [PATCH] python3Packages.sybil: migrate to finalAttrs --- pkgs/development/python-modules/sybil/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sybil/default.nix b/pkgs/development/python-modules/sybil/default.nix index 954314c66823..9dae0d45bc7c 100644 --- a/pkgs/development/python-modules/sybil/default.nix +++ b/pkgs/development/python-modules/sybil/default.nix @@ -5,7 +5,7 @@ hatchling, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sybil"; version = "10.1.0"; pyproject = true; @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "simplistix"; repo = "sybil"; - tag = version; + tag = finalAttrs.version; hash = "sha256-wRJ43CzatyP5VuCZSF+6Eh1kGmdNhbzDPoBHbV/96oo="; }; @@ -27,8 +27,8 @@ buildPythonPackage rec { meta = { description = "Automated testing for the examples in your documentation"; homepage = "https://github.com/cjw296/sybil"; - changelog = "https://github.com/simplistix/sybil/blob/${src.tag}/CHANGELOG.rst"; + changelog = "https://github.com/simplistix/sybil/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})