Merge pull request #223372 from helsinki-systems/upd/unifi-protect-backup

unifi-protect-backup: 0.8.8 -> 0.9.0
This commit is contained in:
ajs124 2023-04-11 19:20:09 +02:00 committed by GitHub
commit 692d280b6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 6 deletions

View file

@ -5,7 +5,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "unifi-protect-backup";
version = "0.8.8";
version = "0.9.0";
format = "pyproject";
@ -13,7 +13,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "ep1cman";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Z8qK7LprMyXl5irx9Xrs/RgqvNcFVBqLBSljovr6oiE=";
hash = "sha256-yPYzFZ4eI1wvBZgSP4Z90zyS+0vrDtf0uRz60byE5XA=";
};
pythonRelaxDeps = [
@ -23,10 +23,6 @@ python3.pkgs.buildPythonApplication rec {
"pyunifiprotect"
];
pythonRemoveDeps = [
"pylint"
];
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
@ -36,7 +32,10 @@ python3.pkgs.buildPythonApplication rec {
aiocron
aiorun
aiosqlite
apprise
click
expiring-dict
python-dateutil
pyunifiprotect
];

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, sortedcontainers
}:
buildPythonPackage rec {
pname = "expiring-dict";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-PEBK2x5DaUaMt+Ub+8nEcNfi6GPv4qHHXU7XBtDc4aY=";
};
propagatedBuildInputs = [
sortedcontainers
];
pythonImportsCheck = [
"expiring_dict"
];
meta = with lib; {
description = "Python dict with TTL support for auto-expiring caches";
homepage = "https://github.com/dparker2/py-expiring-dict";
license = licenses.mit;
maintainers = with maintainers; [ ajs124 ];
};
}

View file

@ -3259,6 +3259,8 @@ self: super: with self; {
expecttest = callPackage ../development/python-modules/expecttest { };
expiring-dict = callPackage ../development/python-modules/expiring-dict { };
expiringdict = callPackage ../development/python-modules/expiringdict { };
explorerscript = callPackage ../development/python-modules/explorerscript { };