{ lib, fetchFromGitHub, rustPlatform, }: rustPlatform.buildRustPackage rec { pname = "automatic-timezoned"; version = "2.0.92"; src = fetchFromGitHub { owner = "maxbrunet"; repo = "automatic-timezoned"; rev = "v${version}"; sha256 = "sha256-X1B2L8bh3iXPZ5NpaH+VP67i/ykmd0IVXu0dg6XmUGo="; }; cargoHash = "sha256-4ZV5ef033cZdMJaQD0gLNaKe8XfQzhF7mADm7N0NxvA="; meta = { description = "Automatically update system timezone based on location"; homepage = "https://github.com/maxbrunet/automatic-timezoned"; changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${version}/CHANGELOG.md"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ maxbrunet ]; platforms = lib.platforms.linux; mainProgram = "automatic-timezoned"; }; }