diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-24 00:17:58 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-24 00:17:58 +0700 |
commit | f0d4a1ce7d4aa3980b15bbf203113b82456f2098 (patch) | |
tree | 6be0ddab93b859c20211471f42244040cb3d87e0 /pkgs/tools/misc/tz | |
parent | 64ed9a9a999bf1f8d44f8fb8dd2ee307de1aa3de (diff) |
tz: init at 0.4
Diffstat (limited to 'pkgs/tools/misc/tz')
-rw-r--r-- | pkgs/tools/misc/tz/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/misc/tz/default.nix b/pkgs/tools/misc/tz/default.nix new file mode 100644 index 0000000000000..c0c6fe9ec33bb --- /dev/null +++ b/pkgs/tools/misc/tz/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} |