3
0
Fork 0
forked from mirrors/nixpkgs

meilisearch: init at 0.9.0

This commit is contained in:
Oleksii Filonenko 2020-04-07 11:13:52 +03:00
parent 926a875def
commit 7a4fc7c2c7
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, rustPlatform
, fetchFromGitHub
, IOKit
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "meilisearch";
version = "0.9.0";
src = fetchFromGitHub {
owner = "meilisearch";
repo = "MeiliSearch";
rev = "v${version}";
sha256 = "00i5vsbcyrbsvhr5n1b3pxa87v0kfw6pg931i2kzyf4wh021k6sw";
};
cargoSha256 = "0axjygk8a7cykpa5skk4a6mkm8rndkr76l10h3z3gjdc88b17qcz";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit Security ];
meta = with stdenv.lib; {
description = "Ultra relevant and instant full-text search API";
homepage = "https://meilisearch.com/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}

View file

@ -4654,6 +4654,10 @@ in
medfile = callPackage ../development/libraries/medfile { };
meilisearch = callPackage ../servers/search/meilisearch {
inherit (darwin.apple_sdk.frameworks) IOKit Security;
};
memtester = callPackage ../tools/system/memtester { };
mhonarc = perlPackages.MHonArc;