summary refs log tree commit diff
path: root/pkgs
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
parent43f9d5ccaa952eb57b7284684fe34f7837f720a3 (diff)
downloadnixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.gz
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.bz2
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.lz
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.xz
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.tar.zst
nixpkgs-de70c139ecb1a09733df8aaf47c4e37d8c0a5585.zip
qgrep: init at 1.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/text/qgrep/default.nix27
-rw-r--r--pkgs/top-level/all-packages.nix1
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/text/qgrep/default.nix b/pkgs/tools/text/qgrep/default.nix
new file mode 100644
index 00000000000..5f0e7461361
--- /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;
+  };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d40b9905e05..fe75119d9b8 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5298,6 +5298,7 @@ in
   qdigidoc = libsForQt5.callPackage ../tools/security/qdigidoc { } ;
   esteidfirefoxplugin = callPackage ../applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin { };
 
+  qgrep = callPackage ../tools/text/qgrep {};
 
   qhull = callPackage ../development/libraries/qhull { };