c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
28 lines
795 B
Nix
28 lines
795 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "automatic-timezoned";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxbrunet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-t7AozR3R+msppRnHTPRy3hd2SuCR9NZdg85+FLqSWEc=";
|
|
};
|
|
|
|
cargoHash = "sha256-d+SDI5keZ044LtS/A3K26moFVQngUfNNfr33PipTTg4=";
|
|
|
|
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";
|
|
};
|
|
}
|