Merge pull request #171570 from mweinelt/home-assistant
commit
45a1d1c8d9
@ -0,0 +1,46 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, pythonOlder |
||||
, fetchFromGitHub |
||||
, aiohttp |
||||
, pydantic |
||||
, freezegun |
||||
, pytest-aiohttp |
||||
, pytest-asyncio |
||||
, pytestCheckHook |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "gcal-sync"; |
||||
version = "0.7.1"; |
||||
|
||||
disabled = pythonOlder "3.9"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "allenporter"; |
||||
repo = "gcal_sync"; |
||||
rev = version; |
||||
hash = "sha256-NOB74P+5i63FEeHJsPXRdRgY6iyIUEn7BogbVKm8P5M="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aiohttp |
||||
pydantic |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
freezegun |
||||
pytest-aiohttp |
||||
pytest-asyncio |
||||
pytestCheckHook |
||||
]; |
||||
|
||||
pythonImportsCheck = [ "gcal_sync" ]; |
||||
|
||||
meta = { |
||||
description = "Python library for syncing Google Calendar to local storage"; |
||||
homepage = "https://github.com/allenporter/gcal_sync"; |
||||
license = lib.licenses.asl20; |
||||
maintainers = with lib.maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
@ -0,0 +1,26 @@ |
||||
{ lib |
||||
, buildPythonPackage |
||||
, fetchPypi |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "insteon-frontend-home-assistant"; |
||||
version = "0.1.0"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "70ee413cae8717416f5add1be7647158d8ff4303942dafccac0792ef44336cdf"; |
||||
}; |
||||
|
||||
# upstream has no tests |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ "insteon_frontend" ]; |
||||
|
||||
meta = { |
||||
description = "The Insteon frontend for Home Assistant"; |
||||
homepage = "https://github.com/teharris1/insteon-panel"; |
||||
license = lib.licenses.mit; |
||||
maintainers = with lib.maintainers; [ dotlambda ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue