diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-15 19:10:20 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-15 19:10:20 +0200 |
commit | a66786ecba1381b70221c2ba3529c52d23e1de77 (patch) | |
tree | 60e34442958a73f3a388cf19af61cb9adc5e1315 /pkgs/servers/search | |
parent | f0590235639927d26dee3f64573bcd34e1d77450 (diff) |
opensearch: minor cleanup and reformat
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r-- | pkgs/servers/search/opensearch/default.nix | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/pkgs/servers/search/opensearch/default.nix b/pkgs/servers/search/opensearch/default.nix index d43d2450d894e..d32d77f0ae49d 100644 --- a/pkgs/servers/search/opensearch/default.nix +++ b/pkgs/servers/search/opensearch/default.nix @@ -1,14 +1,12 @@ -{ lib -, stdenv -, stdenvNoCC +{ coreutils , fetchurl -, makeWrapper -, jre_headless , gnugrep -, coreutils -, autoPatchelfHook -, zlib +, jre_headless +, lib +, makeBinaryWrapper , nixosTests +, stdenv +, stdenvNoCC }: stdenvNoCC.mkDerivation (finalAttrs: { @@ -20,8 +18,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { hash = "sha256-A9YjwtmacQDC8PrdyP/ai6J+roqmP/bz99rSM3votow="; }; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ jre_headless ]; + nativeBuildInputs = [ + makeBinaryWrapper + ]; + + buildInputs = [ + jre_headless + ]; installPhase = '' runHook preInstall @@ -48,12 +51,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { meta = { description = "Open Source, Distributed, RESTful Search Engine"; homepage = "https://github.com/opensearch-project/OpenSearch"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ shyim ]; + platforms = lib.platforms.unix; sourceProvenance = with lib.sourceTypes; [ binaryBytecode binaryNativeCode ]; - license = lib.licenses.asl20; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ shyim ]; }; }) |