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