From b0677353a3e5b9d85aca7ae4772df22661e5bda6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 12:59:31 +0200 Subject: [PATCH] python3Packages.pytradfri: 9.0.0 -> 11.0.0 --- pkgs/development/python-modules/pytradfri/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytradfri/default.nix b/pkgs/development/python-modules/pytradfri/default.nix index 1f523b60eaa0..f5cbce6bcc0b 100644 --- a/pkgs/development/python-modules/pytradfri/default.nix +++ b/pkgs/development/python-modules/pytradfri/default.nix @@ -4,12 +4,13 @@ , fetchFromGitHub , aiocoap , dtlssocket +, pydantic , pytestCheckHook }: buildPythonPackage rec { pname = "pytradfri"; - version = "9.0.0"; + version = "11.0.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,10 +18,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "pytradfri"; - rev = version; - hash = "sha256-12ol+2CnoPfkxmDGJJAkoafHGpQuWC4lh0N7lSvx2DE="; + rev = "refs/tags/${version}"; + hash = "sha256-+OOmoh2HLKiHAqOIH2aB4CZcW/ND/0bszgkcdRMYBlc="; }; + propagatedBuildInputs = [ + pydantic + ]; + passthru.optional-dependencies = { async = [ aiocoap