Merge pull request #217253 from mweinelt/appdaemon-4.2.1

appdaemon: 4.0.8 -> 4.2.1
This commit is contained in:
Martin Weinelt 2023-02-21 20:09:10 +00:00 committed by GitHub
commit 52a8797a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,21 +5,20 @@
python3.pkgs.buildPythonApplication rec {
pname = "appdaemon";
version = "4.0.8";
disabled = python3.pythonOlder "3.6";
version = "4.2.1";
format = "setuptools";
disabled = python3.pythonOlder "3.7";
src = fetchFromGitHub {
owner = "AppDaemon";
repo = pname;
rev = version;
sha256 = "04a4qx0rbx2vpkzpibmwkpy7fawa6dbgqlrllryrl7dchbrf703q";
repo = "appdaemon";
rev = "refs/tags/${version}";
hash = "sha256-4sN0optkMmyWb5Cd3F7AhcXYHh7aidJE/bieYMEKgSY=";
};
# relax dependencies
postPatch = ''
substituteInPlace requirements.txt \
--replace "deepdiff==5.2.3" "deepdiff" \
--replace "pygments==2.8.1" "pygments"
# relax dependencies
sed -i 's/==/>=/' requirements.txt
'';
@ -63,6 +62,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";
license = licenses.mit;
maintainers = teams.home-assistant.members;
};