2014-09-04 12:21:28 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig,
|
2018-02-28 00:44:47 +00:00
|
|
|
version ? "2.2.11",
|
2014-09-03 10:02:25 +00:00
|
|
|
mainSrc ? fetchurl {
|
2014-07-06 12:08:39 +00:00
|
|
|
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
|
2018-02-28 00:44:47 +00:00
|
|
|
sha256 = "1aa1mh32y019j8s3sjzn4vwi0xn83dwgl685jnbgh51k16gh6qk6";
|
2014-08-24 10:17:31 +00:00
|
|
|
}
|
|
|
|
}:
|
2014-07-06 12:08:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "sphinxsearch";
|
|
|
|
inherit version;
|
2014-07-06 12:08:39 +00:00
|
|
|
src = mainSrc;
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--program-prefix=sphinxsearch-"
|
2014-09-04 12:21:28 +00:00
|
|
|
"--without-mysql"
|
|
|
|
"--enable-id64"
|
2014-07-06 12:08:39 +00:00
|
|
|
];
|
|
|
|
|
2017-09-14 19:24:37 +00:00
|
|
|
nativeBuildInputs = [
|
2014-07-06 12:08:39 +00:00
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|