Merge pull request #126983 from dotlambda/bimmer-connected-init

This commit is contained in:
Martin Weinelt 2021-06-16 15:31:02 +02:00 committed by GitHub
commit 91a7ca2c3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pbr
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bimmer-connected";
version = "0.7.15";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "bimmerconnected";
repo = "bimmer_connected";
rev = version;
sha256 = "193m16rrq7mfvzjcq823icdr9fp3i8grqqn3ci8zhcsq6w3vnb90";
};
nativeBuildInputs = [
pbr
];
PBR_VERSION = version;
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Library to read data from the BMW Connected Drive portal";
homepage = "https://github.com/bimmerconnected/bimmer_connected";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -94,7 +94,7 @@
"bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense "bme280" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense
"bme680" = ps: with ps; [ bme680 smbus-cffi ]; "bme680" = ps: with ps; [ bme680 smbus-cffi ];
"bmp280" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-bmp280 "bmp280" = ps: with ps; [ ]; # missing inputs: RPi.GPIO adafruit-circuitpython-bmp280
"bmw_connected_drive" = ps: with ps; [ ]; # missing inputs: bimmer_connected "bmw_connected_drive" = ps: with ps; [ bimmer-connected ];
"bond" = ps: with ps; [ bond-api ]; "bond" = ps: with ps; [ bond-api ];
"bosch_shc" = ps: with ps; [ aiohttp-cors boschshcpy ifaddr zeroconf ]; "bosch_shc" = ps: with ps; [ aiohttp-cors boschshcpy ifaddr zeroconf ];
"braviatv" = ps: with ps; [ bravia-tv ]; "braviatv" = ps: with ps; [ bravia-tv ];

View File

@ -310,6 +310,7 @@ in with py.pkgs; buildPythonApplication rec {
"blink" "blink"
"blueprint" "blueprint"
"bluetooth_le_tracker" "bluetooth_le_tracker"
"bmw_connected_drive"
"bond" "bond"
"bosch_shc" "bosch_shc"
"braviatv" "braviatv"

View File

@ -1055,6 +1055,8 @@ in {
billiard = callPackage ../development/python-modules/billiard { }; billiard = callPackage ../development/python-modules/billiard { };
bimmer-connected = callPackage ../development/python-modules/bimmer-connected { };
binaryornot = callPackage ../development/python-modules/binaryornot { }; binaryornot = callPackage ../development/python-modules/binaryornot { };
binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { }; binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };