depot/third_party/nixpkgs/pkgs/tools/misc/tz/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

23 lines
548 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tz";
version = "0.6.3";
src = fetchFromGitHub {
owner = "oz";
repo = "tz";
rev = "v${version}";
sha256 = "sha256-yeCoBDorwwj3+tqKzoAjtMdYmjqscks/qU8EkmO/D5k=";
};
vendorHash = "sha256-lcCra4LyebkmelvBs0Dd2mn6R64Q5MaUWc5AP8V9pec=";
meta = with lib; {
description = "A time zone helper";
homepage = "https://github.com/oz/tz";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ siraben ];
mainProgram = "tz";
};
}