logstash: fix description and make install process more compact

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