Merge pull request #139425 from fabaff/pynello

This commit is contained in:
Martin Weinelt 2021-09-28 13:27:20 +02:00 committed by GitHub
commit a478224e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, python-dateutil
, pythonOlder
, requests
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "pynello";
version = "2.0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pschmitt";
repo = pname;
rev = version;
sha256 = "015rlccsn2vff9if82rjj2fza3bjbmawqhamc22wq40gq7pbfk5i";
};
propagatedBuildInputs = [
python-dateutil
requests
requests_oauthlib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pynello" ];
meta = with lib; {
description = "Python library for nello.io intercoms";
homepage = "https://github.com/pschmitt/pynello";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -558,7 +558,7 @@
"nanoleaf" = ps: with ps; [ pynanoleaf ];
"neato" = ps: with ps; [ aiohttp-cors pybotvac ];
"nederlandse_spoorwegen" = ps: with ps; [ nsapi ];
"nello" = ps: with ps; [ ]; # missing inputs: pynello
"nello" = ps: with ps; [ pynello ];
"ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient
"nest" = ps: with ps; [ aiohttp-cors ha-ffmpeg python-nest ]; # missing inputs: google-nest-sdm
"netatmo" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyatmo ];

View File

@ -6550,6 +6550,8 @@ in {
inherit (pkgs) coreutils which;
};
pynello = callPackage ../development/python-modules/pynello { };
pynest2d = callPackage ../development/python-modules/pynest2d { };
pynetbox = callPackage ../development/python-modules/pynetbox { };