3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/phrase-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
627 B
Nix
Raw Normal View History

2022-02-11 07:33:01 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "phrase-cli";
version = "2.4.4";
src = fetchFromGitHub {
owner = "phrase";
repo = "phrase-cli";
rev = version;
sha256 = "0xlfcj0jd6x4ynzg6d0p3wlmfq660w3zm13nzx04jfcjnks9sqvl";
};
vendorSha256 = "1ablrs3prw011bpad8vn87y3c81q44mps873nhj278hlkz6im34g";
postInstall = ''
ln -s $out/bin/phrase-cli $out/bin/phrase
'';
meta = with lib; {
homepage = "http://docs.phraseapp.com";
description = "PhraseApp API v2 Command Line Client";
license = licenses.mit;
maintainers = with maintainers; [ juboba ];
};
}