diff options
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 ]; + }; +} |