1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "power";
8 version = "1.4";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "7d7d60ec332acbe3a7d00379b45e39abf650bf7ee311d61da5ab921f52f060f0";
13 };
14
15 # Tests can't work because there is no power information available.
16 doCheck = false;
17
18 meta = with lib; {
19 description = "Cross-platform system power status information";
20 homepage = "https://github.com/Kentzo/Power";
21 license = licenses.mit;
22 };
23
24}