diff --git a/pkgs/development/python-modules/reolink-aio/default.nix b/pkgs/development/python-modules/reolink-aio/default.nix index c88ec54643fa..3ec6a5e18335 100644 --- a/pkgs/development/python-modules/reolink-aio/default.nix +++ b/pkgs/development/python-modules/reolink-aio/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "reolink-aio"; - version = "0.2.2"; + version = "0.3.1"; format = "setuptools"; disabled = pythonOlder "3.9"; @@ -20,25 +20,26 @@ buildPythonPackage rec { owner = "starkillerOG"; repo = "reolink_aio"; rev = "refs/tags/${version}"; - sha256 = "sha256-rHiKwr720aTpkem8urnK9TP5CkHCEOHdeBp00rhlitI="; + hash = "sha256-XFqZ/5eK7cYPNsWNFu8UlJfMe28qSZNFrtozB80ZcNM="; }; - propagatedBuildInputs = [ - aiohttp - ffmpeg-python - requests - ]; - - nativeCheckInputs = [ - aiounittest - pytestCheckHook - ]; - postPatch = '' # Packages in nixpkgs is different than the module name substituteInPlace setup.py \ --replace "ffmpeg" "ffmpeg-python" ''; + propagatedBuildInputs = [ + aiohttp + ffmpeg-python + requests + ]; + + doCheck = false; # all testse require a network device + + nativeCheckInputs = [ + aiounittest + pytestCheckHook + ]; pytestFlagsArray = [ "tests/test.py" @@ -51,7 +52,9 @@ buildPythonPackage rec { "test3_images" "test4_properties" "test_succes" + "test_wrong_host" "test_wrong_password" + "test_wrong_user" ]; pythonImportsCheck = [