logstash: fix description and make install process more compact

This commit is contained in:
Jaka Hudoklin 2015-09-06 14:46:31 +02:00
parent a79d732243
commit f364702bb7

View File

@ -15,20 +15,17 @@ stdenv.mkDerivation rec {
dontPatchShebangs = true; dontPatchShebangs = true;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out
mkdir -p $out/vendor cp -r {Gemfile*,vendor,lib} $out
mkdir -p $out/lib cp bin/logstash $out/logstash
cp -a bin $out cp bin/plugin $out/logstash-plugin
cp -a vendor $out
cp -a lib $out
cp Gemfile* $out
''; '';
meta = { meta = with stdenv.lib; {
description = "Open Source, Distributed, RESTful Search Engine"; description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems.";
homepage = http://www.elasticsearch.org; homepage = https://www.elastic.co/products/logstash;
license = stdenv.lib.licenses.asl20; license = licenses.asl20;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.wjlroe ]; maintainers = [ maintainers.wjlroe maintainers.offline ];
}; };
} }