3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix
2021-08-18 11:51:29 +02:00

44 lines
802 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pbr
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "bimmer-connected";
version = "0.7.19";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "bimmerconnected";
repo = "bimmer_connected";
rev = version;
sha256 = "sha256-r5x+9W1XadtXb1ClC/0HnjrR+UmrytzUTCpi9IyBbwU=";
};
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 ];
};
}