pythonPackages.batinfo: Move to own file

This commit is contained in:
Elis Hirwing
2018-03-31 12:00:18 +02:00
committed by Frederik Rietdijk
parent f14c61c933
commit fd15953272
2 changed files with 23 additions and 20 deletions

View File

@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "batinfo";
version = "0.3";
src = fetchPypi {
inherit pname version;
sha256 = "0gyzkxzvj5l6qrw706bnm3cckqzzzbrjr7jkxc087d7775a73499";
};
# 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 ];
};
}