nixpkgs/pkgs/tools/misc/tz/default.nix
2024-01-10 20:57:31 +00:00

24 lines
548 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tz";
version = "0.7.0";
src = fetchFromGitHub {
owner = "oz";
repo = "tz";
rev = "v${version}";
sha256 = "sha256-Mnb0GdJ9dgaUanWBP5JOo6++6MfrUgncBRp4NIbhxf0=";
};
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";
};
}