Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python311Packages.withings-sync: init at 4.2.1

Synchronisation of Withings weight

https://github.com/jaroslawhartman/withings-sync

+50
+48
pkgs/development/python-modules/withings-sync/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , garth 5 + , lxml 6 + , pythonOlder 7 + , requests 8 + , setuptools 9 + , wheel 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "withings-sync"; 14 + version = "4.2.1"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.10"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "jaroslawhartman"; 21 + repo = "withings-sync"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-6igjUmgIA077/1SQMt10tRpnLVKxGFNJN1GeLhQLROg="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + wheel 29 + ]; 30 + 31 + propagatedBuildInputs = [ 32 + garth 33 + lxml 34 + requests 35 + ]; 36 + 37 + pythonImportsCheck = [ 38 + "withings_sync" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Synchronisation of Withings weight"; 43 + homepage = "https://github.com/jaroslawhartman/withings-sync"; 44 + changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/v${version}"; 45 + license = licenses.mit; 46 + maintainers = with maintainers; [ fab ]; 47 + }; 48 + }
+2
pkgs/top-level/python-packages.nix
··· 15664 15664 15665 15665 withings-api = callPackage ../development/python-modules/withings-api { }; 15666 15666 15667 + withings-sync = callPackage ../development/python-modules/withings-sync { }; 15668 + 15667 15669 wktutils = callPackage ../development/python-modules/wktutils { }; 15668 15670 15669 15671 wled = callPackage ../development/python-modules/wled { };