nixpkgs/pkgs/by-name/lo/lokalise2-cli/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
749 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-07-20 17:40:49 +00:00
buildGoModule rec {
pname = "lokalise2-cli";
2024-10-15 20:25:32 +00:00
version = "3.0.2";
2020-07-20 17:40:49 +00:00
src = fetchFromGitHub {
owner = "lokalise";
repo = "lokalise-cli-2-go";
rev = "v${version}";
2024-10-15 20:25:32 +00:00
sha256 = "sha256-1pc3XBsBQr9xBFIVOWZnA4YlgFYwJJJyV05W67hXG8k=";
2020-07-20 17:40:49 +00:00
};
2024-10-15 20:25:32 +00:00
vendorHash = "sha256-cN7YJDw5lOOngXJBeXa7V0Y/CjEydBMk3hvyfd0VL5I=";
2020-07-20 17:40:49 +00:00
doCheck = false;
2020-07-20 17:40:49 +00:00
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";
2020-07-20 17:40:49 +00:00
homepage = "https://lokalise.com";
license = licenses.bsd3;
maintainers = with maintainers; [ timstott ];
mainProgram = "lokalise2";
2020-07-20 17:40:49 +00:00
};
}