File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ { stdenv , buildGoModule , fetchFromGitHub } :
2+
3+ buildGoModule rec {
4+ pname = "lokalise2-cli" ;
5+ version = "2.6.0" ;
6+
7+ src = fetchFromGitHub {
8+ owner = "lokalise" ;
9+ repo = "lokalise-cli-2-go" ;
10+ rev = "v${ version } " ;
11+ sha256 = "15lwy2rrb5d5r0asa51bgjr42pcknk6znx6qirw9s924i8dbzp6s" ;
12+ } ;
13+
14+ vendorSha256 = "06y1v0v1kkbd5vxa8h0qvasm9ibwwhz0v4x03k3nb5xlwn0x9jx8" ;
15+
16+ postInstall = ''
17+ mv $out/bin/lokalise-cli-2-go $out/bin/lokalise2
18+ '' ;
19+
20+ meta = with stdenv . lib ; {
21+ description = "Translation platform for developers. Upload language files, translate, integrate via API." ;
22+ homepage = "https://lokalise.com" ;
23+ license = licenses . bsd3 ;
24+ maintainers = with maintainers ; [ timstott ] ;
25+ platforms = platforms . unix ;
26+ } ;
27+ }
Original file line number Diff line number Diff line change 51355135
51365136 logstalgia = callPackage ../tools/graphics/logstalgia {};
51375137
5138+ lokalise2-cli = callPackage ../tools/misc/lokalise2-cli { };
5139+
51385140 loki = callPackage ../development/libraries/loki { };
51395141
51405142 longview = callPackage ../servers/monitoring/longview { };
You can’t perform that action at this time.
0 commit comments