1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-N+1kh4p6gzBnWPSs7U4Ay1kUtJ04W3G0f+PzzwCylRQ=";
14 vendorHash = "sha256-mfg10IwrPiLpI+9Y0QybKS8wOBnt3+tqsXgtGV1eHAs=";
16 ldflags = [ "-X=github.com/phrase/phrase-cli/cmd.PHRASE_CLIENT_VERSION=${version}" ];
19 ln -s $out/bin/phrase-cli $out/bin/phrase
23 homepage = "http://docs.phraseapp.com";
24 description = "PhraseApp API v2 Command Line Client";
25 changelog = "https://github.com/phrase/phrase-cli/blob/${version}/CHANGELOG.md";
26 license = licenses.mit;
27 maintainers = with maintainers; [ juboba ];