diff options
author | Timothy Stott <stott.timothy@gmail.com> | 2020-07-20 18:40:49 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-09 02:34:50 -0700 |
commit | df53f4fd002b6ded2033853b5f3a22611eced177 (patch) | |
tree | 75db50dee2a5b431f2d5ca1e9ceb69b85d9af744 /pkgs/tools/misc/lokalise2-cli | |
parent | 39b60007e80a6dd98a3cf679216efa552e05f68d (diff) |
lokalise2: init at 2.6.0
Diffstat (limited to 'pkgs/tools/misc/lokalise2-cli')
-rw-r--r-- | pkgs/tools/misc/lokalise2-cli/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/misc/lokalise2-cli/default.nix b/pkgs/tools/misc/lokalise2-cli/default.nix new file mode 100644 index 0000000000000..dfabba69c226f --- /dev/null +++ b/pkgs/tools/misc/lokalise2-cli/default.nix @@ -0,0 +1,27 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "lokalise2-cli"; + version = "2.6.0"; + + src = fetchFromGitHub { + owner = "lokalise"; + repo = "lokalise-cli-2-go"; + rev = "v${version}"; + sha256 = "15lwy2rrb5d5r0asa51bgjr42pcknk6znx6qirw9s924i8dbzp6s"; + }; + + vendorSha256 = "06y1v0v1kkbd5vxa8h0qvasm9ibwwhz0v4x03k3nb5xlwn0x9jx8"; + + 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; + }; +} |