Merge pull request #136939 from fabaff/youless-api

python3Packages.youless-api: init at 0.12
This commit is contained in:
Anderson Torres 2021-09-07 01:14:32 -03:00 committed by GitHub
commit e80112450e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 1 deletions

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromBitbucket
, pythonOlder
, certifi
, chardet
, idna
, nose
, requests
, six
, urllib3
}:
buildPythonPackage rec {
pname = "youless-api";
version = "0.12";
disabled = pythonOlder "3.7";
src = fetchFromBitbucket {
owner = "jongsoftdev";
repo = "youless-python-bridge";
rev = version;
sha256 = "18hymahpblq87i7lv479sizj8mgxawjhj31g4j1lyna1mds3887k";
};
propagatedBuildInputs = [
certifi
chardet
idna
requests
six
urllib3
];
checkInputs = [
nose
];
pythonImportsCheck = [ "youless_api" ];
meta = with lib; {
description = "Python library for YouLess sensors";
homepage = "https://pypi.org/project/youless-api/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

@ -993,7 +993,7 @@
"yeelight" = ps: with ps; [ yeelight ];
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
"yi" = ps: with ps; [ aioftp ha-ffmpeg ];
"youless" = ps: with ps; [ ]; # missing inputs: youless-api
"youless" = ps: with ps; [ youless-api ];
"zabbix" = ps: with ps; [ ]; # missing inputs: py-zabbix
"zamg" = ps: with ps; [ ];
"zengge" = ps: with ps; [ ]; # missing inputs: zengge

@ -722,6 +722,7 @@ in with py.pkgs; buildPythonApplication rec {
"yandex_transport"
"yandextts"
"yeelight"
"youless"
# disabled, because it tries to join a multicast group and fails to find a usable network interface
# "zeroconf"
"zerproc"

@ -9610,6 +9610,8 @@ in {
yoda = toPythonModule (pkgs.yoda.override { inherit python; });
youless-api = callPackage ../development/python-modules/youless-api { };
youtube-dl = callPackage ../tools/misc/youtube-dl { };
youtube-dl-light = callPackage ../tools/misc/youtube-dl {