1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/lokalise2-cli/default.nix
2020-11-11 14:29:18 +00:00

30 lines
764 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "lokalise2-cli";
version = "2.6.1";
src = fetchFromGitHub {
owner = "lokalise";
repo = "lokalise-cli-2-go";
rev = "v${version}";
sha256 = "0a3bah5xa2vmxgqkqihbvcc8rpl64yhw3i0c30lhfdfza0jisaql";
};
vendorSha256 = "06y1v0v1kkbd5vxa8h0qvasm9ibwwhz0v4x03k3nb5xlwn0x9jx8";
doCheck = false;
postInstall = ''
mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
'';
meta = with stdenv.lib; {
description = "Translation platform for developers. Upload language files, translate, integrate via API";
homepage = "https://lokalise.com";
license = licenses.bsd3;
maintainers = with maintainers; [ timstott ];
platforms = platforms.unix;
};
}