python314Packages.pydexcom: migrate to finalAttrs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user