diff options
Diffstat (limited to 'pkgs/development/python-modules/pydeconz/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pydeconz/default.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pydeconz/default.nix b/pkgs/development/python-modules/pydeconz/default.nix index 40635ad93fcc4..68e31e0002701 100644 --- a/pkgs/development/python-modules/pydeconz/default.nix +++ b/pkgs/development/python-modules/pydeconz/default.nix @@ -9,36 +9,34 @@ pytestCheckHook, pythonOlder, setuptools, - wheel, }: buildPythonPackage rec { pname = "pydeconz"; - version = "115"; + version = "116"; pyproject = true; - disabled = pythonOlder "3.11"; + disabled = pythonOlder "3.12"; src = fetchFromGitHub { owner = "Kane610"; repo = "deconz"; rev = "refs/tags/v${version}"; - hash = "sha256-NjzONVSJ4GEaIeC5ytnTi8JpZY1yIq3LN8vbMy3n0vs="; + hash = "sha256-XtcAs+xKSTJcQN0mCj6ewkT7owvA7nlZ8PhWfL9NZh8="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace "--cov=pydeconz --cov-report term-missing" "" \ - --replace "setuptools==" "setuptools>=" \ - --replace "wheel==" "wheel>=" + --replace-fail "--cov=pydeconz --cov-report term-missing" "" \ + --replace-fail "setuptools==" "setuptools>=" \ + --replace-fail "wheel==" "wheel>=" ''; - nativeBuildInputs = [ + build-system = [ setuptools - wheel ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp orjson ]; @@ -53,10 +51,10 @@ buildPythonPackage rec { meta = with lib; { description = "Python library wrapping the Deconz REST API"; - mainProgram = "pydeconz"; homepage = "https://github.com/Kane610/deconz"; changelog = "https://github.com/Kane610/deconz/releases/tag/v${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "pydeconz"; }; } |