18 buildPythonPackage rec {
19 pname = "bimmer-connected";
21 format = "setuptools";
23 disabled = pythonOlder "3.6";
25 src = fetchFromGitHub {
26 owner = "bimmerconnected";
27 repo = "bimmer_connected";
28 rev = "refs/tags/${version}";
29 hash = "sha256-69H0hB+yVmyzJ5A2Cb7ZcaaoRzMt618U+TUHYQ03/cY=";
36 PBR_VERSION = version;
38 propagatedBuildInputs = [
46 cp -R bimmer_connected/tests/responses $out/${python.sitePackages}/bimmer_connected/tests/
57 export TZDIR=${tzdata}/${python.sitePackages}/tzdata/zoneinfo
60 pythonImportsCheck = [
65 changelog = "https://github.com/bimmerconnected/bimmer_connected/releases/tag/${version}";
66 description = "Library to read data from the BMW Connected Drive portal";
67 homepage = "https://github.com/bimmerconnected/bimmer_connected";
68 license = licenses.asl20;
69 maintainers = with maintainers; [ dotlambda ];