Merge pull request #136939 from fabaff/youless-api
python3Packages.youless-api: init at 0.12
This commit is contained in:
commit
e80112450e
48
pkgs/development/python-modules/youless-api/default.nix
Normal file
48
pkgs/development/python-modules/youless-api/default.nix
Normal file
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user