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

23 lines
524 B
Nix
Raw Normal View History

2021-03-23 17:17:58 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tz";
2021-04-05 07:48:03 +01:00
version = "0.5";
2021-03-23 17:17:58 +00:00
src = fetchFromGitHub {
owner = "oz";
repo = "tz";
rev = "v${version}";
2021-04-05 07:48:03 +01:00
sha256 = "sha256-OwjhV3n1B1yQTNYm4VOW500t0524g85YYiOAAu9yPeo=";
2021-03-23 17:17:58 +00:00
};
vendorSha256 = "sha256-Soa87I7oMa34LjYKxNAz9Limi0kQ6JUtb/zI4G7yZnw=";
meta = with lib; {
description = "A time zone helper";
homepage = "https://github.com/oz/tz";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ siraben ];
};
}