python314Packages.pydexcom: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-27 12:38:33 +01:00
committed by GitHub
parent a41d52a8d4
commit bd8ed7be1b
@@ -7,7 +7,7 @@
requests,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pydexcom";
version = "0.5.1";
pyproject = true;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "gagebenne";
repo = "pydexcom";
tag = version;
tag = finalAttrs.version;
hash = "sha256-u94OI45PmofPLpuJUpjbvGLla+mJEHy1t6/4fiI6+zc=";
};
@@ -34,8 +34,8 @@ buildPythonPackage rec {
meta = {
description = "Python API to interact with Dexcom Share service";
homepage = "https://github.com/gagebenne/pydexcom";
changelog = "https://github.com/gagebenne/pydexcom/releases/tag/${src.tag}";
changelog = "https://github.com/gagebenne/pydexcom/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})