Skip to content

Commit 62510f7

Browse files
authored
python312Packages.withings-sync: 4.2.5 -> 4.2.6 (#359780)
2 parents 31f44e2 + 9a4eeca commit 62510f7

File tree

1 file changed

+7
-2
lines changed
  • pkgs/development/python-modules/withings-sync

1 file changed

+7
-2
lines changed

pkgs/development/python-modules/withings-sync/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
buildPythonPackage rec {
1414
pname = "withings-sync";
15-
version = "4.2.5";
15+
version = "4.2.6";
1616
pyproject = true;
1717

1818
disabled = pythonOlder "3.10";
@@ -21,9 +21,14 @@ buildPythonPackage rec {
2121
owner = "jaroslawhartman";
2222
repo = "withings-sync";
2323
rev = "refs/tags/v${version}";
24-
hash = "sha256-4gxJwe8v4trTysGBNORX7C54EUzFIPwpVLfKSNxJ8y4=";
24+
hash = "sha256-rljzE/sEVBqG2vWcKmoC2fm9I06onMmDkf60rkq9k3g=";
2525
};
2626

27+
postPatch = ''
28+
substituteInPlace setup.py \
29+
--replace-fail 'read(".VERSION")' '"${version}"'
30+
'';
31+
2732
build-system = [ setuptools ];
2833

2934
dependencies = [

0 commit comments

Comments
 (0)