{ lib , fetchFromGitHub , rustPlatform }: rustPlatform.buildRustPackage rec { pname = "automatic-timezoned"; version = "2.0.11"; src = fetchFromGitHub { owner = "maxbrunet"; repo = pname; rev = "v${version}"; sha256 = "sha256-3F9VgLrk+P/KWYI8uY12XrXxHWCXoBR6zhP6xDp0EO0="; }; cargoHash = "sha256-YjGuGvwDTGrPObxttgBOga3pYLVbNh2lBauOyIdHiLw="; meta = with lib; { 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 = licenses.gpl3; maintainers = with maintainers; [ maxbrunet ]; platforms = platforms.linux; mainProgram = "automatic-timezoned"; }; }