Files
nixpkgs/pkgs/servers/sql/postgresql/pgroonga/default.nix
R. RyanTM 2af45d94dd pgroonga: 2.0.5 -> 2.0.6 (#40646)
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

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 2.0.6 with grep in /nix/store/nh4mqn37kx82q7l5fm6anycaw8iz7b8n-pgroonga-2.0.6
- directory tree listing: https://gist.github.com/14e8971d0a27517ef320553ce1e8d33c
- du listing: https://gist.github.com/c1f25e2851a59216d5fa9f88b6477927
2018-05-19 16:59:54 +02:00

31 lines
1.2 KiB
Nix

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