nixpkgs/pkgs/tools/misc/tz/default.nix

23 lines
526 B
Nix
Raw Normal View History

2021-03-23 18:17:58 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tz";
2021-10-28 12:53:42 +02:00
version = "0.6.1";
2021-03-23 18:17:58 +01:00
src = fetchFromGitHub {
owner = "oz";
repo = "tz";
rev = "v${version}";
2021-10-28 12:53:42 +02:00
sha256 = "sha256-D0rakLZ+swrDwBMcr+EJPgaYsQTWob50QteW1PoIdNk=";
2021-03-23 18:17:58 +01:00
};
2021-10-28 12:53:42 +02:00
vendorSha256 = "sha256-gMHPWf/kFb55GyyMciLWRzvrQXUGDQ72RNkIhkMVe54=";
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 ];
};
}