pythonPackages/power: 1.2 -> 1.4

This fixes the build both for Python 2.7 and 3.
This commit is contained in:
Ambroz Bizjak 2016-03-16 13:04:21 +01:00
parent dca9630fae
commit 492c826a5d

View File

@ -24212,13 +24212,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;