mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
commit
5d60c20fd8
33
pkgs/tools/misc/fzf/default.nix
Normal file
33
pkgs/tools/misc/fzf/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user