python311Packages.python-homewizard-energy: 4.1.1 -> 4.2.2
Diff: https://github.com/DCSBL/python-homewizard-energy/compare/refs/tags/v4.1.1...v4.2.2 Changelog: https://github.com/homewizard/python-homewizard-energy/releases/tag/v4.2.0 https://github.com/homewizard/python-homewizard-energy/releases/tag/v4.2.1 https://github.com/homewizard/python-homewizard-energy/releases/tag/v4.2.2
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-homewizard-energy";
|
||||
version = "4.1.1";
|
||||
format = "pyproject";
|
||||
version = "4.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@@ -22,12 +22,12 @@ buildPythonPackage rec {
|
||||
owner = "DCSBL";
|
||||
repo = "python-homewizard-energy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-p7uwodjC+wTGrlKf4i4ZRTPg9Qh9krsmwPpWNdF6J4U=";
|
||||
hash = "sha256-CNSZBH+D74Y71k7Ws0OlgN1/i/lWXlkz6MC3IXL5ycQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0.0.0"' 'version = "${version}"'
|
||||
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user