mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
30 lines
700 B
Nix
30 lines
700 B
Nix
{ 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 ];
|
|
};
|
|
}
|