mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Added Sphinx Search package
This commit is contained in:
parent
873832ab6d
commit
518daa9660
31
pkgs/servers/search/sphinxsearch/default.nix
Normal file
31
pkgs/servers/search/sphinxsearch/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl, pkgconfig, mysql }:
|
||||
|
||||
let
|
||||
version = "2.1.9";
|
||||
mainSrc = fetchurl {
|
||||
url = "http://sphinxsearch.com/files/sphinx-${version}-release.tar.gz";
|
||||
sha256 = "00vwxf3zr0g1fq9mls1z2rd8nxw74b76pkl1j466lig1qc5am2b2";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sphinxsearch-${version}";
|
||||
src = mainSrc;
|
||||
|
||||
configureFlags = [
|
||||
"--program-prefix=sphinxsearch-"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig
|
||||
mysql
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx is 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 ];
|
||||
};
|
||||
}
|
@ -6125,6 +6125,8 @@ let
|
||||
|
||||
sphinxbase = callPackage ../development/libraries/sphinxbase { };
|
||||
|
||||
sphinxsearch = callPackage ../servers/search/sphinxsearch { };
|
||||
|
||||
spice = callPackage ../development/libraries/spice {
|
||||
celt = celt_0_5_1;
|
||||
inherit (xlibs) libXrandr libXfixes libXext libXrender libXinerama;
|
||||
|
Loading…
Reference in New Issue
Block a user