Merge pull request #110368 from fabaff/python-wink

This commit is contained in:
Sandro 2021-01-21 19:49:34 +01:00 committed by GitHub
commit 39b25bbbb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-wink";
version = "1.10.5";
src = fetchPypi {
inherit pname version;
sha256 = "1r6qabnqxyy3llnj10z60d4w9pg2zabysl3l7znpy1adss4ywxl0";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pywink" ];
meta = with lib; {
description = "Python implementation of the Wink API";
homepage = "https://github.com/python-wink/python-wink";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -927,7 +927,7 @@
"whois" = ps: with ps; [ python-whois ];
"wiffi" = ps: with ps; [ ]; # missing inputs: wiffi
"wilight" = ps: with ps; [ pywilight ];
"wink" = ps: with ps; [ aiohttp-cors pubnubsub-handler ]; # missing inputs: python-wink
"wink" = ps: with ps; [ aiohttp-cors pubnubsub-handler python-wink ];
"wirelesstag" = ps: with ps; [ ]; # missing inputs: wirelesstagpy
"withings" = ps: with ps; [ aiohttp-cors ]; # missing inputs: withings-api
"wled" = ps: with ps; [ wled ];

View file

@ -6349,6 +6349,8 @@ in {
python-wifi = callPackage ../development/python-modules/python-wifi { };
python-wink = callPackage ../development/python-modules/python-wink { };
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
pyeverlights = callPackage ../development/python-modules/pyeverlights { };