pythonPackages.batinfo: Move to own file
This commit is contained in:
committed by
Frederik Rietdijk
parent
f14c61c933
commit
fd15953272
22
pkgs/development/python-modules/batinfo/default.nix
Normal file
22
pkgs/development/python-modules/batinfo/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user