Merge pull request #123174 from fabaff/pydelijn
This commit is contained in:
commit
97f0aed2a0
37
pkgs/development/python-modules/pydelijn/default.nix
Normal file
37
pkgs/development/python-modules/pydelijn/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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; [ ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue