nixpkgs-suyu/pkgs/servers/sql/postgresql/pgroonga/default.nix
R. RyanTM fc7a9977f3 pgroonga: 2.0.4 -> 2.0.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/pgroonga/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.0.5 with grep in /nix/store/k3jk6bdh9z57nngzfi737j30y146msb2-pgroonga-2.0.5
- directory tree listing: https://gist.github.com/480386761e3d0a9251dceaf4f5707651
2018-04-20 01:05:46 -07:00

30 lines
1.2 KiB
Nix

{ stdenv, fetchurl, pkgconfig, postgresql, libmsgpack, groonga }:
stdenv.mkDerivation rec {
name = "pgroonga-${version}";
version = "2.0.5";
src = fetchurl {
url = "http://packages.groonga.org/source/pgroonga/${name}.tar.gz";
sha256 = "1c4m1rg3122y8rndgz7sj9a49l3v9nm0qbpa04pls20pxzx21g5a";
};
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 ];
};
}