nixpkgs/pkgs/servers/search/groonga/default.nix
R. RyanTM 7344356fa0 groonga: 8.0.0 -> 8.0.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1/bin/groonga-suggest-create-dataset -h’ got 0 exit code
- ran ‘/nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1/bin/groonga-suggest-create-dataset --help’ got 0 exit code
- ran ‘/nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1/bin/groonga -h’ got 0 exit code
- ran ‘/nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1/bin/groonga --help’ got 0 exit code
- ran ‘/nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1/bin/groonga-httpd -h’ got 0 exit code
- found 8.0.1 with grep in /nix/store/q7ml0yi4cgbk80hzsps8ili5c6iypp4r-groonga-8.0.1
- directory tree listing: https://gist.github.com/082e5c57cc92d0367e65c277e2f6dd90
2018-04-10 23:31:01 -07:00

43 lines
1.3 KiB
Nix

{ stdenv, fetchurl, mecab, kytea, libedit, pkgconfig
, suggestSupport ? false, zeromq, libevent, libmsgpack
, lz4Support ? false, lz4
, zlibSupport ? false, zlib
}:
stdenv.mkDerivation rec {
name = "groonga-${version}";
version = "8.0.1";
src = fetchurl {
url = "http://packages.groonga.org/source/groonga/${name}.tar.gz";
sha256 = "074r71dcv1l8rm6an7b8iyfpcxbk00iysmzszssknqg8mrqvsphg";
};
buildInputs = with stdenv.lib;
[ pkgconfig mecab kytea libedit ]
++ optional lz4Support lz4
++ optional zlibSupport zlib
++ optionals suggestSupport [ zeromq libevent libmsgpack ];
configureFlags = with stdenv.lib;
optional zlibSupport "--with-zlib"
++ optional lz4Support "--with-lz4";
doInstallCheck = true;
installCheckPhase = "$out/bin/groonga --version";
meta = with stdenv.lib; {
homepage = http://groonga.org/;
description = "An open-source fulltext search engine and column store";
license = licenses.lgpl21;
maintainers = [ maintainers.ericsagnes ];
platforms = platforms.linux;
longDescription = ''
Groonga is an open-source fulltext search engine and column store.
It lets you write high-performance applications that requires fulltext search.
'';
};
}