Merge pull request #128611 from dotlambda/somfy-mylink-synergy-init

This commit is contained in:
Sandro 2021-06-30 00:23:02 +02:00 committed by GitHub
commit dfa4fab835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "somfy-mylink-synergy";
version = "1.0.6";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "bendews";
repo = "somfy-mylink-synergy";
rev = "v${version}";
sha256 = "1aa178b5lxdzfa4z7sjw6ky39dkfazp7dqs9dq78z2zay2sqgmgr";
};
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "somfy_mylink_synergy" ];
meta = with lib; {
description = "Python API to utilise the Somfy Synergy JsonRPC API";
homepage = "https://github.com/bendews/somfy-mylink-synergy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -785,7 +785,7 @@
"solax" = ps: with ps; [ solax ];
"soma" = ps: with ps; [ pysoma ];
"somfy" = ps: with ps; [ aiohttp-cors pymfy ];
"somfy_mylink" = ps: with ps; [ ]; # missing inputs: somfy-mylink-synergy
"somfy_mylink" = ps: with ps; [ somfy-mylink-synergy ];
"sonarr" = ps: with ps; [ sonarr ];
"songpal" = ps: with ps; [ python-songpal ];
"sonos" = ps: with ps; [ aiohttp-cors plexapi plexauth plexwebsocket pysonos ];

View file

@ -667,6 +667,7 @@ in with py.pkgs; buildPythonApplication rec {
"solaredge"
"soma"
"somfy"
"somfy_mylink"
"sonarr"
"songpal"
"sonos"

View file

@ -8062,6 +8062,8 @@ in {
somecomfort = callPackage ../development/python-modules/somecomfort { };
somfy-mylink-synergy = callPackage ../development/python-modules/somfy-mylink-synergy { };
sonarr = callPackage ../development/python-modules/sonarr { };
sopel = callPackage ../development/python-modules/sopel { };