Skip to content

Commit 711c7c8

Browse files
authored
python312Packages.withings-sync: refactor
1 parent 628f796 commit 711c7c8

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ buildPythonPackage rec {
2424
hash = "sha256-4gxJwe8v4trTysGBNORX7C54EUzFIPwpVLfKSNxJ8y4=";
2525
};
2626

27-
nativeBuildInputs = [ setuptools ];
27+
build-system = [ setuptools ];
2828

29-
propagatedBuildInputs = [
29+
dependencies = [
3030
garth
3131
lxml
3232
python-dotenv
@@ -37,10 +37,10 @@ buildPythonPackage rec {
3737

3838
meta = with lib; {
3939
description = "Synchronisation of Withings weight";
40-
mainProgram = "withings-sync";
4140
homepage = "https://github.com/jaroslawhartman/withings-sync";
4241
changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/v${version}";
4342
license = licenses.mit;
4443
maintainers = with maintainers; [ fab ];
44+
mainProgram = "withings-sync";
4545
};
4646
}

0 commit comments

Comments
 (0)