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.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";
|
||||
version = "0.10.7";
|
||||
version = "0.11.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ep1cman";
|
||||
repo = "unifi-protect-backup";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ypx9drM9Ks3RR75lz2COflr6GF6Bm9D+GwJWPGwuq/c=";
|
||||
hash = "sha256-t4AgPFqKS6u9yITIkUUB19/SxVwR7X8Cc01oPx3M+E0=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -22,12 +38,12 @@ python3.pkgs.buildPythonApplication rec {
|
|||
"pyunifiprotect"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
aiocron
|
||||
aiolimiter
|
||||
aiorun
|
||||
|
@ -40,7 +56,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
pyunifiprotect
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user