1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/text/qgrep/default.nix
2019-04-28 14:36:32 +07:00

28 lines
637 B
Nix

{ 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;
};
}