mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
meilisearch: init at 0.9.0
This commit is contained in:
parent
926a875def
commit
7a4fc7c2c7
2 changed files with 33 additions and 0 deletions
29
pkgs/servers/search/meilisearch/default.nix
Normal file
29
pkgs/servers/search/meilisearch/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue