Merge pull request #114587 from fabaff/pytankerkoenig

This commit is contained in:
Sandro 2021-02-28 00:34:47 +01:00 committed by GitHub
commit d65005f2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pytankerkoenig";
version = "0.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "021fg1a4n3527fz86zxfbsi0jrk0dnai1y92q6hwh5za68lrs710";
};
# Tests require an API key and network access
doCheck = false;
pythonImportsCheck = [ "pytankerkoenig" ];
meta = with lib; {
description = "Python module to get fuel data from tankerkoenig.de";
homepage = "https://github.com/ultrara1n/pytankerkoenig";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -817,7 +817,7 @@
"tag" = ps: with ps; [ ];
"tahoma" = ps: with ps; [ tahoma-api ];
"tank_utility" = ps: with ps; [ ]; # missing inputs: tank_utility
"tankerkoenig" = ps: with ps; [ ]; # missing inputs: pytankerkoenig
"tankerkoenig" = ps: with ps; [ pytankerkoenig ];
"tapsaff" = ps: with ps; [ ]; # missing inputs: tapsaff
"tasmota" = ps: with ps; [ aiohttp-cors hatasmota paho-mqtt ];
"tautulli" = ps: with ps; [ ]; # missing inputs: pytautulli

View file

@ -6109,6 +6109,8 @@ in {
pytaglib = callPackage ../development/python-modules/pytaglib { };
pytankerkoenig = callPackage ../development/python-modules/pytankerkoenig { };
pyte = callPackage ../development/python-modules/pyte { };
pytelegrambotapi = callPackage ../development/python-modules/pyTelegramBotAPI { };