diff options
author | makefu <github@syntax-fehler.de> | 2017-08-16 12:03:32 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-08-16 12:03:32 +0200 |
commit | bacdb91d8d5a856d735ff8c52ecb0010511027b7 (patch) | |
tree | 8d1a34871102c685fdf0338a767aedd359397fb2 /makefu/5pkgs/broken/logstash-input-github/default.nix | |
parent | 60be2e12f968ba0097289f0a2ce47d870e9e4c2d (diff) |
ma 5pkgs: cleanup
Diffstat (limited to 'makefu/5pkgs/broken/logstash-input-github/default.nix')
-rw-r--r-- | makefu/5pkgs/broken/logstash-input-github/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/makefu/5pkgs/broken/logstash-input-github/default.nix b/makefu/5pkgs/broken/logstash-input-github/default.nix new file mode 100644 index 000000000..3e664e188 --- /dev/null +++ b/makefu/5pkgs/broken/logstash-input-github/default.nix @@ -0,0 +1,35 @@ +{ pkgs, stdenv, lib, fetchFromGitHub }: + + +# TODO: requires ftw ruby package +stdenv.mkDerivation rec { + name = "logstash-input-github-${version}"; + version = "3.0.2"; + + src = fetchFromGitHub { + owner = "logstash-plugins"; + repo = "logstash-input-github"; + rev = "v${version}"; + sha256 = "0xc7dicfkqq10w687xyb37qpjmkzxi2n64d16h059b0irh8sychx"; + }; + + dontBuild = true; + dontPatchELF = true; + dontStrip = true; + dontPatchShebangs = true; + propagatedBuildInputs = [ + pkgs.rubyPackages.ftw + ]; + installPhase = '' + mkdir -p $out/logstash + cp -r lib/* $out + ''; + + meta = with lib; { + description = "logstash github plugin"; + homepage = https://github.com/logstash-plugins/logstash-input-github; + license = stdenv.lib.licenses.asl20; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ makefu ]; + }; +} |