1 { stdenv, lib, fetchzip }:
3 # Note that plugins are supposed to be installed as:
4 # $path/logstash/{inputs,codecs,filters,outputs}/*.rb
5 stdenv.mkDerivation rec {
7 pname = "logstash-contrib";
10 url = "https://download.elasticsearch.org/logstash/logstash/logstash-contrib-${version}.tar.gz";
11 sha256 = "1yj8sf3b526gixh3c6zhgkfpg4f0c72p1lzhfhdx8b3lw7zjkj0k";
17 dontPatchShebangs = true;
21 mkdir -p $out/logstash
27 description = "Community-maintained logstash plugins";
28 homepage = "https://github.com/elasticsearch/logstash-contrib";
29 license = lib.licenses.asl20;
30 platforms = lib.platforms.unix;