forked from mirrors/nixpkgs
Merge pull request #180711 from loicreynier/feat-fzf-obc-init
fzf-obc: init at 1.3.0
This commit is contained in:
commit
278bd9c231
30
pkgs/shells/bash/fzf-obc/default.nix
Normal file
30
pkgs/shells/bash/fzf-obc/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fzf-obc";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rockandska";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-KIAlDpt1Udl+RLp3728utgQ9FCjZz/OyoG92MOJmgPI=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fzf-obc/{bin,lib/fzf-obc,plugins/{kill,gradle}}
|
||||
install -m644 bin/* $out/share/fzf-obc/bin
|
||||
install -m644 lib/fzf-obc/* $out/share/fzf-obc/lib/fzf-obc
|
||||
install -m644 plugins/kill/* $out/share/fzf-obc/plugins/kill
|
||||
install -m644 plugins/gradle/* $out/share/fzf-obc/plugins/gradle
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fzf-obc.readthedocs.io";
|
||||
description = "Completion script adding fzf over all know bash completion functions";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ loicreynier ];
|
||||
};
|
||||
}
|
|
@ -3749,6 +3749,8 @@ with pkgs;
|
|||
|
||||
fzf = callPackage ../tools/misc/fzf { };
|
||||
|
||||
fzf-obc = callPackage ../shells/bash/fzf-obc { };
|
||||
|
||||
fzf-zsh = callPackage ../shells/zsh/fzf-zsh { };
|
||||
|
||||
fzy = callPackage ../tools/misc/fzy { };
|
||||
|
|
Loading…
Reference in a new issue