blob: ca9be15ce0d5e01d2f275e78f2982a22f4072674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with maintainers; [ makefu ];
};
}
|