19 buildPythonPackage rec {
20 pname = "bimmer-connected";
24 disabled = pythonOlder "3.6";
26 src = fetchFromGitHub {
27 owner = "bimmerconnected";
28 repo = "bimmer_connected";
29 rev = "refs/tags/${version}";
30 hash = "sha256-/FL9czp5x/BcKSXXzT19kgGiPFd61BpU7HLtgyyHlIs=";
38 PBR_VERSION = version;
40 propagatedBuildInputs = [
46 passthru.optional-dependencies = {
53 cp -R bimmer_connected/tests/responses $out/${python.sitePackages}/bimmer_connected/tests/
61 ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies);
64 # presumably regressed in pytest-asyncio 0.23.0
65 "test_get_remote_position_too_old"
69 export TZDIR=${tzdata}/${python.sitePackages}/tzdata/zoneinfo
72 pythonImportsCheck = [
77 changelog = "https://github.com/bimmerconnected/bimmer_connected/releases/tag/${version}";
78 description = "Library to read data from the BMW Connected Drive portal";
79 mainProgram = "bimmerconnected";
80 homepage = "https://github.com/bimmerconnected/bimmer_connected";
81 license = licenses.asl20;
82 maintainers = with maintainers; [ dotlambda ];