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