about summary refs log tree commit diff
path: root/pkgs/tools/text/qgrep
diff options
context:
space:
mode:
authorYurii Rashkovskii <yrashk@gmail.com>2019-04-28 14:36:32 +0700
committerYurii Rashkovskii <yrashk@gmail.com>2019-04-28 14:36:32 +0700
commitde70c139ecb1a09733df8aaf47c4e37d8c0a5585 (patch)
treec0f971e2a03aab84e8501812230f754b0227d4bd /pkgs/tools/text/qgrep
parent43f9d5ccaa952eb57b7284684fe34f7837f720a3 (diff)
downloadnixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.gz
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.bz2
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.lz
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.xz
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.zst
nixlib-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.zip
qgrep: init at 1.1
Diffstat (limited to 'pkgs/tools/text/qgrep')
-rw-r--r--pkgs/tools/text/qgrep/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/text/qgrep/default.nix b/pkgs/tools/text/qgrep/default.nix
new file mode 100644
index 000000000000..5f0e7461361d
--- /dev/null
+++ b/pkgs/tools/text/qgrep/default.nix
@@ -0,0 +1,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;
+  };
+
+}