Merge pull request #123174 from fabaff/pydelijn

This commit is contained in:
Martin Weinelt 2021-05-17 17:41:15 +02:00 committed by GitHub
commit 97f0aed2a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "pydelijn";
version = "0.6.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1lwd2f043hy7gf1ly9zpaq1yg947bqw2af8vhwssf48zpisfgc81";
};
propagatedBuildInputs = [
aiohttp
async-timeout
pytz
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydelijn" ];
meta = with lib; {
description = "Python package to retrieve realtime data of passages at stops of De Lijn";
homepage = "https://github.com/bollewolle/pydelijn";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -157,7 +157,7 @@
"decora" = ps: with ps; [ bluepy ]; # missing inputs: decora
"decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi
"default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa netdisco pillow pyroute2 scapy sqlalchemy zeroconf ];
"delijn" = ps: with ps; [ ]; # missing inputs: pydelijn
"delijn" = ps: with ps; [ pydelijn ];
"deluge" = ps: with ps; [ deluge-client ];
"demo" = ps: with ps; [ aiohttp-cors ];
"denon" = ps: with ps; [ ];

View file

@ -5519,6 +5519,8 @@ in {
pydeconz = callPackage ../development/python-modules/pydeconz { };
pydelijn = callPackage ../development/python-modules/pydelijn { };
pydenticon = callPackage ../development/python-modules/pydenticon { };
pydexcom = callPackage ../development/python-modules/pydexcom { };