Merge pull request #112979 from fabaff/tellduslive
This commit is contained in:
commit
5f923d1e9e
36
pkgs/development/python-modules/tellduslive/default.nix
Normal file
36
pkgs/development/python-modules/tellduslive/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, docopt
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, requests_oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tellduslive";
|
||||
version = "0.10.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "molobrakos";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0aqhj6fq2z2qb4jyk23ygjicf5nlj8lkya7blkyqb7jra5k1gyg0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
requests
|
||||
requests_oauthlib
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "tellduslive" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to communicate with Telldus Live";
|
||||
homepage = "https://github.com/molobrakos/tellduslive";
|
||||
license = with licenses; [ unlicense ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -825,7 +825,7 @@
|
||||
"ted5000" = ps: with ps; [ xmltodict ];
|
||||
"telegram" = ps: with ps; [ pysocks aiohttp-cors python-telegram-bot ];
|
||||
"telegram_bot" = ps: with ps; [ pysocks aiohttp-cors python-telegram-bot ];
|
||||
"tellduslive" = ps: with ps; [ ]; # missing inputs: tellduslive
|
||||
"tellduslive" = ps: with ps; [ tellduslive ];
|
||||
"tellstick" = ps: with ps; [ ]; # missing inputs: tellcore-net tellcore-py
|
||||
"telnet" = ps: with ps; [ ];
|
||||
"temper" = ps: with ps; [ ]; # missing inputs: temperusb
|
||||
|
@ -7742,6 +7742,8 @@ in {
|
||||
|
||||
tensorly = callPackage ../development/python-modules/tensorly { };
|
||||
|
||||
tellduslive = callPackage ../development/python-modules/tellduslive { };
|
||||
|
||||
termcolor = callPackage ../development/python-modules/termcolor { };
|
||||
|
||||
terminado = callPackage ../development/python-modules/terminado { };
|
||||
|
Loading…
Reference in New Issue
Block a user