opensearch: minor cleanup and reformat
This commit is contained in:
parent
f059023563
commit
a66786ecba
1 changed files with 17 additions and 14 deletions
|
@ -1,14 +1,12 @@
|
||||||
{ lib
|
{ coreutils
|
||||||
|
, fetchurl
|
||||||
|
, gnugrep
|
||||||
|
, jre_headless
|
||||||
|
, lib
|
||||||
|
, makeBinaryWrapper
|
||||||
|
, nixosTests
|
||||||
, stdenv
|
, stdenv
|
||||||
, stdenvNoCC
|
, stdenvNoCC
|
||||||
, fetchurl
|
|
||||||
, makeWrapper
|
|
||||||
, jre_headless
|
|
||||||
, gnugrep
|
|
||||||
, coreutils
|
|
||||||
, autoPatchelfHook
|
|
||||||
, zlib
|
|
||||||
, nixosTests
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
@ -20,8 +18,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-A9YjwtmacQDC8PrdyP/ai6J+roqmP/bz99rSM3votow=";
|
hash = "sha256-A9YjwtmacQDC8PrdyP/ai6J+roqmP/bz99rSM3votow=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ jre_headless ];
|
makeBinaryWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
jre_headless
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -48,12 +51,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Source, Distributed, RESTful Search Engine";
|
description = "Open Source, Distributed, RESTful Search Engine";
|
||||||
homepage = "https://github.com/opensearch-project/OpenSearch";
|
homepage = "https://github.com/opensearch-project/OpenSearch";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ shyim ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
sourceProvenance = with lib.sourceTypes; [
|
sourceProvenance = with lib.sourceTypes; [
|
||||||
binaryBytecode
|
binaryBytecode
|
||||||
binaryNativeCode
|
binaryNativeCode
|
||||||
];
|
];
|
||||||
license = lib.licenses.asl20;
|
|
||||||
platforms = lib.platforms.unix;
|
|
||||||
maintainers = with lib.maintainers; [ shyim ];
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue