mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #273465 from dotlambda/appdaemon-4.4.2
appdaemon: 4.2.1 -> 4.4.2
This commit is contained in:
commit
e4c5a88cc5
@ -5,53 +5,47 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "appdaemon";
|
||||
version = "4.2.1";
|
||||
format = "setuptools";
|
||||
version = "4.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3.pythonOlder "3.7";
|
||||
disabled = python3.pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AppDaemon";
|
||||
repo = "appdaemon";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-4sN0optkMmyWb5Cd3F7AhcXYHh7aidJE/bieYMEKgSY=";
|
||||
hash = "sha256-T3InE4J4qYeFJTq6nrW8y5BOA7Z0n3t9eVpl641r/xk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# relax dependencies
|
||||
sed -i 's/==/>=/' requirements.txt
|
||||
sed -i 's/~=/>=/' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
aiodns
|
||||
aiohttp
|
||||
aiohttp-jinja2
|
||||
astral
|
||||
azure-keyvault-secrets
|
||||
azure-mgmt-compute
|
||||
azure-mgmt-resource
|
||||
azure-mgmt-storage
|
||||
azure-storage-blob
|
||||
bcrypt
|
||||
faust-cchardet
|
||||
deepdiff
|
||||
feedparser
|
||||
iso8601
|
||||
jinja2
|
||||
paho-mqtt
|
||||
pid
|
||||
pygments
|
||||
python-dateutil
|
||||
python-engineio
|
||||
python-socketio
|
||||
pytz
|
||||
pyyaml
|
||||
requests
|
||||
sockjs
|
||||
uvloop
|
||||
voluptuous
|
||||
websocket-client
|
||||
yarl
|
||||
tomli
|
||||
tomli-w
|
||||
];
|
||||
|
||||
# no tests implemented
|
||||
@ -62,7 +56,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
meta = with lib; {
|
||||
description = "Sandboxed Python execution environment for writing automation apps for Home Assistant";
|
||||
homepage = "https://github.com/AppDaemon/appdaemon";
|
||||
changelog = "https://github.com/AppDaemon/appdaemon/blob/${version}/docs/HISTORY.rst";
|
||||
changelog = "https://github.com/AppDaemon/appdaemon/blob/${version}/docs/HISTORY.md";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.home-assistant.members;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user