1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchPypi
5, aiohttp
6, python-dateutil
7}:
8
9buildPythonPackage rec {
10 pname = "pyflick";
11 version = "0.0.2";
12
13 disabled = pythonOlder "3.6";
14
15 src = fetchPypi {
16 pname = "PyFlick";
17 inherit version;
18 sha256 = "705c82d8caedfff19117c8859cc1b4f56e15ab8dbc0d64d63b79d8634007897f";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 python-dateutil
24 ];
25
26 # no tests implemented
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "pyflick"
31 "pyflick.authentication"
32 ];
33
34 meta = with lib; {
35 description = "Python API For Flick Electric in New Zealand";
36 homepage = "https://github.com/ZephireNZ/PyFlick";
37 license = licenses.mit;
38 maintainers = with maintainers; [ dotlambda ];
39 };
40}