1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "batinfo";
5 version = "0.4.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "497e29efc9353ec52e71d43bd040bdfb6d685137ddc2b9143cded4583af572f5";
10 };
11
12 # No tests included
13 doCheck = false;
14
15 meta = with lib; {
16 homepage = "https://github.com/nicolargo/batinfo";
17 description = "A simple Python lib to retrieve battery information";
18 license = licenses.lgpl3;
19 platforms = platforms.linux;
20 maintainers = with maintainers; [ koral ];
21 };
22}