nixpkgs/pkgs/tools/misc/fzf/default.nix

34 lines
736 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, goPackages, syncthing, ncurses }:
with goPackages;
buildGoPackage rec {
name = "fzf-${version}";
2015-07-16 04:59:20 +02:00
version = "0.10.0";
goPackagePath = "github.com/junegunn/fzf";
src = fetchFromGitHub {
owner = "junegunn";
repo = "fzf";
rev = "${version}";
2015-07-16 04:59:20 +02:00
sha256 = "0dx9qwmcrnh31m2n75qmpj1dxm6rr6xsbazy4nwa3bzrb8y6svh2";
};
2015-07-10 19:52:23 +02:00
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;
2015-07-11 19:30:51 +02:00
maintainers = [ maintainers.magnetophon ];
};
}