Merge pull request #8731 from cheecheeo/fzf-master

fzf
This commit is contained in:
lethalman 2015-07-24 10:13:01 +02:00
commit 5d60c20fd8
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, goPackages, syncthing, ncurses }:
with goPackages;
buildGoPackage rec {
name = "fzf-${version}";
version = "0.10.0";
goPackagePath = "github.com/junegunn/fzf";
src = fetchFromGitHub {
owner = "junegunn";
repo = "fzf";
rev = "${version}";
sha256 = "0dx9qwmcrnh31m2n75qmpj1dxm6rr6xsbazy4nwa3bzrb8y6svh2";
};
buildInputs = with goPackages; [
crypto
ginkgo
gomega
junegunn.go-runewidth
go-shellwords
ncurses
syncthing
text
];
meta = with stdenv.lib; {
homepage = https://github.com/junegunn/fzf;
description = "A command-line fuzzy finder written in Go";
license = licenses.mit;
maintainers = [ maintainers.magnetophon ];
};
}

View File

@ -882,6 +882,8 @@ let
filter_audio = callPackage ../development/libraries/filter_audio { };
fzf = callPackage ../tools/misc/fzf { };
gist = callPackage ../tools/text/gist { };
gmic = callPackage ../tools/graphics/gmic { };

View File

@ -1369,6 +1369,30 @@ let
};
};
junegunn.go-runewidth = buildGoPackage rec {
rev = "travisish";
name = "go-runewidth-${rev}";
goPackagePath = "github.com/junegunn/go-runewidth";
src = fetchFromGitHub {
inherit rev;
owner = "junegunn";
repo = "go-runewidth";
sha256 = "07d612val59sibqly5d6znfkp4h4gjd77783jxvmiq6h2fwb964k";
};
};
go-shellwords = buildGoPackage rec {
rev = "35d512af75e283aae4ca1fc3d44b159ed66189a4";
name = "go-shellwords-${rev}";
goPackagePath = "github.com/junegunn/go-shellwords";
src = fetchFromGitHub {
inherit rev;
owner = "junegunn";
repo = "go-shellwords";
sha256 = "c792abe5fda48d0dfbdc32a84edb86d884a0ccbd9ed49ad48a30cda5ba028a22";
};
};
go-runit = buildGoPackage rec {
rev = "a9148323a615e2e1c93b7a9893914a360b4945c8";
name = "go-runit-${stdenv.lib.strings.substring 0 7 rev}";