summary refs log tree commit diff
path: root/pkgs/development/python-modules/batinfo/default.nix
blob: 0ed3486272d353134389f50985be51937837d87e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, 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 lib; {
    homepage = "https://github.com/nicolargo/batinfo";
    description = "A simple Python lib to retrieve battery information";
    license = licenses.lgpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ koral ];
  };
}