depot/third_party/nixpkgs/pkgs/tools/system/automatic-timezoned/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

27 lines
757 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned";
version = "1.0.43";
src = fetchFromGitHub {
owner = "maxbrunet";
repo = pname;
rev = "v${version}";
sha256 = "sha256-AZkLUGFl0XMh0ZLGz+ZSB1l/0VzcuCjy6OCHGF1OT4k=";
};
cargoSha256 = "sha256-xAp9VI9SFhQfLYIybSRU50AzekZw6eItqNcKhaY4y7A=";
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;
};
}