diff options
author | makefu <github@syntax-fehler.de> | 2017-09-29 21:38:35 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-09-29 21:38:35 +0200 |
commit | 6d083f03b76f6dfbe1810f8408301d0c916c3b34 (patch) | |
tree | f6bef67d5d3c25ab164da69629a18845f1cd158a /makefu/5pkgs | |
parent | aa273ee8802c7de6283e0bea2a7624bf099d251d (diff) |
ma pkgs.logstash-input-rss: init
Diffstat (limited to 'makefu/5pkgs')
-rw-r--r-- | makefu/5pkgs/logstash-input-rss/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/makefu/5pkgs/logstash-input-rss/default.nix b/makefu/5pkgs/logstash-input-rss/default.nix new file mode 100644 index 000000000..af66359ef --- /dev/null +++ b/makefu/5pkgs/logstash-input-rss/default.nix @@ -0,0 +1,31 @@ +{ pkgs, stdenv, lib, fetchFromGitHub }: + + +stdenv.mkDerivation rec { + name = "logstash-input-rss-${version}"; + version = "3.0.3"; + + src = fetchFromGitHub { + owner = "logstash-plugins"; + repo = "logstash-input-rss"; + rev = "v${version}"; + sha256 = "026902g256385dx3qkbknz10vsp9dm2ymjdx6s6rkh3krs67w09l"; + }; + + dontBuild = true; + dontPatchELF = true; + dontStrip = true; + dontPatchShebangs = true; + installPhase = '' + mkdir -p $out/logstash + cp -r lib/* $out/ + ''; + + meta = with lib; { + description = "logstash output plugin"; + homepage = https://github.com/logstash-plugins/logstash-input-rss; + license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ makefu ]; + }; +} |