diff --git a/pkgs/development/python-modules/somfy-mylink-synergy/default.nix b/pkgs/development/python-modules/somfy-mylink-synergy/default.nix new file mode 100644 index 000000000000..b0fa5948c0da --- /dev/null +++ b/pkgs/development/python-modules/somfy-mylink-synergy/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index efe5f4268780..d6ba1bc526c9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8058,6 +8058,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 { };