diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-06-15 21:06:06 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-06-16 10:09:56 +0200 |
commit | 495818f35a7c0c58c88594988b5a7728e041470c (patch) | |
tree | 3f775707e0f9da90ddf82c8fbd33ce48a4303d2f /pkgs/development/python-modules/bimmer-connected/default.nix | |
parent | e264354b616f5cd0a614ad79aca81cb43daf28a1 (diff) |
python3Packages.bimmer-connected: init at 0.7.15
Diffstat (limited to 'pkgs/development/python-modules/bimmer-connected/default.nix')
-rw-r--r-- | pkgs/development/python-modules/bimmer-connected/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bimmer-connected/default.nix b/pkgs/development/python-modules/bimmer-connected/default.nix new file mode 100644 index 0000000000000..c7abe9cfd9907 --- /dev/null +++ b/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 ]; + }; +} |