forked from mirrors/nixpkgs
37765b85fe
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11/bin/sphinxsearch-searchd -h` got 0 exit code - ran `/nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11/bin/sphinxsearch-searchd --help` got 0 exit code - ran `/nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11/bin/sphinxsearch-searchd -h` and found version 2.2.11 - ran `/nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11/bin/sphinxsearch-searchd --help` and found version 2.2.11 - found 2.2.11 with grep in /nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11 - found 2.2.11 in filename of file in /nix/store/rd3zgq55rdmmyd4rfbv2ij98bk55icic-sphinxsearch-2.2.11 cc "@ederoyd46"
31 lines
730 B
Nix
31 lines
730 B
Nix
{ stdenv, fetchurl, pkgconfig,
|
|
version ? "2.2.11",
|
|
mainSrc ? fetchurl {
|
|
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
|
|
sha256 = "1aa1mh32y019j8s3sjzn4vwi0xn83dwgl685jnbgh51k16gh6qk6";
|
|
}
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sphinxsearch-${version}";
|
|
src = mainSrc;
|
|
|
|
configureFlags = [
|
|
"--program-prefix=sphinxsearch-"
|
|
"--without-mysql"
|
|
"--enable-id64"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|