Unverified Commit 692d280b authored by ajs124's avatar ajs124 Committed by GitHub
Browse files

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

unifi-protect-backup: 0.8.8 -> 0.9.0
parents 309b8ce8 86bc7e3b
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -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
  ];

+31 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };