1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00
nixpkgs/pkgs/tools/misc/phraseapp-client/default.nix

29 lines
709 B
Nix
Raw Normal View History

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