unifi-protect-backup: 0.10.7 -> 0.11.0
https://github.com/ep1cman/unifi-protect-backup/blob/v0.11.0/CHANGELOG.md
This commit is contained in:
parent
5dd6db73c8
commit
00f1390271
@ -3,16 +3,32 @@
|
|||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
let
|
||||||
|
python = python3.override {
|
||||||
|
packageOverrides = self: super: {
|
||||||
|
pyunifiprotect = super.pyunifiprotect.overridePythonAttrs {
|
||||||
|
version = "unstable-2024-06-08";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ep1cman";
|
||||||
|
repo = "pyunifiprotect";
|
||||||
|
rev = "d967bca2c65e0aa6a7363afb6367c3745c076747";
|
||||||
|
hash = "sha256-gSAK/T9cjIiRC/WjwrdLP+LHzEEUsNbwpXClYqpnMio=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
python.pkgs.buildPythonApplication rec {
|
||||||
pname = "unifi-protect-backup";
|
pname = "unifi-protect-backup";
|
||||||
version = "0.10.7";
|
version = "0.11.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ep1cman";
|
owner = "ep1cman";
|
||||||
repo = "unifi-protect-backup";
|
repo = "unifi-protect-backup";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Ypx9drM9Ks3RR75lz2COflr6GF6Bm9D+GwJWPGwuq/c=";
|
hash = "sha256-t4AgPFqKS6u9yITIkUUB19/SxVwR7X8Cc01oPx3M+E0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
@ -22,12 +38,12 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
"pyunifiprotect"
|
"pyunifiprotect"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python.pkgs; [
|
||||||
poetry-core
|
poetry-core
|
||||||
pythonRelaxDepsHook
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
aiocron
|
aiocron
|
||||||
aiolimiter
|
aiolimiter
|
||||||
aiorun
|
aiorun
|
||||||
@ -40,7 +56,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
pyunifiprotect
|
pyunifiprotect
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user