0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00
Fabian Affolter 2024-12-09 14:19:50 +01:00
parent bc27f0fde0
commit fb3130b2ef

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "withings-sync";
version = "4.2.6";
version = "4.2.7";
pyproject = true;
disabled = pythonOlder "3.10";
@ -21,14 +21,16 @@ buildPythonPackage rec {
owner = "jaroslawhartman";
repo = "withings-sync";
rev = "refs/tags/v${version}";
hash = "sha256-rljzE/sEVBqG2vWcKmoC2fm9I06onMmDkf60rkq9k3g=";
hash = "sha256-ySl2nRR8t7c3NhjgjSzLQ+hcJuh+kx5aoaVPJF56HR0=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'read(".VERSION")' '"${version}"'
--replace-fail "1.0.0.dev1" "${version}"
'';
pythonRelaxDeps = true;
build-system = [ setuptools ];
dependencies = [