2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lokalise2-cli";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "2.6.14";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lokalise";
|
|
|
|
repo = "lokalise-cli-2-go";
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-kj0tkI87pgYdJNlQXCRpVhg7IjvWTDBDeXqePO0HZNo=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
vendorHash = "sha256-P7AqMSV05UKeiUqWBxCOlLwMJcAtp0lpUC+eoE3JZFM=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Translation platform for developers. Upload language files, translate, integrate via API";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://lokalise.com";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ timstott ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "lokalise2";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|