2021-03-23 18:17:58 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tz";
|
2024-01-10 21:57:31 +01:00
|
|
|
version = "0.7.0";
|
2021-03-23 18:17:58 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "oz";
|
|
|
|
repo = "tz";
|
|
|
|
rev = "v${version}";
|
2024-01-10 21:57:31 +01:00
|
|
|
sha256 = "sha256-Mnb0GdJ9dgaUanWBP5JOo6++6MfrUgncBRp4NIbhxf0=";
|
2021-03-23 18:17:58 +01:00
|
|
|
};
|
|
|
|
|
2023-01-18 11:37:00 +01:00
|
|
|
vendorHash = "sha256-lcCra4LyebkmelvBs0Dd2mn6R64Q5MaUWc5AP8V9pec=";
|
2021-03-23 18:17:58 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A time zone helper";
|
|
|
|
homepage = "https://github.com/oz/tz";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "tz";
|
2021-03-23 18:17:58 +01:00
|
|
|
};
|
|
|
|
}
|