2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-07-20 19:40:49 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lokalise2-cli";
|
2021-11-03 13:40:50 +01:00
|
|
|
version = "2.6.8";
|
2020-07-20 19:40:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lokalise";
|
|
|
|
repo = "lokalise-cli-2-go";
|
|
|
|
rev = "v${version}";
|
2021-11-03 13:40:50 +01:00
|
|
|
sha256 = "sha256-U8XN7cH64ICVxcjmIWBeelOT3qQlGt6MhOPgUWkCPF0=";
|
2020-07-20 19:40:49 +02:00
|
|
|
};
|
|
|
|
|
2021-11-03 13:40:50 +01:00
|
|
|
vendorSha256 = "sha256-PM3Jjgq6mbM6iVCXRos9UsqqFNaXOqq713GZ2R9tQww=";
|
2020-07-20 19:40:49 +02:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-20 19:40:49 +02:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "Translation platform for developers. Upload language files, translate, integrate via API";
|
2020-07-20 19:40:49 +02:00
|
|
|
homepage = "https://lokalise.com";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ timstott ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|