python3Packages.youless-api: init at 0.12
This commit is contained in:
parent
d9de842f58
commit
d697b79dce
2 changed files with 50 additions and 0 deletions
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 ];
|
||||
};
|
||||
}
|
|
@ -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 a new issue