Skip to content

Commit

Permalink
Merge pull request NixOS#313806 from fabaff/pydeconz-bump
Browse files Browse the repository at this point in the history
python312Packages.pydeconz: 115 -> 116
  • Loading branch information
fabaff authored May 23, 2024
2 parents 3cb1f43 + bf8a1a8 commit 186d666
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions pkgs/development/python-modules/pydeconz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -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";
};
}

0 comments on commit 186d666

Please sign in to comment.