diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix b/nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix new file mode 100644 index 000000000000..c7abe9cfd990 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/bimmer-connected/default.nix @@ -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 ]; + }; +} |