2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
2018-03-31 12:00:18 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "batinfo";
|
2018-04-04 20:01:59 +02:00
|
|
|
version = "0.4.2";
|
2018-03-31 12:00:18 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:01:59 +02:00
|
|
|
sha256 = "497e29efc9353ec52e71d43bd040bdfb6d685137ddc2b9143cded4583af572f5";
|
2018-03-31 12:00:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/nicolargo/batinfo";
|
2018-03-31 12:00:18 +02:00
|
|
|
description = "A simple Python lib to retrieve battery information";
|
|
|
|
license = licenses.lgpl3;
|
2020-07-06 11:13:26 +02:00
|
|
|
platforms = platforms.linux;
|
2018-03-31 12:00:18 +02:00
|
|
|
maintainers = with maintainers; [ koral ];
|
|
|
|
};
|
|
|
|
}
|