2014-08-24 10:17:31 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, mysql,
|
2014-09-03 09:25:57 +00:00
|
|
|
version = "2.1.9";
|
2014-07-06 12:08:39 +00:00
|
|
|
mainSrc = fetchurl {
|
|
|
|
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
|
|
|
|
sha256 = "00vwxf3zr0g1fq9mls1z2rd8nxw74b76pkl1j466lig1qc5am2b2";
|
2014-08-24 10:17:31 +00:00
|
|
|
}
|
|
|
|
}:
|
2014-07-06 12:08:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sphinxsearch-${version}";
|
|
|
|
src = mainSrc;
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--program-prefix=sphinxsearch-"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
mysql
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 10:17:31 +00:00
|
|
|
description = "An open source full text search server";
|
2014-07-06 12:08:39 +00:00
|
|
|
homepage = http://sphinxsearch.com;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ ederoyd46 ];
|
|
|
|
};
|
|
|
|
}
|