From a646e79cda1e0079ea7d98d4f38abbd73db50d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 16 Jan 2021 13:59:24 +0100 Subject: [PATCH] python3Packages.aioesphomeapi: 2.6.3 -> 2.6.4 --- .../python-modules/aioesphomeapi/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aioesphomeapi/default.nix b/pkgs/development/python-modules/aioesphomeapi/default.nix index 6a128eb5239..03f1ed91cfd 100644 --- a/pkgs/development/python-modules/aioesphomeapi/default.nix +++ b/pkgs/development/python-modules/aioesphomeapi/default.nix @@ -1,16 +1,14 @@ -{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, attrs, protobuf, zeroconf }: +{ lib, buildPythonPackage, fetchPypi, isPy3k, attrs, protobuf, zeroconf }: buildPythonPackage rec { pname = "aioesphomeapi"; - version = "2.6.3"; + version = "2.6.4"; disabled = !isPy3k; - src = fetchFromGitHub { - owner = "esphome"; - repo = pname; - rev = "v${version}"; - sha256 = "1lbjxqdx63fc7qxx7xwq4b9dafmdafj7p1ggs48hyhbqfwkrv9p7"; + src = fetchPypi { + inherit pname version; + sha256 = "d8def7a909c0471479e1d8b0965de6bb7644b8de315d6e578f9d848b8a6812d0"; }; propagatedBuildInputs = [ attrs protobuf zeroconf ];