7cbac10661
GitOrigin-RevId: a371c1071161104d329f6a85d922fd92b7cbab63
29 lines
764 B
Nix
29 lines
764 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "lokalise2-cli";
|
|
version = "2.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lokalise";
|
|
repo = "lokalise-cli-2-go";
|
|
rev = "v${version}";
|
|
sha256 = "0a3bah5xa2vmxgqkqihbvcc8rpl64yhw3i0c30lhfdfza0jisaql";
|
|
};
|
|
|
|
vendorSha256 = "06y1v0v1kkbd5vxa8h0qvasm9ibwwhz0v4x03k3nb5xlwn0x9jx8";
|
|
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Translation platform for developers. Upload language files, translate, integrate via API";
|
|
homepage = "https://lokalise.com";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ timstott ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|