1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6 python-dateutil,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "pyplaato";
12 version = "0.0.19";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-hu45sofG7QiWZVCE1JrZZMBXWmQ/v0sK8QJlN+VBe+U=";
20 };
21
22 propagatedBuildInputs = [
23 aiohttp
24 python-dateutil
25 ];
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "pyplaato" ];
31
32 meta = with lib; {
33 description = "Python API client for fetching Plaato data";
34 homepage = "https://github.com/JohNan/pyplaato";
35 license = licenses.mit;
36 maintainers = with maintainers; [ fab ];
37 };
38}