mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
appdaemon: 4.0.8 -> 4.2.1
https://github.com/AppDaemon/appdaemon/blob/4.2.1/docs/HISTORY.rst
This commit is contained in:
parent
88e2aa7c97
commit
10b858a022
@ -5,21 +5,20 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "appdaemon";
|
pname = "appdaemon";
|
||||||
version = "4.0.8";
|
version = "4.2.1";
|
||||||
disabled = python3.pythonOlder "3.6";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = python3.pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AppDaemon";
|
owner = "AppDaemon";
|
||||||
repo = pname;
|
repo = "appdaemon";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "04a4qx0rbx2vpkzpibmwkpy7fawa6dbgqlrllryrl7dchbrf703q";
|
hash = "sha256-4sN0optkMmyWb5Cd3F7AhcXYHh7aidJE/bieYMEKgSY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# relax dependencies
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
# relax dependencies
|
||||||
--replace "deepdiff==5.2.3" "deepdiff" \
|
|
||||||
--replace "pygments==2.8.1" "pygments"
|
|
||||||
sed -i 's/==/>=/' requirements.txt
|
sed -i 's/==/>=/' requirements.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -63,6 +62,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Sandboxed Python execution environment for writing automation apps for Home Assistant";
|
description = "Sandboxed Python execution environment for writing automation apps for Home Assistant";
|
||||||
homepage = "https://github.com/AppDaemon/appdaemon";
|
homepage = "https://github.com/AppDaemon/appdaemon";
|
||||||
|
changelog = "https://github.com/AppDaemon/appdaemon/blob/${version}/docs/HISTORY.rst";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = teams.home-assistant.members;
|
maintainers = teams.home-assistant.members;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user