Merge pull request #288324 from fabaff/homeassistant-bring-api
python311Packages.homeassistant-bring-api: init at 0.1.0
This commit is contained in:
commit
72fd0575c0
@ -0,0 +1,45 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "homeassistant-bring-api";
|
||||||
|
version = "0.1.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "miaucl";
|
||||||
|
repo = "homeassistant-bring-api";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-EQ1Qv4B7axwERKvuMnLizpfA6jRNf/SyB6ktQ2BjFtM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"homeassistant_bring_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Module to access the Bring! shopping lists API with Home Assistant";
|
||||||
|
homepage = "https://github.com/miaucl/homeassistant-bring-api";
|
||||||
|
changelog = "https://github.com/miaucl/homeassistant-bring-api/blob/${version}/CHANGELOG.md";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -5231,6 +5231,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { };
|
home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { };
|
||||||
|
|
||||||
|
homeassistant-bring-api = callPackage ../development/python-modules/homeassistant-bring-api { };
|
||||||
|
|
||||||
home-assistant-chip-clusters = callPackage ../development/python-modules/home-assistant-chip-clusters { };
|
home-assistant-chip-clusters = callPackage ../development/python-modules/home-assistant-chip-clusters { };
|
||||||
|
|
||||||
home-assistant-chip-core = callPackage ../development/python-modules/home-assistant-chip-core { };
|
home-assistant-chip-core = callPackage ../development/python-modules/home-assistant-chip-core { };
|
||||||
|
Loading…
Reference in New Issue
Block a user