lokalise2: init at 2.6.0

This commit is contained in:
Timothy Stott 2020-07-20 18:40:49 +01:00 committed by Jon
parent 39b60007e8
commit df53f4fd00
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "lokalise2-cli";
version = "2.6.0";
src = fetchFromGitHub {
owner = "lokalise";
repo = "lokalise-cli-2-go";
rev = "v${version}";
sha256 = "15lwy2rrb5d5r0asa51bgjr42pcknk6znx6qirw9s924i8dbzp6s";
};
vendorSha256 = "06y1v0v1kkbd5vxa8h0qvasm9ibwwhz0v4x03k3nb5xlwn0x9jx8";
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;
};
}

View File

@ -5135,6 +5135,8 @@ in
logstalgia = callPackage ../tools/graphics/logstalgia {}; logstalgia = callPackage ../tools/graphics/logstalgia {};
lokalise2-cli = callPackage ../tools/misc/lokalise2-cli { };
loki = callPackage ../development/libraries/loki { }; loki = callPackage ../development/libraries/loki { };
longview = callPackage ../servers/monitoring/longview { }; longview = callPackage ../servers/monitoring/longview { };