Merge pull request #128821 from dotlambda/pypoint-init
home-assistant: support point component
This commit is contained in:
commit
05af00f0a1
35
pkgs/development/python-modules/pypoint/default.nix
Normal file
35
pkgs/development/python-modules/pypoint/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, authlib
|
||||||
|
, httpx
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pypoint";
|
||||||
|
version = "2.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fredrike";
|
||||||
|
repo = "pypoint";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "13p68d2qxfj31lfjv94wzpigjfgjw03yjpl2h16zgxbka2k8zf3x";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
authlib
|
||||||
|
httpx
|
||||||
|
];
|
||||||
|
|
||||||
|
# upstream has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pypoint" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "API for Minut Point";
|
||||||
|
homepage = "https://github.com/fredrike/pypoint";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -646,7 +646,7 @@
|
||||||
"plugwise" = ps: with ps; [ plugwise ];
|
"plugwise" = ps: with ps; [ plugwise ];
|
||||||
"plum_lightpad" = ps: with ps; [ ]; # missing inputs: plumlightpad
|
"plum_lightpad" = ps: with ps; [ ]; # missing inputs: plumlightpad
|
||||||
"pocketcasts" = ps: with ps; [ ]; # missing inputs: pycketcasts
|
"pocketcasts" = ps: with ps; [ ]; # missing inputs: pycketcasts
|
||||||
"point" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pypoint
|
"point" = ps: with ps; [ aiohttp-cors pypoint ];
|
||||||
"poolsense" = ps: with ps; [ poolsense ];
|
"poolsense" = ps: with ps; [ poolsense ];
|
||||||
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
|
"powerwall" = ps: with ps; [ ]; # missing inputs: tesla-powerwall
|
||||||
"profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ];
|
"profiler" = ps: with ps; [ guppy3 objgraph pyprof2calltree ];
|
||||||
|
|
|
@ -606,6 +606,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||||
"plant"
|
"plant"
|
||||||
"plex"
|
"plex"
|
||||||
"plugwise"
|
"plugwise"
|
||||||
|
"point"
|
||||||
"poolsense"
|
"poolsense"
|
||||||
"profiler"
|
"profiler"
|
||||||
"prometheus"
|
"prometheus"
|
||||||
|
|
|
@ -5349,6 +5349,8 @@ in {
|
||||||
|
|
||||||
pynx584 = callPackage ../development/python-modules/pynx584 { };
|
pynx584 = callPackage ../development/python-modules/pynx584 { };
|
||||||
|
|
||||||
|
pypoint = callPackage ../development/python-modules/pypoint { };
|
||||||
|
|
||||||
pyrfxtrx = callPackage ../development/python-modules/pyrfxtrx { };
|
pyrfxtrx = callPackage ../development/python-modules/pyrfxtrx { };
|
||||||
|
|
||||||
pyrogram = callPackage ../development/python-modules/pyrogram { };
|
pyrogram = callPackage ../development/python-modules/pyrogram { };
|
||||||
|
|
Loading…
Reference in a new issue