From f3ce55435843e147c87e42c70d981e93b5d900f7 Mon Sep 17 00:00:00 2001 From: Julio Borja Barra Date: Sun, 5 Jun 2022 11:30:33 +0200 Subject: [PATCH] phrase-cli: 2.4.4 -> 2.4.12 --- pkgs/tools/misc/phrase-cli/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/phrase-cli/default.nix b/pkgs/tools/misc/phrase-cli/default.nix index d5a4c0e42985..36749fcedfac 100644 --- a/pkgs/tools/misc/phrase-cli/default.nix +++ b/pkgs/tools/misc/phrase-cli/default.nix @@ -2,16 +2,18 @@ buildGoModule rec { pname = "phrase-cli"; - version = "2.4.4"; + version = "2.4.12"; src = fetchFromGitHub { owner = "phrase"; repo = "phrase-cli"; rev = version; - sha256 = "0xlfcj0jd6x4ynzg6d0p3wlmfq660w3zm13nzx04jfcjnks9sqvl"; + sha256 = "sha256-+/hs6v3ereja2NtGApVBA3rTib5gAiGndbDg+FybWco="; }; - vendorSha256 = "1ablrs3prw011bpad8vn87y3c81q44mps873nhj278hlkz6im34g"; + vendorSha256 = "sha256-Pt+F2ICuOQZBjMccK1qq/ueGOvnjDmAM5YLRINk2u/g="; + + ldflags = [ "-X=github.com/phrase/phrase-cli/cmd.PHRASE_CLIENT_VERSION=${version}" ]; postInstall = '' ln -s $out/bin/phrase-cli $out/bin/phrase