From 32889165e040ae599113daa004fb42101cec7209 Mon Sep 17 00:00:00 2001 From: Ambroz Bizjak Date: Wed, 16 Mar 2016 13:04:21 +0100 Subject: [PATCH] pythonPackages/power: 1.2 -> 1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the build both for Python 2.7 and 3. (cherry picked from commit 492c826a5d5a310dba3aef053f6f6e091ce706a6) Signed-off-by: Domen Kožar --- pkgs/top-level/python-packages.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 10ebe0536df0..2559d695bfff 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -23961,13 +23961,16 @@ in modules // { }; power = buildPythonPackage rec { - name = "power-1.2"; + name = "power-1.4"; src = pkgs.fetchurl { - url = "http://pypi.python.org/packages/source/p/power/${name}.tar.gz"; - sha256 = "09a00af8357f63dbb1a1eb13b82e39ccc0a14d6d2e44e5b235afe60ce8ee8195"; + url = "https://pypi.python.org/packages/source/p/power/${name}.tar.gz"; + sha256 = "7d7d60ec332acbe3a7d00379b45e39abf650bf7ee311d61da5ab921f52f060f0"; }; + # Tests can't work because there is no power information available. + doCheck = false; + meta = { description = "Cross-platform system power status information"; homepage = https://github.com/Kentzo/Power;