go-i18n: init at 2.6.0 (#424323)

authored by Aleksana and committed by GitHub 91ec9dd3 25b51914

+39
+39
pkgs/by-name/go/go-i18n/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + buildGoModule (finalAttrs: { 7 + pname = "go-i18n"; 8 + version = "2.6.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "nicksnyder"; 12 + repo = "go-i18n"; 13 + tag = "v${finalAttrs.version}"; 14 + hash = "sha256-UrSECFbpCIg5avJ+f3LkJy/ncZFHa4q8sDqDIQ3YZJM="; 15 + }; 16 + 17 + vendorHash = "sha256-4Kbdj2D6eJTjZtdsFMNES3AEZ0PEi01HS73uFNZsFMA="; 18 + 19 + subPackages = [ 20 + "goi18n" 21 + ]; 22 + 23 + env.CGO_ENABLED = 0; 24 + 25 + doCheck = true; 26 + 27 + meta = { 28 + changelog = "https://github.com/nicksnyder/go-i18n/releases/tag/${finalAttrs.src.tag}"; 29 + description = "Translate your Go program into multiple languages"; 30 + longDescription = '' 31 + goi18n is a tool that lets you extract messages from all your Go source files, 32 + generates new language files. 33 + ''; 34 + homepage = "https://github.com/nicksnyder/go-i18n"; 35 + license = lib.licenses.mit; 36 + maintainers = with lib.maintainers; [ videl ]; 37 + mainProgram = "goi18n"; 38 + }; 39 + })