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