1{ lib
2, buildPythonPackage
3, docopt
4, fetchFromGitHub
5, requests
6, requests_oauthlib
7}:
8
9buildPythonPackage rec {
10 pname = "tellduslive";
11 version = "0.10.11";
12
13 src = fetchFromGitHub {
14 owner = "molobrakos";
15 repo = pname;
16 rev = "v${version}";
17 sha256 = "0aqhj6fq2z2qb4jyk23ygjicf5nlj8lkya7blkyqb7jra5k1gyg0";
18 };
19
20 propagatedBuildInputs = [
21 docopt
22 requests
23 requests_oauthlib
24 ];
25
26 # Project has no tests
27 doCheck = false;
28 pythonImportsCheck = [ "tellduslive" ];
29
30 meta = with lib; {
31 description = "Python module to communicate with Telldus Live";
32 homepage = "https://github.com/molobrakos/tellduslive";
33 license = with licenses; [ unlicense ];
34 maintainers = with maintainers; [ fab ];
35 };
36}