New package: solr 4.7.0, a Java search platform
This commit is contained in:
parent
f24940330b
commit
040df9c41a
30
pkgs/servers/search/solr/default.nix
Normal file
30
pkgs/servers/search/solr/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "solr-${version}";
|
||||
version = "4.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/lucene/solr/${version}/solr-${version}.tgz";
|
||||
sha256 = "0qm3pnhpfqjxdl0xiwffrcchp79q3ja5w5d278bkkxglc2y1y4xc";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
cp dist/${name}.war $out/lib/solr.war
|
||||
cp -r example/lib/ext $out/lib/ext
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://lucene.apache.org/solr/";
|
||||
description = ''
|
||||
Open source enterprise search platform from the Apache Lucene project
|
||||
'';
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.rickynils ];
|
||||
};
|
||||
|
||||
}
|
@ -1906,6 +1906,8 @@ let
|
||||
inherit (pkgsi686Linux.xlibs) libX11;
|
||||
};
|
||||
|
||||
solr = callPackage ../servers/search/solr { };
|
||||
|
||||
sparsehash = callPackage ../development/libraries/sparsehash { };
|
||||
|
||||
stardict = callPackage ../applications/misc/stardict/stardict.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user