1 { lib, stdenv, fetchurl, pkg-config, expat, libmysqlclient,
2 enableXmlpipe2 ? false,
6 stdenv.mkDerivation rec {
7 pname = "sphinxsearch";
11 url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
12 sha256 = "1aa1mh32y019j8s3sjzn4vwi0xn83dwgl685jnbgh51k16gh6qk6";
15 enableParallelBuilding = true;
18 "--program-prefix=sphinxsearch-"
20 ] ++ lib.optionals (!enableMysql) [
28 buildInputs = lib.optionals enableMysql [
30 ] ++ lib.optionals enableXmlpipe2 [
34 CXXFLAGS = "-std=c++98";
37 description = "Open source full text search server";
38 homepage = "http://sphinxsearch.com";
39 license = lib.licenses.gpl2Plus;
40 platforms = lib.platforms.all;
41 maintainers = with lib.maintainers; [ ederoyd46 valodim ];