python3Packages.losant-rest: migrate to finalAttrs
- add changelog to meta
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "losant-rest";
|
||||
version = "2.1.1";
|
||||
pyproject = true;
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Losant";
|
||||
repo = "losant-rest-python";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B4r3ZCXt3jC/8vtBzct1HEBuMq9NpF2qOlmlhZk9a3Q=";
|
||||
};
|
||||
|
||||
@@ -36,7 +36,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module for consuming the Losant IoT Platform API";
|
||||
homepage = "https://github.com/Losant/losant-rest-python";
|
||||
changelog = "https://github.com/Losant/losant-rest-python/releases/tag/v${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user