diff --git a/pkgs/development/python-modules/loqedapi/default.nix b/pkgs/development/python-modules/loqedapi/default.nix index 4b58b061a009..453ced453d90 100644 --- a/pkgs/development/python-modules/loqedapi/default.nix +++ b/pkgs/development/python-modules/loqedapi/default.nix @@ -5,27 +5,23 @@ buildPythonPackage, fetchFromGitHub, setuptools, - wheel, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "loqedapi"; - version = "2.1.10"; + version = "2.1.11"; pyproject = true; src = fetchFromGitHub { owner = "cpolhout"; repo = "loqedAPI"; - tag = "v${version}"; - hash = "sha256-IYzrGqql6mmm+FmasxFJvKgHvg7n81WOu+GGAEQ1+Os="; + tag = "v${finalAttrs.version}"; + hash = "sha256-DLnjIq0YQIspPWYP9KT0UZ9UPGg5SOjYuVM7XqCUqTo="; }; - nativeBuildInputs = [ - setuptools - wheel - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp async-timeout ]; @@ -38,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Module to interact with the Loqed Smart Door Lock API"; homepage = "https://github.com/cpolhout/loqedAPI"; - changelog = "https://github.com/cpolhout/loqedAPI/releases/tag/v${version}"; + changelog = "https://github.com/cpolhout/loqedAPI/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ fab ]; }; -} +})