diff --git a/pkgs/development/python-modules/reolink/default.nix b/pkgs/development/python-modules/reolink/default.nix index 9658b0890cc9..89d4837c6421 100644 --- a/pkgs/development/python-modules/reolink/default.nix +++ b/pkgs/development/python-modules/reolink/default.nix @@ -6,16 +6,14 @@ fetchFromGitHub, ffmpeg-python, pytestCheckHook, - pythonOlder, requests, + setuptools, }: buildPythonPackage rec { pname = "reolink"; version = "0.64"; - format = "setuptools"; - - disabled = pythonOlder "3.8"; + pyproject = true; src = fetchFromGitHub { owner = "fwestenberg"; @@ -24,7 +22,9 @@ buildPythonPackage rec { hash = "sha256-3r5BwVlNolji2HIGjqv8gkizx4wWxrKYkiNmSJedKmI="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp ffmpeg-python requests @@ -57,11 +57,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "reolink" ]; + passthru.skipBulkUpdate = true; + meta = with lib; { description = "Module to interact with the Reolink IP camera API"; homepage = "https://github.com/fwestenberg/reolink"; - changelog = "https://github.com/fwestenberg/reolink/releases/tag/v${version}"; - license = with licenses; [ mit ]; + changelog = "https://github.com/fwestenberg/reolink/releases/tag/${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }