504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
28 lines
797 B
Nix
28 lines
797 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "automatic-timezoned";
|
|
version = "1.0.138";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxbrunet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-QygghEMpIoYaIIzINHXKUQmkCdoZdScZLHlIW9sObWk=";
|
|
};
|
|
|
|
cargoHash = "sha256-HLqONTd+8kn6nUWEEJTGevJxntnfYEu5e41/wvENZAw=";
|
|
|
|
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";
|
|
};
|
|
}
|