git.iko.soy/typeable/nixpkgs
on master help sign in
groonga: init at 6.0.7
commit5b8e4e2260ed51711cc3b30d21866ba427bc90f9 authorEric Sagnes <eric.sagnes@gmail.com> dateThu 25 Aug 2016, 17:31 (10 years ago) parent9dc5952
2 files changed+44
pkgs/servers/search/groonga/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/servers/search/groonga/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchurl, mecab, kytea, libedit, pkgconfig
2+, suggestSupport ? false, zeromq, libevent, libmsgpack
3+, lz4Support ? false, lz4
4+, zlibSupport ? false, zlib
5+}:
6+
7+stdenv.mkDerivation rec {
8+
9+ name = "groonga-${version}";
10+ version = "6.0.7";
11+
12+ src = fetchurl {
13+ url = "http://packages.groonga.org/source/groonga/groonga-6.0.7.tar.gz";
14+ sha256 = "19vpjjq3mqaqy9idlmqg2agrz9dc48a9id8j7nx158pkwjvpj7jf";
15+ };
16+
17+ buildInputs = with stdenv.lib; [ pkgconfig mecab kytea libedit ] ++
18+ optional lz4Support lz4 ++
19+ optional zlibSupport zlib ++
20+ optional suggestSupport [ zeromq libevent libmsgpack ];
21+
22+ configureFlags = with stdenv.lib; ''
23+ ${optionalString zlibSupport "--with-zlib"}
24+ ${optionalString lz4Support "--with-lz4"}
25+ '';
26+
27+ meta = with stdenv.lib; {
28+ homepage = http://groonga.org/;
29+ description = "An open-source fulltext search engine and column store";
30+
31+ longDescription = ''
32+ Groonga is an open-source fulltext search engine and column store.
33+ It lets you write high-performance applications that requires fulltext search.
34+ '';
35+
36+ license = licenses.lgpl21;
37+
38+ maintainers = [ maintainers.ericsagnes ];
39+ platforms = platforms.linux;
40+ };
41+
42+}
pkgs/top-level/all-packages.nix+2
@@ -1869,6 +1869,8 @@ in
18691869 ghostscript = null;
18701870 };
18711871
1872+ groonga = callPackage ../servers/search/groonga { };
1873+
18721874 grub = callPackage_i686 ../tools/misc/grub {
18731875 buggyBiosCDSupport = config.grub.buggyBiosCDSupport or true;
18741876 };