c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
27 lines
755 B
Nix
27 lines
755 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "automatic-timezoned";
|
|
version = "1.0.85";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxbrunet";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-YHcPAYJVodD9b8FFMhqAI6AOuuB4IHCuc+hCV6foUy8=";
|
|
};
|
|
|
|
cargoHash = "sha256-NcQgpzuUwhsv0HvV/T1XOy8H3ktGMfxml/bKs/2ChgQ=";
|
|
|
|
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;
|
|
};
|
|
}
|