git.iko.soy/typeable/nixpkgs
on master help sign in
grip-search: init at 0.8
commit2bf8cccc0d8855c98538741c27978d2be434fbf7 authorMilan Svoboda <milan.svoboda@centrum.cz> dateThu 7 Nov 2019, 20:46 (7 years ago) parentae50241
2 files changed+33
pkgs/tools/text/grip-search/default.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/tools/text/grip-search/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, fetchFromGitHub, boost, pkgconfig, cmake, catch2 }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "grip-search";
5+ version = "0.8";
6+
7+ src = fetchFromGitHub {
8+ owner = "sc0ty";
9+ repo = "grip";
10+ rev = "v${version}";
11+ sha256 = "0bkqarylgzhis6fpj48qbifcd6a26cgnq8784hgnm707rq9kb0rx";
12+ };
13+
14+ nativeBuildInputs = [ pkgconfig cmake catch2 ];
15+
16+ doCheck = true;
17+
18+ buildInputs = [ boost ];
19+
20+ patchPhase = ''
21+ substituteInPlace src/general/config.h --replace "CUSTOM-BUILD" "${version}"
22+ '';
23+
24+ meta = with stdenv.lib; {
25+ description = "Fast, indexed regexp search over large file trees";
26+ homepage = "https://github.com/sc0ty/grip";
27+ license = licenses.gpl3;
28+ platforms = platforms.all;
29+ maintainers = with maintainers; [ tex ];
30+ };
31+}
pkgs/top-level/all-packages.nix+2
@@ -17529,6 +17529,8 @@ in
1752917529
1753017530 grepm = callPackage ../applications/search/grepm { };
1753117531
17532+ grip-search = callPackage ../tools/text/grip-search { };
17533+
1753217534 grip = callPackage ../applications/misc/grip {
1753317535 inherit (gnome2) libgnome libgnomeui vte;
1753417536 };