mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 00:24:47 +00:00
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 ];
|
"yeelight" = ps: with ps; [ yeelight ];
|
||||||
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
|
"yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower
|
||||||
"yi" = ps: with ps; [ aioftp ha-ffmpeg ];
|
"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
|
"zabbix" = ps: with ps; [ ]; # missing inputs: py-zabbix
|
||||||
"zamg" = ps: with ps; [ ];
|
"zamg" = ps: with ps; [ ];
|
||||||
"zengge" = ps: with ps; [ ]; # missing inputs: zengge
|
"zengge" = ps: with ps; [ ]; # missing inputs: zengge
|
||||||
|
@ -722,6 +722,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"yandex_transport"
|
"yandex_transport"
|
||||||
"yandextts"
|
"yandextts"
|
||||||
"yeelight"
|
"yeelight"
|
||||||
|
"youless"
|
||||||
# disabled, because it tries to join a multicast group and fails to find a usable network interface
|
# disabled, because it tries to join a multicast group and fails to find a usable network interface
|
||||||
# "zeroconf"
|
# "zeroconf"
|
||||||
"zerproc"
|
"zerproc"
|
||||||
|
@ -9610,6 +9610,8 @@ in {
|
|||||||
|
|
||||||
yoda = toPythonModule (pkgs.yoda.override { inherit python; });
|
yoda = toPythonModule (pkgs.yoda.override { inherit python; });
|
||||||
|
|
||||||
|
youless-api = callPackage ../development/python-modules/youless-api { };
|
||||||
|
|
||||||
youtube-dl = callPackage ../tools/misc/youtube-dl { };
|
youtube-dl = callPackage ../tools/misc/youtube-dl { };
|
||||||
|
|
||||||
youtube-dl-light = callPackage ../tools/misc/youtube-dl {
|
youtube-dl-light = callPackage ../tools/misc/youtube-dl {
|
||||||
|
Loading…
Reference in New Issue
Block a user