8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
22 lines
559 B
Nix
22 lines
559 B
Nix
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "batinfo";
|
|
version = "0.4.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "497e29efc9353ec52e71d43bd040bdfb6d685137ddc2b9143cded4583af572f5";
|
|
};
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/nicolargo/batinfo";
|
|
description = "A simple Python lib to retrieve battery information";
|
|
license = licenses.lgpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ koral ];
|
|
};
|
|
}
|