unfurl: init at 0.4.3

https://github.com/tomnomnom/unfurl

figsoda bbcea569 8de9fea9

+34
+32
pkgs/tools/text/unfurl/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "unfurl"; 8 + version = "0.4.3"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "tomnomnom"; 12 + repo = "unfurl"; 13 + rev = "v${version}"; 14 + hash = "sha256-7aLe5d8ku5llfJ2xh8fT56vqj12/CJ1ez3Vte2PF8KQ="; 15 + }; 16 + 17 + vendorHash = "sha256-Kpd916+jjGvw56N122Ej4CXVcv1/xr1THkjsrhkIy+U="; 18 + 19 + ldflags = [ "-s" "-w" ]; 20 + 21 + # tests tries to download a list of tlds from the internet 22 + postPatch = '' 23 + echo com > /tmp/.tlds 24 + ''; 25 + 26 + meta = with lib; { 27 + description = "Pull out bits of URLs provided on stdin"; 28 + homepage = "https://github.com/tomnomnom/unfurl"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ figsoda ]; 31 + }; 32 + }
+2
pkgs/top-level/all-packages.nix
··· 13374 13375 unfs3 = callPackage ../servers/unfs3 { }; 13376 13377 unixbench = callPackage ../development/tools/misc/unixbench { }; 13378 13379 unoconv = callPackage ../tools/text/unoconv { };
··· 13374 13375 unfs3 = callPackage ../servers/unfs3 { }; 13376 13377 + unfurl = callPackage ../tools/text/unfurl { }; 13378 + 13379 unixbench = callPackage ../development/tools/misc/unixbench { }; 13380 13381 unoconv = callPackage ../tools/text/unoconv { };