mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
31 lines
723 B
Nix
31 lines
723 B
Nix
{ stdenv, fetchurl, pkgconfig,
|
|
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-"
|
|
"--without-mysql"
|
|
"--enable-id64"
|
|
];
|
|
|
|
buildInputs = [
|
|
pkgconfig
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|