diff --git a/pkgs/development/python-modules/uiprotect/default.nix b/pkgs/development/python-modules/uiprotect/default.nix index ccbd1a82f1c62..826f5fd4fcb8a 100644 --- a/pkgs/development/python-modules/uiprotect/default.nix +++ b/pkgs/development/python-modules/uiprotect/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { pname = "uiprotect"; - version = "5.2.2"; + version = "5.3.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -46,7 +46,7 @@ buildPythonPackage rec { owner = "uilibs"; repo = "uiprotect"; rev = "refs/tags/v${version}"; - hash = "sha256-XWsb/sEXJynb8NEdSm9LMPKTZbacwYHHTUaol1nR3kM="; + hash = "sha256-3+et24rvB9wh1cvUOXtgeDkh+SI0+dOrEnFBH5g735o="; }; postPatch = '' diff --git a/pkgs/development/python-modules/uvcclient/default.nix b/pkgs/development/python-modules/uvcclient/default.nix index c884e3a029261..42f89f8d02fa3 100644 --- a/pkgs/development/python-modules/uvcclient/default.nix +++ b/pkgs/development/python-modules/uvcclient/default.nix @@ -2,21 +2,21 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, - nose, + setuptools, mock, + pytestCheckHook }: buildPythonPackage rec { pname = "uvcclient"; - version = "0.11.0"; - format = "setuptools"; + version = "0.11.1"; + pyproject = true; src = fetchFromGitHub { owner = "kk7ds"; repo = pname; - rev = "58e7a53815482b7778481f81cde95f53a60bb6f6"; - sha256 = "0k8aswrk1n08w6pi6dg0zdzsmk23cafihkrss9ywg3i85w7q43x2"; + rev = "refs/tags/${version}"; + hash = "sha256-0OUdBygL2AAtccL5hdyL+0PIRK4o+lNN3droWDysDeI="; }; postPatch = '' @@ -24,18 +24,13 @@ buildPythonPackage rec { --replace-fail "assertEquals" "assertEqual" ''; - # tests rely on nose - doCheck = pythonOlder "3.12"; + build-system = [ setuptools ]; nativeCheckInputs = [ - nose mock + pytestCheckHook ]; - checkPhase = '' - nosetests - ''; - meta = with lib; { description = "Client for Ubiquiti's Unifi Camera NVR"; mainProgram = "uvc";