nixpkgs/pkgs/servers/search/sphinxsearch/default.nix

31 lines
723 B
Nix
Raw Normal View History

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