2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-04-07 09:13:52 +01:00
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, IOKit
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "meilisearch";
|
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "meilisearch";
|
|
|
|
repo = "MeiliSearch";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "00i5vsbcyrbsvhr5n1b3pxa87v0kfw6pg931i2kzyf4wh021k6sw";
|
|
|
|
};
|
|
|
|
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "1icxpragn69c95i5gyx0b07gw4h82r8fsv0nvns0v8dxqisz877k";
|
2020-04-07 09:13:52 +01:00
|
|
|
|
2021-01-15 07:07:56 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Security ];
|
2020-04-07 09:13:52 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-07 09:13:52 +01:00
|
|
|
description = "Ultra relevant and instant full-text search API";
|
|
|
|
homepage = "https://meilisearch.com/";
|
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2020-04-07 09:13:52 +01:00
|
|
|
};
|
|
|
|
}
|