appdaemon: migrate to pythonRelaxDepsHook
This commit is contained in:
parent
b99bc1d79d
commit
06ed0ca39b
1 changed files with 2 additions and 6 deletions
|
@ -8,8 +8,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
version = "4.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3.pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AppDaemon";
|
||||
repo = "appdaemon";
|
||||
|
@ -17,12 +15,10 @@ python3.pkgs.buildPythonApplication rec {
|
|||
hash = "sha256-T3InE4J4qYeFJTq6nrW8y5BOA7Z0n3t9eVpl641r/xk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# relax dependencies
|
||||
sed -i 's/~=/>=/' pyproject.toml
|
||||
'';
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue