1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-F9uFw0SEUS0uH5cPPBFwx7mWQHX53EtQtauauH3/6p8=";
14 vendorHash = "sha256-1STRCr8zn6Hhj4Y/QHNo7QX/faN8V8AOmikflv8ipng=";
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 ];