pythpn3Packages.simplisafe-python: modernize
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
websockets,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "simplisafe-python";
|
||||
version = "2026.06.0";
|
||||
pyproject = true;
|
||||
@@ -26,13 +26,13 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = "simplisafe-python";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-e59h4zX0AuzNlR1sovw4QJ6zXxksElY5emEM9eTfjwI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
backoff
|
||||
beautifulsoup4
|
||||
@@ -69,10 +69,10 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/bachya/simplisafe-python/releases/tag/${version}";
|
||||
description = "Python library the SimpliSafe API";
|
||||
homepage = "https://simplisafe-python.readthedocs.io/";
|
||||
license = with lib.licenses; [ mit ];
|
||||
changelog = "https://github.com/bachya/simplisafe-python/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user