grip-0.8: indexed grip (#60182)

grip-0.8: indexed grip
This commit is contained in:
Daniel Schaefer 2019-11-14 23:54:32 +01:00 committed by GitHub
commit c96e556ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, boost, pkgconfig, cmake, catch2 }:
stdenv.mkDerivation rec {
pname = "grip-search";
version = "0.8";
src = fetchFromGitHub {
owner = "sc0ty";
repo = "grip";
rev = "v${version}";
sha256 = "0bkqarylgzhis6fpj48qbifcd6a26cgnq8784hgnm707rq9kb0rx";
};
nativeBuildInputs = [ pkgconfig cmake catch2 ];
doCheck = true;
buildInputs = [ boost ];
patchPhase = ''
substituteInPlace src/general/config.h --replace "CUSTOM-BUILD" "${version}"
'';
meta = with stdenv.lib; {
description = "Fast, indexed regexp search over large file trees";
homepage = "https://github.com/sc0ty/grip";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ tex ];
};
}

View file

@ -18740,6 +18740,8 @@ in
grepm = callPackage ../applications/search/grepm { };
grip-search = callPackage ../tools/text/grip-search { };
grip = callPackage ../applications/misc/grip {
inherit (gnome2) libgnome libgnomeui vte;
};