forked from mirrors/nixpkgs
3efdc71b5b
automatic-timezoned: 1.0.41 -> 1.0.43
28 lines
757 B
Nix
28 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;
|
|
};
|
|
}
|