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

32 lines
735 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig,
version ? "2.2.11",
2014-09-03 11:02:25 +01:00
mainSrc ? fetchurl {
2014-07-06 13:08:39 +01:00
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
sha256 = "1aa1mh32y019j8s3sjzn4vwi0xn83dwgl685jnbgh51k16gh6qk6";
}
}:
2014-07-06 13:08:39 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "sphinxsearch";
inherit version;
2014-07-06 13:08:39 +01:00
src = mainSrc;
configureFlags = [
"--program-prefix=sphinxsearch-"
"--without-mysql"
"--enable-id64"
2014-07-06 13:08:39 +01:00
];
nativeBuildInputs = [
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 ];
};
}