1{ lib
2, aiohttp
3, buildPythonPackage
4, cryptography
5, fetchPypi
6, pythonOlder
7}:
8
9buildPythonPackage rec {
10 pname = "pymazda";
11 version = "0.3.7";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "sha256-1xreFjoHmdMirpxjVya30cw31fBaCPt877yqTr9By+A=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 cryptography
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "pymazda"
31 ];
32
33 meta = with lib; {
34 description = "Python client for interacting with the MyMazda API";
35 homepage = "https://github.com/bdr99/pymazda";
36 license = licenses.mit;
37 maintainers = with maintainers; [ fab ];
38 };
39}