mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #108985 from fabaff/teslajsonpy
python3Packages.teslajsonpy: init at 0.10.4
This commit is contained in:
commit
59e7ff0a79
39
pkgs/development/python-modules/teslajsonpy/default.nix
Normal file
39
pkgs/development/python-modules/teslajsonpy/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, wrapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "teslajsonpy";
|
||||
version = "0.10.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zabuldon";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "18frynmy47i9c24mdy819y2dnjwmhnmkly5mbmhikpbmm6d0yjf1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
backoff
|
||||
wrapt
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
# Not all Home Assistant related check pass
|
||||
disabledTests = [ "test_values_on_init" ];
|
||||
pythonImportsCheck = [ "teslajsonpy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to work with Tesla API";
|
||||
homepage = "https://github.com/zabuldon/teslajsonpy";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -828,7 +828,7 @@
|
||||
"temper" = ps: with ps; [ ]; # missing inputs: temperusb
|
||||
"template" = ps: with ps; [ ];
|
||||
"tensorflow" = ps: with ps; [ numpy pillow tensorflow-build_2 ]; # missing inputs: pycocotools tf-models-official
|
||||
"tesla" = ps: with ps; [ ]; # missing inputs: teslajsonpy
|
||||
"tesla" = ps: with ps; [ teslajsonpy ];
|
||||
"tfiac" = ps: with ps; [ ]; # missing inputs: pytfiac
|
||||
"thermoworks_smoke" = ps: with ps; [ stringcase ]; # missing inputs: thermoworks_smoke
|
||||
"thethingsnetwork" = ps: with ps; [ ];
|
||||
|
@ -7427,6 +7427,8 @@ in {
|
||||
|
||||
termstyle = callPackage ../development/python-modules/termstyle { };
|
||||
|
||||
teslajsonpy = callPackage ../development/python-modules/teslajsonpy { };
|
||||
|
||||
tess = callPackage ../development/python-modules/tess { };
|
||||
|
||||
tesserocr = callPackage ../development/python-modules/tesserocr { };
|
||||
|
Loading…
Reference in New Issue
Block a user