Files
nixpkgs/pkgs/servers/sql/postgresql/pgroonga/default.nix
T
Ryan Mulligan 1d30efed48 pgroonga: 1.1.9 -> 2.0.2
Semi-automatic update. These checks were performed:

- built on NixOS
- found 2.0.2 with grep in /nix/store/6wff31scywzmgmv4hqab1jfj391vv95y-pgroonga-2.0.2
- found 2.0.2 in filename of file in /nix/store/6wff31scywzmgmv4hqab1jfj391vv95y-pgroonga-2.0.2

cc "@DerTim1"
2018-03-01 16:53:53 +01:00

31 lines
1.2 KiB
Nix

{ stdenv, fetchurl, pkgconfig, postgresql, libmsgpack, groonga }:
stdenv.mkDerivation rec {
name = "pgroonga-${version}";
version = "2.0.2";
src = fetchurl {
url = "http://packages.groonga.org/source/pgroonga/${name}.tar.gz";
sha256 = "0023747i2x3j50z54l78maq7dya5ldd2sdydn6l5l7k6b6g4yr2d";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ postgresql libmsgpack groonga ];
makeFlags = [ "HAVE_MSGPACK=1" ];
installPhase = ''
mkdir -p $out/bin
install -D pgroonga.so -t $out/lib/
install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/extension
'';
meta = with stdenv.lib; {
description = "A PostgreSQL extension to use Groonga as the index";
longDescription = "PGroonga is a PostgreSQL extension to use Groonga as the index. PostgreSQL supports full text search against languages that use only alphabet and digit. It means that PostgreSQL doesn't support full text search against Japanese, Chinese and so on. You can use super fast full text search feature against all languages by installing PGroonga into your PostgreSQL.";
homepage = https://pgroonga.github.io/;
license = licenses.postgresql;
maintainers = with maintainers; [ DerTim1 ];
};
}