Unverified Commit 5d0b06f7 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.withings-sync: 5.3.0 -> 5.3.2 (#504432)

parents 4b5ef65f 7f106c61
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -10,21 +10,21 @@
  requests,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "withings-sync";
  version = "5.3.0";
  version = "5.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jaroslawhartman";
    repo = "withings-sync";
    tag = "v${version}";
    hash = "sha256-Q9zOXQIdl4jpCK6a5Xp4kZK67MqudX0thDAkRmdL3AQ=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-1pDM5paSXPQCOG5LRFxnp19K1iHcsfrGC9e7SEyxUDs=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "1.0.0.dev1" "${version}"
      --replace-fail "1.0.0.dev1" "${finalAttrs.version}"
  '';

  build-system = [ poetry-core ];
@@ -42,9 +42,9 @@ buildPythonPackage rec {
  meta = {
    description = "Synchronisation of Withings weight";
    homepage = "https://github.com/jaroslawhartman/withings-sync";
    changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/${src.tag}";
    changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "withings-sync";
  };
}
})