nixpkgs/pkgs/tools/misc/tz/default.nix
2021-03-24 00:17:58 +07:00

23 lines
524 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "tz";
version = "0.4";
src = fetchFromGitHub {
owner = "oz";
repo = "tz";
rev = "v${version}";
sha256 = "sha256-36nTau7xjABdeUOioHar28cuawFWW3DBaDH0YAvdufI=";
};
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 ];
};
}