File tree 2 files changed +31
-0
lines changed
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ { stdenv , fetchFromGitHub , pkgconfig , postgresql } :
2
+
3
+ stdenv . mkDerivation rec {
4
+ name = "tsearch-extras-${ version } " ;
5
+ version = "0.2" ;
6
+
7
+ src = fetchFromGitHub {
8
+ owner = "zulip" ;
9
+ repo = "tsearch_extras" ;
10
+ rev = version ;
11
+ sha256 = "1ivg9zn7f1ks31ixxwywifwhzxn6py8s5ky1djyxnb0s60zckfjg" ;
12
+ } ;
13
+
14
+ nativebuildInputs = [ pkgconfig ] ;
15
+ buildInputs = [ postgresql ] ;
16
+
17
+ installPhase = ''
18
+ mkdir -p $out/bin
19
+ install -D tsearch_extras.so -t $out/lib/
20
+ install -D ./{tsearch_extras--1.0.sql,tsearch_extras.control} -t $out/share/extension
21
+ '' ;
22
+
23
+ meta = with stdenv . lib ; {
24
+ description = "Provides a few PostgreSQL functions for a lower-level data full text search" ;
25
+ homepage = https://github.com/zulip/tsearch_extras/ ;
26
+ license = licenses . postgresql ;
27
+ maintainers = with maintainers ; [ DerTim1 ] ;
28
+ } ;
29
+ }
Original file line number Diff line number Diff line change @@ -15332,6 +15332,8 @@ with pkgs;
15332
15332
# We need QtWebkit which was deprecated in Qt 5.6 although it can still be build
15333
15333
trojita = with qt55; callPackage ../applications/networking/mailreaders/trojita { };
15334
15334
15335
+ tsearch_extras = callPackage ../servers/sql/postgresql/tsearch_extras { };
15336
+
15335
15337
tudu = callPackage ../applications/office/tudu { };
15336
15338
15337
15339
tuxguitar = callPackage ../applications/editors/music/tuxguitar { };
You can’t perform that action at this time.
0 commit comments