3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/automatic-timezoned/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
757 B
Nix
Raw Normal View History

2022-10-08 21:16:33 +01:00
{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "automatic-timezoned";
2022-11-25 18:53:52 +00:00
version = "1.0.43";
2022-10-08 21:16:33 +01:00
src = fetchFromGitHub {
owner = "maxbrunet";
repo = pname;
rev = "v${version}";
2022-11-25 18:53:52 +00:00
sha256 = "sha256-AZkLUGFl0XMh0ZLGz+ZSB1l/0VzcuCjy6OCHGF1OT4k=";
2022-10-08 21:16:33 +01:00
};
2022-11-25 18:53:52 +00:00
cargoSha256 = "sha256-xAp9VI9SFhQfLYIybSRU50AzekZw6eItqNcKhaY4y7A=";
2022-10-08 21:16:33 +01:00
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";
2022-10-08 21:16:33 +01:00
license = licenses.gpl3;
maintainers = with maintainers; [ maxbrunet ];
platforms = platforms.linux;
};
}