python3Packages.teslemetry-stream: migrate to finalAttrs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
aiohttp,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "teslemetry-stream";
|
||||
version = "0.10.0";
|
||||
pyproject = true;
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Teslemetry";
|
||||
repo = "python-teslemetry-stream";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ko9H0qhstD9VnR5707E9BUdJG2/KGGLsUxQpQ8F28y4=";
|
||||
};
|
||||
|
||||
@@ -27,10 +27,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "teslemetry_stream" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Teslemetry/python-teslemetry-stream/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/Teslemetry/python-teslemetry-stream/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Python library for the Teslemetry Streaming API";
|
||||
homepage = "https://github.com/Teslemetry/python-teslemetry-stream";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user