pythpn3Packages.simplisafe-python: modernize

This commit is contained in:
Fabian Affolter
2026-06-30 22:07:34 +02:00
committed by GitHub
parent 2483ee9ff5
commit f3d7d953c3
@@ -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 ];
};
}
})