depot/third_party/nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix
Default email 74492c8629 Project import generated by Copybara.
GitOrigin-RevId: cb372c3b8880e504b06946e8fb2ca9777c685505
2021-12-25 13:07:40 +08:00

52 lines
940 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pbr
, requests
, pycryptodome
, pyjwt
, pytestCheckHook
, requests-mock
, time-machine
}:
buildPythonPackage rec {
pname = "bimmer-connected";
version = "0.8.5";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bimmerconnected";
repo = "bimmer_connected";
rev = version;
hash = "sha256-twVI84YCW+t9ar2vHN1OEiY5tT4/pHP29GnpWprdeHs=";
};
nativeBuildInputs = [
pbr
];
PBR_VERSION = version;
propagatedBuildInputs = [
requests
pycryptodome
pyjwt
];
checkInputs = [
pytestCheckHook
requests-mock
time-machine
];
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 ];
};
}