tsearch-extras: init at 0.2
This commit is contained in:
parent
176a96782e
commit
8616c0d391
29
pkgs/servers/sql/postgresql/tsearch_extras/default.nix
Normal file
29
pkgs/servers/sql/postgresql/tsearch_extras/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, pkgconfig, postgresql }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "tsearch-extras-${version}";
|
||||||
|
version = "0.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zulip";
|
||||||
|
repo = "tsearch_extras";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1ivg9zn7f1ks31ixxwywifwhzxn6py8s5ky1djyxnb0s60zckfjg";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativebuildInputs = [ pkgconfig ];
|
||||||
|
buildInputs = [ postgresql ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -D tsearch_extras.so -t $out/lib/
|
||||||
|
install -D ./{tsearch_extras--1.0.sql,tsearch_extras.control} -t $out/share/extension
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Provides a few PostgreSQL functions for a lower-level data full text search";
|
||||||
|
homepage = https://github.com/zulip/tsearch_extras/;
|
||||||
|
license = licenses.postgresql;
|
||||||
|
maintainers = with maintainers; [ DerTim1 ];
|
||||||
|
};
|
||||||
|
}
|
@ -15310,6 +15310,8 @@ with pkgs;
|
|||||||
# We need QtWebkit which was deprecated in Qt 5.6 although it can still be build
|
# We need QtWebkit which was deprecated in Qt 5.6 although it can still be build
|
||||||
trojita = with qt55; callPackage ../applications/networking/mailreaders/trojita { };
|
trojita = with qt55; callPackage ../applications/networking/mailreaders/trojita { };
|
||||||
|
|
||||||
|
tsearch_extras = callPackage ../servers/sql/postgresql/tsearch_extras { };
|
||||||
|
|
||||||
tudu = callPackage ../applications/office/tudu { };
|
tudu = callPackage ../applications/office/tudu { };
|
||||||
|
|
||||||
tuxguitar = callPackage ../applications/editors/music/tuxguitar { };
|
tuxguitar = callPackage ../applications/editors/music/tuxguitar { };
|
||||||
|
Loading…
Reference in New Issue
Block a user