tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge pull request #8731 from cheecheeo/fzf-master
fzf
lethalman
10 years ago
5d60c20f
636f9ac0
+59
3 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
fzf
default.nix
top-level
all-packages.nix
go-packages.nix
+33
pkgs/tools/misc/fzf/default.nix
···
1
1
+
{ stdenv, fetchFromGitHub, goPackages, syncthing, ncurses }:
2
2
+
3
3
+
with goPackages;
4
4
+
5
5
+
buildGoPackage rec {
6
6
+
name = "fzf-${version}";
7
7
+
version = "0.10.0";
8
8
+
goPackagePath = "github.com/junegunn/fzf";
9
9
+
src = fetchFromGitHub {
10
10
+
owner = "junegunn";
11
11
+
repo = "fzf";
12
12
+
rev = "${version}";
13
13
+
sha256 = "0dx9qwmcrnh31m2n75qmpj1dxm6rr6xsbazy4nwa3bzrb8y6svh2";
14
14
+
};
15
15
+
16
16
+
buildInputs = with goPackages; [
17
17
+
crypto
18
18
+
ginkgo
19
19
+
gomega
20
20
+
junegunn.go-runewidth
21
21
+
go-shellwords
22
22
+
ncurses
23
23
+
syncthing
24
24
+
text
25
25
+
];
26
26
+
27
27
+
meta = with stdenv.lib; {
28
28
+
homepage = https://github.com/junegunn/fzf;
29
29
+
description = "A command-line fuzzy finder written in Go";
30
30
+
license = licenses.mit;
31
31
+
maintainers = [ maintainers.magnetophon ];
32
32
+
};
33
33
+
}
+2
pkgs/top-level/all-packages.nix
···
882
882
883
883
filter_audio = callPackage ../development/libraries/filter_audio { };
884
884
885
885
+
fzf = callPackage ../tools/misc/fzf { };
886
886
+
885
887
gist = callPackage ../tools/text/gist { };
886
888
887
889
gmic = callPackage ../tools/graphics/gmic { };
+24
pkgs/top-level/go-packages.nix
···
1369
1369
};
1370
1370
};
1371
1371
1372
1372
+
junegunn.go-runewidth = buildGoPackage rec {
1373
1373
+
rev = "travisish";
1374
1374
+
name = "go-runewidth-${rev}";
1375
1375
+
goPackagePath = "github.com/junegunn/go-runewidth";
1376
1376
+
src = fetchFromGitHub {
1377
1377
+
inherit rev;
1378
1378
+
owner = "junegunn";
1379
1379
+
repo = "go-runewidth";
1380
1380
+
sha256 = "07d612val59sibqly5d6znfkp4h4gjd77783jxvmiq6h2fwb964k";
1381
1381
+
};
1382
1382
+
};
1383
1383
+
1384
1384
+
go-shellwords = buildGoPackage rec {
1385
1385
+
rev = "35d512af75e283aae4ca1fc3d44b159ed66189a4";
1386
1386
+
name = "go-shellwords-${rev}";
1387
1387
+
goPackagePath = "github.com/junegunn/go-shellwords";
1388
1388
+
src = fetchFromGitHub {
1389
1389
+
inherit rev;
1390
1390
+
owner = "junegunn";
1391
1391
+
repo = "go-shellwords";
1392
1392
+
sha256 = "c792abe5fda48d0dfbdc32a84edb86d884a0ccbd9ed49ad48a30cda5ba028a22";
1393
1393
+
};
1394
1394
+
};
1395
1395
+
1372
1396
go-runit = buildGoPackage rec {
1373
1397
rev = "a9148323a615e2e1c93b7a9893914a360b4945c8";
1374
1398
name = "go-runit-${stdenv.lib.strings.substring 0 7 rev}";