From bb28b3e80fe6e394a809bf7393c4d551c30247b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 22 May 2018 12:08:38 +0200 Subject: [PATCH] pythonPackages.pyhomematic: 0.1.42 -> 0.1.43 --- .../python-modules/pyhomematic/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pyhomematic/default.nix b/pkgs/development/python-modules/pyhomematic/default.nix index 0967659a641f..ea364c09b807 100644 --- a/pkgs/development/python-modules/pyhomematic/default.nix +++ b/pkgs/development/python-modules/pyhomematic/default.nix @@ -1,19 +1,17 @@ -{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub }: +{ stdenv, buildPythonPackage, isPy3k, fetchPypi }: buildPythonPackage rec { pname = "pyhomematic"; - version = "0.1.42"; + version = "0.1.43"; disabled = !isPy3k; - # PyPI tarball does not include tests/ directory - src = fetchFromGitHub { - owner = "danielperna84"; - repo = pname; - rev = version; - sha256 = "0h7bq66q22kzj1xwhxmr7knibsmb4csjwq3jr19fyl9sxxmgqwqy"; + src = fetchPypi { + inherit pname version; + sha256 = "0b6f4f5c8ddca15e0a1df367bafdffb2f08f1e42f17c78b9470573287e5b20bc"; }; + # PyPI tarball does not include tests/ directory # Unreliable timing: https://github.com/danielperna84/pyhomematic/issues/126 doCheck = false;