nixpkgs-suyu/pkgs/servers/search/sphinxsearch/default.nix
2014-09-03 12:02:25 +02:00

29 lines
699 B
Nix

{ stdenv, fetchurl, pkgconfig, mysql,
version ? "2.1.9",
mainSrc ? fetchurl {
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
sha256 = "00vwxf3zr0g1fq9mls1z2rd8nxw74b76pkl1j466lig1qc5am2b2";
}
}:
stdenv.mkDerivation rec {
name = "sphinxsearch-${version}";
src = mainSrc;
configureFlags = [
"--program-prefix=sphinxsearch-"
];
buildInputs = [
pkgconfig
mysql
];
meta = {
description = "An open source full text search server";
homepage = http://sphinxsearch.com;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ ederoyd46 ];
};
}