lol

logstash6*: remove

ajs124 76ad0b1b 09a6672b

+3 -81
-71
pkgs/tools/misc/logstash/6.x.nix
··· 1 - { elk6Version 2 - , enableUnfree ? true 3 - , lib, stdenv 4 - , fetchurl 5 - , makeWrapper 6 - , nixosTests 7 - , jre 8 - }: 9 - 10 - let this = stdenv.mkDerivation rec { 11 - version = elk6Version; 12 - pname = "logstash${lib.optionalString (!enableUnfree) "-oss"}"; 13 - 14 - src = fetchurl { 15 - url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz"; 16 - sha256 = 17 - if enableUnfree 18 - then "0hij1byw5b3xmk3vshr9p7gxwbjrywr7ylps05ydc2dmnz8q2a79" 19 - else "1fa236pvhj7spys54nqi3k64rwzf6zi6gaccmqg4p4sh92jzsybv"; 20 - }; 21 - 22 - dontBuild = true; 23 - dontPatchELF = true; 24 - dontStrip = true; 25 - dontPatchShebangs = true; 26 - 27 - nativeBuildInputs = [ 28 - makeWrapper 29 - ]; 30 - 31 - buildInputs = [ 32 - jre 33 - ]; 34 - 35 - installPhase = '' 36 - runHook preInstall 37 - mkdir -p $out 38 - cp -r {Gemfile*,modules,vendor,lib,bin,config,data,logstash-core,logstash-core-plugin-api} $out 39 - 40 - patchShebangs $out/bin/logstash 41 - patchShebangs $out/bin/logstash-plugin 42 - 43 - wrapProgram $out/bin/logstash \ 44 - --set JAVA_HOME "${jre}" 45 - 46 - wrapProgram $out/bin/logstash-plugin \ 47 - --set JAVA_HOME "${jre}" 48 - runHook postInstall 49 - ''; 50 - 51 - meta = with lib; { 52 - description = "A data pipeline that helps you process logs and other event data from a variety of systems"; 53 - homepage = "https://www.elastic.co/products/logstash"; 54 - sourceProvenance = with sourceTypes; [ 55 - fromSource 56 - binaryBytecode # source bundles dependencies as jars 57 - binaryNativeCode # bundled jruby includes native code 58 - ]; 59 - license = if enableUnfree then licenses.elastic else licenses.asl20; 60 - platforms = platforms.unix; 61 - maintainers = with maintainers; [ wjlroe offline basvandijk ]; 62 - }; 63 - passthru.tests = 64 - lib.optionalAttrs (!enableUnfree) ( 65 - assert this.drvPath == nixosTests.elk.ELK-6.elkPackages.logstash.drvPath; 66 - { 67 - elk = nixosTests.elk.ELK-6; 68 - } 69 - ); 70 - }; 71 - in this
+2
pkgs/top-level/aliases.nix
··· 957 957 958 958 loadcaffe = throw "loadcaffe has been removed, as the upstream project has been abandoned"; # Added 2020-03-28 959 959 lobster-two = google-fonts; # Added 2021-07-22 960 + logstash6 = throw "logstash6 has been removed because it reached end of life"; # Added 2022-10-04 961 + logstash6-oss = throw "logstash6 has been removed because it reached end of life"; # Added 2022-10-04 960 962 love_0_7 = throw "love_0_7 was removed because it is a very old version and no longer used by any package in nixpkgs"; # Added 2022-01-15 961 963 love_0_8 = throw "love_0_8 was removed because it is a very old version and no longer used by any package in nixpkgs"; # Added 2022-01-15 962 964 love_0_9 = throw "love_0_9 was removed because was broken for a long time and no longer used by any package in nixpkgs"; # Added 2022-01-15
+1 -10
pkgs/top-level/all-packages.nix
··· 9101 9101 9102 9102 lockfileProgs = callPackage ../tools/misc/lockfile-progs { }; 9103 9103 9104 - logstash6 = callPackage ../tools/misc/logstash/6.x.nix { 9105 - # https://www.elastic.co/support/matrix#logstash-and-jvm 9106 - jre = jdk11_headless; 9107 - }; 9108 - logstash6-oss = callPackage ../tools/misc/logstash/6.x.nix { 9109 - enableUnfree = false; 9110 - # https://www.elastic.co/support/matrix#logstash-and-jvm 9111 - jre = jdk11_headless; 9112 - }; 9113 9104 logstash7 = callPackage ../tools/misc/logstash/7.x.nix { 9114 9105 # https://www.elastic.co/support/matrix#logstash-and-jvm 9115 9106 jre = jdk11_headless; ··· 9119 9110 # https://www.elastic.co/support/matrix#logstash-and-jvm 9120 9111 jre = jdk11_headless; 9121 9112 }; 9122 - logstash = logstash6; 9113 + logstash = logstash7; 9123 9114 9124 9115 logstash-contrib = callPackage ../tools/misc/logstash/contrib.nix { }; 9125 9116