nixpkgs/pkgs/tools/misc/phraseapp-client/default.nix

28 lines
670 B
Nix
Raw Normal View History

2017-03-17 20:50:50 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "phraseapp-client";
2020-06-15 00:53:09 +00:00
version = "1.17.1";
2017-03-17 20:50:50 +00:00
goPackagePath = "github.com/phrase/phraseapp-client";
subPackages = [ "." ];
src = fetchFromGitHub {
owner = "phrase";
repo = "phraseapp-client";
rev = version;
2020-06-15 00:53:09 +00:00
sha256 = "0j8fygp9bw68p1736hq7n7qv86rghchxbdm1xibvk5jpgph1nzl7";
2017-03-17 20:50:50 +00:00
};
2018-09-28 21:38:17 +00:00
postInstall = ''
ln -s $out/bin/phraseapp-client $out/bin/phraseapp
2018-09-28 21:38:17 +00:00
'';
2017-03-17 20:50:50 +00:00
meta = with stdenv.lib; {
homepage = "http://docs.phraseapp.com";
2017-03-17 20:50:50 +00:00
description = "PhraseApp API v2 Command Line Client";
license = licenses.mit;
maintainers = with maintainers; [ manveru ];
};
}