ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
29 lines
749 B
Nix
29 lines
749 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "lokalise2-cli";
|
|
version = "3.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lokalise";
|
|
repo = "lokalise-cli-2-go";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1pc3XBsBQr9xBFIVOWZnA4YlgFYwJJJyV05W67hXG8k=";
|
|
};
|
|
|
|
vendorHash = "sha256-cN7YJDw5lOOngXJBeXa7V0Y/CjEydBMk3hvyfd0VL5I=";
|
|
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Translation platform for developers. Upload language files, translate, integrate via API";
|
|
homepage = "https://lokalise.com";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ timstott ];
|
|
mainProgram = "lokalise2";
|
|
};
|
|
}
|