2020-07-20 19:40:49 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "lokalise2-cli";
|
2020-11-26 11:36:33 +01:00
|
|
|
version = "2.6.2";
|
2020-07-20 19:40:49 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lokalise";
|
|
|
|
repo = "lokalise-cli-2-go";
|
|
|
|
rev = "v${version}";
|
2020-11-26 11:36:33 +01:00
|
|
|
sha256 = "1iizyr6bv17dpv05whcx34498wbrs0q3gn8s50srvdqrdk9hs4gj";
|
2020-07-20 19:40:49 +02:00
|
|
|
};
|
|
|
|
|
2020-11-26 11:36:33 +01:00
|
|
|
vendorSha256 = "17nykcx47h1q55msh43mmf092y5cigarz5486yp6sqp79p6lbjk3";
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|