opener: init at 0.1.5 (#364141)

authored by Pol Dellaiera and committed by GitHub 44bccf4c 65504019

+43
+43
pkgs/by-name/op/opener/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildGoModule, 5 + versionCheckHook, 6 + nix-update-script, 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "opener"; 11 + version = "0.1.5"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "superbrothers"; 15 + repo = "opener"; 16 + tag = "v${version}"; 17 + hash = "sha256-pp2jn4J6gYyZky5rVBaai9sVVqvPgM+fGryseM58WEI="; 18 + }; 19 + 20 + vendorHash = "sha256-xwMRWEwrG12QevVVTMC9OTdjIBoxR1AHkoa6OErPpF4="; 21 + 22 + postPatch = '' 23 + substituteInPlace opener.go \ 24 + --replace-fail \ 25 + 'var version string' \ 26 + 'var version string = "${version}"' 27 + ''; 28 + 29 + __darwinAllowLocalNetworking = true; 30 + 31 + passthru = { 32 + updateScript = nix-update-script { }; 33 + }; 34 + 35 + meta = { 36 + description = "Open URL in your local web browser from the SSH-connected remote environment"; 37 + homepage = "https://github.com/superbrothers/opener"; 38 + changelog = "https://github.com/superbrothers/opener/releases/tag/${src.tag}"; 39 + license = lib.licenses.mit; 40 + maintainers = with lib.maintainers; [ genga898 ]; 41 + mainProgram = "opener"; 42 + }; 43 + }