diff --git a/pkgs/development/python-modules/pydroid-ipcam/default.nix b/pkgs/development/python-modules/pydroid-ipcam/default.nix index 31ec5abd39ce..6912c9355136 100644 --- a/pkgs/development/python-modules/pydroid-ipcam/default.nix +++ b/pkgs/development/python-modules/pydroid-ipcam/default.nix @@ -4,24 +4,27 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, + setuptools, yarl, }: buildPythonPackage rec { pname = "pydroid-ipcam"; - version = "2.0.0"; - format = "setuptools"; + version = "3.0.0"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "home-assistant-libs"; - repo = pname; + repo = "pydroid-ipcam"; tag = version; - hash = "sha256-toY3eVJdB5rbRuwkXMizpQUxUTo4Y1tWKFCZZuiYaGI="; + hash = "sha256-Z5dWgeXwIRd2iPT2GsWyypHVbaMZ5NUXEBxa8+AZdNk="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp yarl ]; @@ -34,7 +37,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for Android IP Webcam"; homepage = "https://github.com/home-assistant-libs/pydroid-ipcam"; - license = with licenses; [ asl20 ]; + changelog = "https://github.com/home-assistant-libs/pydroid-ipcam/releases/tag/${src.tag}"; + license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }