python3Packages.sybil: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-08-23 10:25:28 +02:00
parent 48cf1eb80f
commit 2bb81d73ef

View File

@@ -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 = [ ];
};
}
})