summary refs log tree commit diff
path: root/pkgs/tools/text/qgrep/default.nix
blob: 5f0e7461361d7e58cf2b3b6aca62d39ed5f03285 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  version = "1.1";
  pname = "qgrep";

  src = fetchFromGitHub {
    owner = "zeux";
    repo = "qgrep";
    rev = "v${version}";
    sha256 = "046ccw34vz2k5jn6gyxign5gs2qi7i50jy9b74wqv7sjf5zayrh0";
    fetchSubmodules = true;
  };

  installPhase = '' 
    install -Dm755 qgrep $out/bin/qgrep
  '';

  meta = with stdenv.lib; {
    description = "Fast regular expression grep for source code with incremental index updates";
    homepage = https://github.com/zeux/qgrep;
    license = licenses.mit;
    maintainers = [ maintainers.yrashk ];
    platforms = platforms.all;
  };

}