about summary refs log tree commit diff
path: root/pkgs/tools/misc/logstash
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-06-17 00:40:08 +0100
committerRobert Scott <code@humanleg.org.uk>2022-07-02 13:38:00 +0100
commit3d6c926c4f6464ba73a176686d65536f3ce17da4 (patch)
treebf7aafdf41ac52517a605b508a3567c164299305 /pkgs/tools/misc/logstash
parent16c19219d3c556974b20a146d6c2771b2924b737 (diff)
treewide/servers,shells,tools: add sourceType for more packages
Diffstat (limited to 'pkgs/tools/misc/logstash')
-rw-r--r--pkgs/tools/misc/logstash/6.x.nix5
-rw-r--r--pkgs/tools/misc/logstash/7.x.nix5
2 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/misc/logstash/6.x.nix b/pkgs/tools/misc/logstash/6.x.nix
index c1136ed887689..4de78cf4cbd74 100644
--- a/pkgs/tools/misc/logstash/6.x.nix
+++ b/pkgs/tools/misc/logstash/6.x.nix
@@ -53,6 +53,11 @@ let this = stdenv.mkDerivation rec {
   meta = with lib; {
     description = "A data pipeline that helps you process logs and other event data from a variety of systems";
     homepage    = "https://www.elastic.co/products/logstash";
+    sourceProvenance = with sourceTypes; [
+      fromSource
+      binaryBytecode  # source bundles dependencies as jars
+      binaryNativeCode  # bundled jruby includes native code
+    ];
     license     = if enableUnfree then licenses.elastic else licenses.asl20;
     platforms   = platforms.unix;
     maintainers = with maintainers; [ wjlroe offline basvandijk ];
diff --git a/pkgs/tools/misc/logstash/7.x.nix b/pkgs/tools/misc/logstash/7.x.nix
index f0a760e42f28d..2dabcee2a0529 100644
--- a/pkgs/tools/misc/logstash/7.x.nix
+++ b/pkgs/tools/misc/logstash/7.x.nix
@@ -68,6 +68,11 @@ let
     meta = with lib; {
       description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems";
       homepage = "https://www.elastic.co/products/logstash";
+      sourceProvenance = with sourceTypes; [
+        fromSource
+        binaryBytecode  # source bundles dependencies as jars
+        binaryNativeCode  # bundled jruby includes native code
+      ];
       license = if enableUnfree then licenses.elastic else licenses.asl20;
       platforms = platforms.unix;
       maintainers = with maintainers; [ wjlroe offline basvandijk ];